Guest Zico Posted June 18, 2008 Share Posted June 18, 2008 Hi, I have a C++ program that uses WxWidgets to create GUIs, ListBoxes etc. I have a main window, and within that window I have 3 List Boxes. I can successfully use the WinGetHandle procedure to get the handle of the main Window, but I need to get the handle of the Controls within that window, i.e. the List Boxes. For some reason, the following call in my script comes back blank :- Local $hWnd = WinGetHandle("[CLASS:ListBox; INSTANCE:3]") yet the AU3Info program can see the handles for the List Box Controls. Am I doing something wrong? Any ideas anyone? Any help greatly appreciated. Regards, Zico Link to comment Share on other sites More sharing options...
PsaltyDS Posted June 18, 2008 Share Posted June 18, 2008 Hi, I have a C++ program that uses WxWidgets to create GUIs, ListBoxes etc. I have a main window, and within that window I have 3 List Boxes. I can successfully use the WinGetHandle procedure to get the handle of the main Window, but I need to get the handle of the Controls within that window, i.e. the List Boxes. For some reason, the following call in my script comes back blank :- Local $hWnd = WinGetHandle("[CLASS:ListBox; INSTANCE:3]") yet the AU3Info program can see the handles for the List Box Controls. Am I doing something wrong? Any ideas anyone? Any help greatly appreciated. Regards, Zico Answered in your other topic... please don't double post. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now