ShowWindow and form size

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kurotsuke

    ShowWindow and form size

    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.
Working...