05-02-2007, 08:07 AM
In win(), to use * in text, add flag 1.
If main and sub window class and text are the same and QM finds a subwindow instead of main window, try to find a subwindow and then get owner window handle.
int hsub=win(...)
max GetWindow(hsub GW_OWNER)
If main and sub window class and text are the same and QM finds a subwindow instead of main window, try to find a subwindow and then get owner window handle.
int hsub=win(...)
max GetWindow(hsub GW_OWNER)
