Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Win32 API: Disabling window resize

Status
Not open for further replies.

jvff

Programmer
Apr 1, 2001
64
0
0
BR
Hello,

I would like to know how to disable the user from resizing my window created with CreateWindowEx. Thank you,

JVFF
 
In your

CreateWindowEx

routine you can set the window style in the dwStyle variable, this can be a combination of a variety of styles see
window styles

in short what you dont want is WS_SIZEBOX or WS_THICKFRAME, use something like WS_BORDER instead


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top