When you create a window you can use the @SIZE flag to make the window resizable when the program is run.
Is there a way to create a window without the @SIZE flag but add/remove it under program control?
Like with some "SENDMESSAGE" thing?
Larry
Oops,
Am I getting "Froggie" like Jerry.
It's not done with SENDMESSAGE.
It's done with GetWindowLongA(hwnd,GWL_STYLE)
and SetWindowLongA(hwnd,GWL_STYLE)
Adding @SIZE is straightforward.
Removing it involves a mask ( what's that I hear in the back of my mind, Paul saying,"You're making something hard that is simple")
I'll get back to you.
Larry
Yes, you are making it hard on yourself again. See Users Guide->Alphabetical reference->ModifyStyle ;)
I hate when you do that to me! ;)
Larry