Thread: Resource question for dialog boxes.

  1. #1

    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
    near a computer
    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
    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:



    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, 03: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, 12:06 AM
  4. Edit Boxes Question
    By RubenJ in forum Windows Programming
    Replies: 1
    Last Post: 09-12-2001, 08:01 PM
  5. question about Message Boxes
    By ArseMan in forum C++ Programming
    Replies: 5
    Last Post: 09-12-2001, 12:41 PM