mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
cleaning build system and ref
This commit is contained in:
18
EU07.cpp
18
EU07.cpp
@@ -337,15 +337,15 @@ int main(int argc, char *argv[])
|
|||||||
// switch off the topmost flag
|
// switch off the topmost flag
|
||||||
::SetWindowPos( Hwnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE );
|
::SetWindowPos( Hwnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE );
|
||||||
|
|
||||||
const HANDLE icon = ::LoadImage(
|
//const HANDLE icon = ::LoadImage(
|
||||||
::GetModuleHandle( 0 ),
|
// ::GetModuleHandle( 0 ),
|
||||||
MAKEINTRESOURCE( IDI_ICON1 ),
|
// MAKEINTRESOURCE( IDI_ICON1 ),
|
||||||
IMAGE_ICON,
|
// IMAGE_ICON,
|
||||||
::GetSystemMetrics( SM_CXSMICON ),
|
// ::GetSystemMetrics( SM_CXSMICON ),
|
||||||
::GetSystemMetrics( SM_CYSMICON ),
|
// ::GetSystemMetrics( SM_CYSMICON ),
|
||||||
0 );
|
// 0 );
|
||||||
if( icon )
|
//if( icon )
|
||||||
::SendMessage( Hwnd, WM_SETICON, ICON_SMALL, reinterpret_cast<LPARAM>( icon ) );
|
// ::SendMessage( Hwnd, WM_SETICON, ICON_SMALL, reinterpret_cast<LPARAM>( icon ) );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user