|
-
May 18th, 2000, 05:44 AM
#1
Heya Folks,
Do any of you guru's know how to retrieve a control's tag knowing only the window handle?
I am building a scrolling container control that paints a control's tag as a label and am getting the tag currently by subclassing WM_PARENTNOTIFY/WM_CREATE, then scrolling through the contained controls collection to find the matching hWnd, placing the tag in an array w/ the hWnd, then scrolling through that array whenever I need the tag to repaint the label.
(I know you cats are thinkin' man...how Lame!)
Wouldn't it be cool to have a:
Function GetTagFromhWnd(hWnd) as Variant
Lemme know and if anyone has region/update/scrollwindowsEx questions, gimme a yell!
regards, Elrey
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|