Results 1 to 3 of 3

Thread: Tab Order

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Location
    Orlando, FL
    Posts
    253

    Tab Order

    I have created several controls (CreateWindowEx) on a form
    using the WS_TABSTOP style. While using the form, other
    controls are created after the original controls. I want to changethe tab order of these controls. Any ideas?
    Always looking for a better and faster way!

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    The SetWindowPos function can change the Z order of windows. I don't know if this changes the tab order too.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Location
    Orlando, FL
    Posts
    253
    SetWindowPos(hCtl, GetDlgItem(hwnd, IDSAVE), 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);

    Works! Thank You
    Always looking for a better and faster way!

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