Changing a window's style - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Changing a window's style

Hi,

How do I change the style of a window from WS_POPUP to (WS_TILED | WS_SYSMENU | WS_MINIMIZEBOX) or vice-versa at run-time, so that if the program switches to full-screen mode then the window's border won't take up valuable sapce on the screen?

Thanks in advance,
Dan :-)

Comments

  • pingpongpingpong Posts: 937Member
    Dan, look up SetWindowLong/GWL_STYLE in MSDN.

    : Hi,
    :
    : How do I change the style of a window from WS_POPUP to (WS_TILED | WS_SYSMENU | WS_MINIMIZEBOX) or vice-versa at run-time, so that if the program switches to full-screen mode then the window's border won't take up valuable sapce on the screen?
    :
    : Thanks in advance,
    : Dan :-)
    :

Sign In or Register to comment.