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 combobo开发者_运维技巧x. Could you help me?
EnumWindows only enumerates the Top level windows, in order to get to the child windows you could PInvoke EnumChildWindows(pinvoke.net), or according to this Code Project Article using FindWindowEx(pinvoke.net) should also work.
精彩评论