Resource question for dialog boxes.

This is a discussion on Resource question for dialog boxes. within the Windows Programming forums, part of the Platform Specific Boards category; I've seen several dialog boxes where they have a dividing bar similar in appearance to a MENUITEM SEPARATOR. I can't ...

  1. #1
    Unregistered
    Guest

    Resource question for dialog boxes.

    I've seen several dialog boxes where they have a dividing bar similar in appearance to a MENUITEM SEPARATOR.
    I can't seem to find a referance to whatever this anywhere.
    Anyone happen to know what syntax I need to use this in a resource file?

  2. #2
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,859
    I use a frame or picture ctrl. (in MSVC v6)

    Set its colour to 'etched' and shrink it down to a line.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    70
    To your question:

    Use Spy++, the small program in your MSVC package. You can examine any window opened on the screen, including child windows, find its properties, styles, window classes and so on.

    Your etched line is a window of STATIC class with these styles:

    SS_BLACKRECT
    SS_SUNKEN

    WS_EX_STATICEDGE

    Its size may be 350 x 2 pixels for example.

    I had used Spy++ and examined "About HTML help" dialog window in MSDN help program.

    That's all.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Exam Question - Possible Mistake?
    By Richie T in forum C++ Programming
    Replies: 15
    Last Post: 05-08-2006, 04:44 PM
  2. Very simple question, problem in my Code.
    By Vber in forum C Programming
    Replies: 7
    Last Post: 11-16-2002, 03:57 PM
  3. Edit Boxes Question
    By Ruben in forum Windows Programming
    Replies: 2
    Last Post: 09-14-2001, 01:06 AM
  4. Edit Boxes Question
    By RubenJ in forum Windows Programming
    Replies: 1
    Last Post: 09-12-2001, 09:01 PM
  5. question about Message Boxes
    By ArseMan in forum C++ Programming
    Replies: 5
    Last Post: 09-12-2001, 01:41 PM

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