Disabling the close box [X]
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
How can I disable the close box (the upper-right X) with core Win32 code? LPCSTR Dutch = "Double Dutch :-)"
-
How can I disable the close box (the upper-right X) with core Win32 code? LPCSTR Dutch = "Double Dutch :-)"
i think thats not possible ! You can just catch, if the user presses this button. da sonu :cool:
-
How can I disable the close box (the upper-right X) with core Win32 code? LPCSTR Dutch = "Double Dutch :-)"
HMENU hSysmenu = GetSystemMenu(hwnd, FALSE); DeleteMenu ( hSysmenu, SC_CLOSE, MF_BYCOMMAND ); --Mike-- Just released - RightClick-Encrypt - Adds fast & easy file encryption to Explorer My really out-of-date homepage Sonork-100.19012 Acid_Helm