add new window message to toggle fullscreen/maximize

This commit is contained in:
FunkyFr3sh 2023-10-18 05:22:06 +02:00
parent d3a1c821c8
commit a9445fb300
3 changed files with 33 additions and 0 deletions

View file

@ -7,9 +7,14 @@
#define WM_SIZE_DDRAW WM_APP+114
#define WM_MOVE_DDRAW WM_APP+115
#define WM_DISPLAYCHANGE_DDRAW WM_APP+116
#define WM_TOGGLE_FULLSCREEN WM_APP+117
#define WM_TOGGLE_MAXIMIZE WM_APP+118
#define IDT_TIMER_LEAVE_BNET 541287654
#define CNC_DDRAW_SET_FULLSCREEN 1
#define CNC_DDRAW_SET_WINDOWED 2
LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
#endif