开发者

API method for getting window's controls

I've searched quite a while in MSDN, couldn't find it.

In fact, I don't even know how controls are called in API. they are not declared as a "Window", right? (No hwnd for them, I wasn't sure because I saw a method which seemed like it could return a control but it returns an hwnd.)

So lets say I have a window's handle. I want to recieve it's controls (a textbox, butt开发者_运维知识库on, checkbox....)

What are the methods to do this? And again, how are the controls called in API? Thanks for helpers.


They're called Windows and HWNDs are handles to these windows, just like a fopen() returns a handle to a file. These are all the functions you'll need. Try EnumChildWindows

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜