Thread: Change window style

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    1) #include <windows.h> at the top of your program...

    2) If you are making your own window you manage styles by options in the CreateWindow() or your dialog resources.

    CreateWindow Function (Windows)

    2) if you need to change it on the fly you would use GetConsoleWindow() then SetWindowLong() and SetConsoleTitle()

    GetConsoleWindow Function (Windows)
    SetWindowLong Function (Windows)
    SetConsoleTitle Function (Windows)
    Last edited by CommonTater; 04-27-2011 at 04:03 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. BN_CLICKED, change button style
    By bennyandthejets in forum Windows Programming
    Replies: 13
    Last Post: 07-05-2010, 11:42 PM
  2. Change Style of An Existing Window
    By Queatrix in forum Windows Programming
    Replies: 1
    Last Post: 08-17-2006, 05:08 PM
  3. EditBox control style change
    By Devil Panther in forum Windows Programming
    Replies: 13
    Last Post: 11-13-2004, 01:54 PM
  4. How to change Windows Style
    By sean345 in forum Windows Programming
    Replies: 8
    Last Post: 07-30-2002, 03:06 PM
  5. How to change window style at runtime?
    By Mr. Bitmap in forum Windows Programming
    Replies: 5
    Last Post: 06-09-2002, 04:49 PM