I'm using the ShowWindow API to show a form (I need it to show the
form topmost without focus). My form has no titlebar and should have a
height of 16 pixel. When the form is shown it's height is always 34
pixels. I checked the form height and notices that's the ShowWindow
API that automatically changes the form size when called.
Any idea on how to force the window to be of a certain size?
Thanks.
form topmost without focus). My form has no titlebar and should have a
height of 16 pixel. When the form is shown it's height is always 34
pixels. I checked the form height and notices that's the ShowWindow
API that automatically changes the form size when called.
Any idea on how to force the window to be of a certain size?
Thanks.