add new window message to toggle fullscreen/maximize
This commit is contained in:
parent
d3a1c821c8
commit
a9445fb300
3 changed files with 33 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue