Is there a win32 function to change the style of a window after it has been created? I would like to change the style flags that are specified in CreateWindowEx. Specifically, I would like to convert a standard window to a window with no border and no resize.
+3
A:
I think SetWindowLongPtr
should do that. Note that you need to call SetWindowPos
afterwards if you changed the border style, as pointed out in the remarks.
Joey
2010-02-18 02:16:36
ahhh I wish i read the remarks! thanks
vanja.
2010-02-18 03:18:11
Use SetWindowLongPtr
Anders
2010-02-18 18:28:15