CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Guest

    get window handle of control

    i have a form view with about a million controls on it!

    given one control's ID i want to be able to get the window handle of the control previous in the TAB order. Anyone know how?



  2. #2
    Guest

    Re: get window handle of control

    Use 'GetDlgItem()' function to get the CWnd object of that particular control
    Use 'GetNextDlgTabItem()' function to get the previous or next control in tab order.


  3. #3
    Guest

    Re: get window handle of control

    ****! how did i miss this function!

    thanks for your help.



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