开发平台(Platform): (Ex: VC++, GCC, Linux, ...)
VC++
额外使用到的函数库(Library Used): (Ex: OpenGL, ...)
None
问题(Question):
为什么用findwindow找combobox的hanlder都找不到,可是button却可以??
喂入的资料(Input):
这是我找寻的code, currChild却是0
IntPtr mWin = FindWindow("ThunderRT6FormDC", "POSDLLDemo");
IntPtr mFrame = FindWindowEx(mWin, IntPtr.Zero, "ThunderRT6Frame", "Port Config");
currChild = FindWindowEx(mFrame, prevChild, "ThunderRT6ComboBox", "COM1");
预期的正确结果(Expected Output):
取得combobox的handler
错误结果(Wrong Output):
NULL
程式码(Code):(请善用置底文网页, 记得排版)
补充说明(Supplement):
我用C++写的,只不过我要找的目标是用VB写的,这次没有迷路