how do you make a group box with CreateWindow?

This is a discussion on how do you make a group box with CreateWindow? within the Windows Programming forums, part of the Platform Specific Boards category; I'm having trouble getting this together (maybe I'm just cross-eyed from looking at the screen too long ) Anyone have ...

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    72

    how do you make a group box with CreateWindow?

    I'm having trouble getting this together (maybe I'm just cross-eyed from looking at the screen too long )

    Anyone have this fresh in their head & could post an example?

    Thanks.

  2. #2
    Even death may die... Dante Shamest's Avatar
    Join Date
    Apr 2003
    Location
    Malaysia
    Posts
    970
    Code:
      CreateWindow( "Button", "GroupBox Control", WS_CHILD|WS_VISIBLE|BS_GROUPBOX ,
                    10, 10, 200, 100, hwnd, 0, GetModuleHandle(0), 0 );

  3. #3
    Registered User
    Join Date
    Oct 2002
    Posts
    72
    Quote Originally Posted by Dante Shamest
    Code:
      CreateWindow( "Button", "GroupBox Control", WS_CHILD|WS_VISIBLE|BS_GROUPBOX ,
                    10, 10, 200, 100, hwnd, 0, GetModuleHandle(0), 0 );
    Thank you. Much appreciated.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Win32 API - Group Box Control
    By Matt-Stevens in forum Windows Programming
    Replies: 2
    Last Post: 09-05-2006, 09:46 AM
  2. fgets() to list box
    By tao in forum Windows Programming
    Replies: 4
    Last Post: 06-08-2006, 09:23 AM
  3. Dialog Box & Property Sheet :: MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 08-01-2002, 02:33 PM
  4. How to make a Mutii File Editing Box
    By emus21 in forum Windows Programming
    Replies: 2
    Last Post: 06-24-2002, 01:52 PM
  5. How do I make a text box??
    By BubbleMan in forum Windows Programming
    Replies: 12
    Last Post: 08-24-2001, 03:31 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21