Hiding close button?
Blitz3D Forums/Blitz3D Beginners Area/Hiding close button?
| ||
Hi all, in my last thread, I had mentioned that I needed to disable TOTALLY, ANY movement to my window within a window. Now that THAT is taken care of, I have one more question on the subject. What's wrong with this code? Here's the code: If it works, it should TOTALLY hide the X button from the window within a window. Any help is GREATLY appreciated! :) Thanks! :) |
| ||
Don't use that. Use SetWindowLong from Userlib32 with GWL_Style (-16) and a combination of window style flags. SetWindowLong: http://msdn.microsoft.com/en-us/library/windows/desktop/ms633591(v=vs.85).aspx Window Style flags for SetWindowLong: http://msdn.microsoft.com/en-us/library/windows/desktop/ms632600(v=vs.85).aspx Try (WS_CAPTION | WS_THICKFRAME). The "|" indicates a Blitz3D's Or. So replacing the constants for the values and the "|" for Ors, would be like this: $00C00000 Or $00040000 |
| ||
o, i still need the menu bar. just not the X button. |