MFC WindowStyler

Here'a a little utility I wrote. After getting so much helpful code from this site I thought it was about time I contributed.

The purpose of MFC WindowStyler is to allow users to experiment creating windows with different window styles and extended window styles, WS_styles and WS_EX_styles, with out having to recompile.

You can see the effects of combining styles in CWnd::CreateEx() and adding and removing styles with CWnd::ModifyStyle() and CWnd::ModifyExStyle(). The contains a VC++ 6 project and executable


I used the CBitmapDialog class from Jvrg Kvnig for the wood background, just because I thought it looked cool. Thanks Jvrg!!

Contact Information

There is a "todo" list of possible improvments included in Feel free to send any improvmens or comments to me at


Download WindowStyler application - 35 Kb
Download source (includes help files) - 108 Kb


  • can I have skins for SDI/MDI apps

    Posted by Legacy on 05/23/2002 12:00am

    Originally posted by: Brijesh

    Hi, where can i get some downloads on putting skins onto SDI/MDI apps. I have developed an ATL based Folder Explorer for which I need to put some skins.

    Pls help !

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • As the mobile enterprise marketplace expands and customer needs grow more diverse, Samsung recognizes that solution partners and developers play an essential role by continually innovating to meet their customers' needs. Samsung works to provide these developers and partners with the latest tools and resources needed to create these solutions. Read this program guide to learn how the Samsung Enterprise Alliance Program provides partners and developers with Samsung enterprise software development kits (SDKs) …

  • Lenovo recommends Windows 8 Pro. "I dropped my laptop getting out of the taxi." This probably sounds familiar to most IT professionals. If your employees are traveling, you know their devices are in for a rough go. Whether it's a trip to the conference room or a convention out of town, any time equipment leaves a user's desk it is at risk of being put into harm's way. Stay connected at all times, whether at the office or on the go, with agile, durable, and flexible devices like the Lenovo® …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date