How can I change the z-order of control in the Dialog Editor
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: How can I change the z-order of control in the Dialog Editor

  1. #1
    Join Date
    Feb 2001
    Posts
    11

    How can I change the z-order of control in the Dialog Editor

    I have imported forms from Visual Basic but the z-order of all controls are not correct. How can I change the z-order in the Dialog Editor?




  2. #2
    Join Date
    Aug 2000
    Location
    New York, NY, USA
    Posts
    5,525

    Re: How can I change the z-order of control in the Dialog Editor

    In the dialog Editor, go to Layout | Tab Order, and click on your controls in the order you want them.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    I do not do it for the rating. Oh, wait... Sure, I do!
    Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
    Convenience and productivity tools for Microsoft Visual Studio:
    FeinViewer - an integrated GDI objects viewer for Visual C++ Debugger, and more...

  3. #3
    Join Date
    Feb 2001
    Posts
    11

    Re: How can I change the z-order of control in the Dialog Editor

    How should I manage the z order (order in different level, like bring to front or send to back) using the tab order?


  4. #4
    Join Date
    Apr 2001
    Posts
    14

    Re: How can I change the z-order of control in the Dialog Editor

    In short:
    tab order relates to z order in this way,
    first in tab order - top most in z order
    last in tab order - bottom most in z order

    for overlapping controls in a dialog you'll have to edit the .rc file (as text) and add the WS_CLIPSIBLINGS flag to all of the controls

    --
    Rasmus H Hansen, employee at:
    HiQ IT- and management consultancy
    http://www.hiq.dk

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center