+ opt: MiniPath optimized resource file (icon/bitmap placement)
@ -5,7 +5,10 @@
|
||||
//
|
||||
#define IDC_STATIC (-1)
|
||||
|
||||
#define IDR_MAINWND 100
|
||||
#define IDR_MAINWND 80
|
||||
#define IDR_MAINWND128 81
|
||||
#define IDR_MAINWND64 82
|
||||
#define IDR_MAINWND48 83
|
||||
#define IDC_COMMANDLINE 100
|
||||
#define IDD_ABOUT 100
|
||||
#define IDC_VERSION 100
|
||||
|
||||
BIN
minipath/res/minipath_128.ico
Normal file
|
After Width: | Height: | Size: 97 KiB |
BIN
minipath/res/minipath_48.ico
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
minipath/res/minipath_64.ico
Normal file
|
After Width: | Height: | Size: 31 KiB |
@ -384,7 +384,7 @@ BOOL InitApplication(HINSTANCE hInstance)
|
||||
wc.cbClsExtra = 0;
|
||||
wc.cbWndExtra = 0;
|
||||
wc.hInstance = hInstance;
|
||||
wc.hIcon = LoadIcon(hInstance,MAKEINTRESOURCE(IDR_MAINWND));
|
||||
wc.hIcon = LoadIcon(hInstance,MAKEINTRESOURCE(IDR_MAINWND128));
|
||||
wc.hCursor = LoadCursor(hInstance,IDC_ARROW);
|
||||
wc.hbrBackground = (HBRUSH)(COLOR_3DFACE+1);
|
||||
wc.lpszMenuName = NULL;
|
||||
@ -3787,7 +3787,7 @@ void ShowNotifyIcon(HWND hwnd,BOOL bAdd)
|
||||
NOTIFYICONDATA nid;
|
||||
|
||||
if (!hIcon) {
|
||||
hIcon = LoadImage(g_hInstance, MAKEINTRESOURCE(IDR_MAINWND), IMAGE_ICON, 16, 16, LR_DEFAULTCOLOR);
|
||||
hIcon = LoadImage(g_hInstance, MAKEINTRESOURCE(IDR_MAINWND48), IMAGE_ICON, 32, 32, LR_DEFAULTCOLOR);
|
||||
}
|
||||
ZeroMemory(&nid,sizeof(NOTIFYICONDATA));
|
||||
nid.cbSize = sizeof(NOTIFYICONDATA);
|
||||
|
||||
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 83 KiB |
BIN
res/Notepad3_48.ico
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
res/Notepad3_64.ico
Normal file
|
After Width: | Height: | Size: 34 KiB |