mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 22:02:58 -06:00
17 lines
369 B
C++
17 lines
369 B
C++
#include "NeedAdd.h"
|
|
|
|
|
|
#ifdef PLATFORM_WIN32
|
|
LRESULT TopWindowSpecific::WindowProc(UINT message, WPARAM wParam, LPARAM lParam){
|
|
|
|
if (message == WM_SYSCOMMAND && wParam == SC_MINIMIZE){
|
|
TopWindow::WindowProc(message, wParam, lParam);
|
|
WhenMinimize(); // callback
|
|
return 0;
|
|
}
|
|
else
|
|
return(TopWindow::WindowProc(message, wParam, lParam));
|
|
//return 0;
|
|
}
|
|
|
|
#endif
|