ultimatepp/bazaar/GoogleTranslatorDemo/NeedAdd.cpp
tojocky 39ed21b88e GoogleTranslator library + GUI example + simple console example
git-svn-id: svn://ultimatepp.org/upp/trunk@1245 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-05-29 21:07:52 +00:00

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