Resizing and maximizing shape
First of all ... to be able to resize (or not) the FormBorderStyle must be set to the correct value. To not allow resizing, select one of the options that does not say "Resizable".
Then, to remove the control buttons in the upper right corner, set the "MaximizeBox" or "MinimizeBox" value to false. You can clear all top buttons by setting "ControlBox" to false.
These are all properties of the Form itself. I'm not sure about the exact name of the properties ...
Hope this helps :)
source to share
You are probably talking about .NET, but if not, and you are using the windows API, you must specify this when you call CreateWindow. something like that:
hwnd = CreateWindow (szAppName, TEXT("Program Name"),
WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX,
...
should give you a window that cannot be resized. Be specific when you call a method, not pass something like WS_OVERLAPPEDWINDOW.
source to share