Advertisement

Click buttons on different windows

Started by March 12, 2001 11:31 AM
-1 comments, last by xstreme2000 23 years, 10 months ago
If got a HWND for a button and I want to click it when I click a button on a completely different window. I got the HWND for then button by enumerating the button''s parent''s children. I thought if I did SendMessage(hButtonWnd, BM_CLICK, 0, 0) it would click the button...it doesn''t, why not?, how is it done? Thanks X2K

This topic is closed to new replies.

Advertisement