Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ACC vs DLL Function
#4
You don't need button id.

a.DoDefaultAction

or

but child(a.a)


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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)