stuff
This commit is contained in:
@@ -370,7 +370,8 @@ VOID UpdateGroup(_In_ PGROUP pg)
|
|||||||
// Set the group checksum
|
// Set the group checksum
|
||||||
pg->wChecksum = 1; // NOTE: implement this for real later lol
|
pg->wChecksum = 1; // NOTE: implement this for real later lol
|
||||||
|
|
||||||
pg->dwFlags = GRP_FLAG_MAXIMIZED;// GetGroupFlags(pgw);
|
// TODO: set group flags
|
||||||
|
// pg->dwFlags = GRP_FLAG_MAXIMIZED;// GetGroupFlags(pgw);
|
||||||
|
|
||||||
// Set FILETIME
|
// Set FILETIME
|
||||||
GetSystemTimeAsFileTime(&pg->ftLastWrite);
|
GetSystemTimeAsFileTime(&pg->ftLastWrite);
|
||||||
|
|||||||
@@ -27,9 +27,10 @@
|
|||||||
#define GRP_FLAG_MINIMIZED 0x00000004
|
#define GRP_FLAG_MINIMIZED 0x00000004
|
||||||
#define GRP_FLAG_MAXIMIZED 0x00000008
|
#define GRP_FLAG_MAXIMIZED 0x00000008
|
||||||
// Item Flag Values (DWORD)
|
// Item Flag Values (DWORD)
|
||||||
#define ITM_FLAG_MINIMIZED 0x00000001
|
#define ITM_FLAG_HOTKEY 0x00000001
|
||||||
#define ITM_FLAG_MAXIMIZED 0x00000002
|
#define ITM_FLAG_PRIVILEGE 0x00000002
|
||||||
#define ITM_FLAG_PRIVILEGE 0x00000004
|
#define ITM_FLAG_MINIMIZED 0x00000004
|
||||||
|
#define ITM_FLAG_MAXIMIZED 0x00000008
|
||||||
|
|
||||||
/* Structures */
|
/* Structures */
|
||||||
// Item Structure
|
// Item Structure
|
||||||
|
|||||||
@@ -52,14 +52,14 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
goto WndProcDefault;
|
return DefFrameProc(hWnd, hWndMDIClient, message, wParam, lParam);
|
||||||
}
|
}
|
||||||
|
|
||||||
case WM_COMMAND:
|
case WM_COMMAND:
|
||||||
if (CmdProc(hWnd, wParam, lParam))
|
if (CmdProc(hWnd, wParam, lParam))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
goto WndProcDefault;
|
return DefFrameProc(hWnd, hWndMDIClient, message, wParam, lParam);
|
||||||
|
|
||||||
case WM_CLOSE:
|
case WM_CLOSE:
|
||||||
if (bSaveSettings)
|
if (bSaveSettings)
|
||||||
@@ -76,7 +76,6 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
WndProcDefault:
|
|
||||||
return DefFrameProc(hWnd, hWndMDIClient, message, wParam, lParam);
|
return DefFrameProc(hWnd, hWndMDIClient, message, wParam, lParam);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user