10-14-2004, 10:52 PM
Gintaras Wrote:Or, try to use single function child() to find visible button. You need to include button style, which is different for visible and invisible controls.
int hwnd=child("" "AfxWnd42s" "My Dialog" 128 style)
but hwnd
Here 128 is flag that tells to interpret x as style. Control style is displayed in QM status bar, second line.
I did the following:
int hwnd=child("" "AfxWnd42s" "My Dialog" 128 0x58000004)
but hwnd
and gave me "missing last argument error." What did I miss?
