09-11-2009, 12:31 PM
Hi,
I am trying to get the handle of a property sheet (wizard).
I used object spy to see the window class name to be of type "Window".
And the text field is "Installation Program"
When I called Extern.FindWindow("Window","Installation Program") the return value is 0.
If I called Extern.FindWindow(vbNullString,"Installation Program") the return value is different from that found in "hwnd" field through object spy.
I have a declaration of FindWindow at the beginning of the script as
Please help me with this.
Thanks
I am trying to get the handle of a property sheet (wizard).
I used object spy to see the window class name to be of type "Window".
And the text field is "Installation Program"
When I called Extern.FindWindow("Window","Installation Program") the return value is 0.
If I called Extern.FindWindow(vbNullString,"Installation Program") the return value is different from that found in "hwnd" field through object spy.
I have a declaration of FindWindow at the beginning of the script as
Code:
Extern.Declare minHwnd, "FindWindow", "user32.dll", "FindWindowA",micString, micString
Please help me with this.
Thanks