fixed window as in VB
-
HI I have created a window with CreateWindowEx and with toolbar style i want it to be fixed so that it cannot be resized. is there any special parameter to pass to make it fixed. PLZ do share the knowledge
If you don't want it sizeable, don't add the flags to make it sizeable - it's all in the documentation. If you for some reason want a thick border (or sizebox, both are the same and both implies sizeable) but still want to prohibit the user from resizing the window (for whatever, malicious or not, reason), override the handling of WM_NCCALCSIZE. It's spelled "Please", not PLZ.
-
If you don't want it sizeable, don't add the flags to make it sizeable - it's all in the documentation. If you for some reason want a thick border (or sizebox, both are the same and both implies sizeable) but still want to prohibit the user from resizing the window (for whatever, malicious or not, reason), override the handling of WM_NCCALCSIZE. It's spelled "Please", not PLZ.