| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | Newsletters | VB Forums | Developer.com |
|
|||||||
| Managed C++ and C++/CLI Discuss Managed C++ and .NET-specific questions related to C++. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Get handle to Active control
How can I get the handle to the textbox that currently has focus. I want to write a generic routine that processes the data in several textbox. How can I get the handle to the currently active textbox so I can extract the text from it.
|
|
#2
|
|||
|
|||
|
Re: Get handle to Active control
you get the active textbox by checking it's Focus property.... and from textbox itself you can get handle through handle property.
|
![]() |
| Bookmarks |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|