MFC function - ModifyStyle(), how to do this in API?
thx,
Printable View
MFC function - ModifyStyle(), how to do this in API?
thx,
if you are using MFC then you have the source code for it. Have a look and see how its implemented yourself.
Investigate the SetWindowLong API with the GWL_STYLE option
oic, thx.
excuse me , i have another qn.
if i want to add style , i do this:
style |= WS_BORDER ;
how to remove style ??
style &= ~WS_BORDER
thak you .
i have another question:
i have set the WS_BORDER or else already ,
But nothing happened.
how to make it to change to that style ??
Try following it with a call to SetWindowPos()
thank you very much !! :)Quote:
Originally posted by Stoned_Coder
Try following it with a call to SetWindowPos()