简体   繁体   中英

get handle of a child control?

Ciao, I would like to get handle of an combo box that is located on a dialog ? I can only get the Dialog handle but EnumWindows doesn't return the expected handle of the combobox. Could you help me?

EnumWindows仅枚举顶级窗口,为了进入子窗口,您可以PInvoke EnumChildWindows (pinvoke.net),或者根据此代码项目文章,使用FindWindowEx (pinvoke.net)也应起作用。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM