CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 1999
    Location
    Philippines
    Posts
    46

    Line in Dialog box

    Good Day!
    How do I draw a line in a dialog box?
    Someone has already posted this a long time ago, I remember the answer using a control
    in the resources editor, I just can't remember which one and which property was set.
    I tried searching from the archive but to no avail.
    Thanks in advance.





  2. #2

    Re: Line in Dialog box

    I use a "Picture" control, with a height or width of one, a "Type" of Frame", a color of "Gray", and with only the "Visible" and "Static Edge" properties checked.

    <HR>LA Leonard - <A HREF="http://www.DefinitiveSolutions.com/">Definitive Solutions, Inc.</A>

  3. #3
    Join Date
    Apr 1999
    Location
    Campeche - Florianopolis - Sta. Catarina Island - Sta. Catarina State - Brazil, South
    Posts
    104

    Re: Line in Dialog box

    You can use a Group-box with the vertical size in the minimun and without text:-) Try it!

    Cesario Simões, Jr.

  4. #4

    Re: Line in Dialog box

    I used to do that, and I quit, but now I can't remember why... it had something to do with the way it displayed under unusual circumstances, but it escapes me now... anyone?

    LA Leonard - http://www.DefinitiveSolutions.com

  5. #5
    Join Date
    Apr 1999
    Location
    Michigan, USA
    Posts
    115

    Re: Line in Dialog box

    Changing the system font size does some funky things to a 1 pixel high frame control


  6. #6
    Join Date
    Apr 1999
    Location
    Michigan, USA
    Posts
    115

    Re: Line in Dialog box

    In the Static Controls section of this site are three articles/classes on bevel lines in dialogs.
    One is by Michael Dunn and the others by Hans Bühler. Check them out, I think they are what you
    are looking for.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured