Windows programming

Moderators: None (Apply to moderate this forum)
Number of threads: 3711
Number of posts: 9173

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Changing a window's style Posted by zeolite on 16 Oct 2004 at 3:26 PM
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
Report
Re: Changing a window's style Posted by pingpong on 18 Oct 2004 at 10:15 PM
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
:




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.