I've looked around here, and found some examples, but still cant get this API to click a radio button. This is stupid, it must be me.
Is this how the API should be called?
VB Code:
lhWndParent = exe.MainWindowHandle.ToInt32 lhWndButton = FindWindowEx(lhWndParent, 0, "Button", "&Continue sieving an old file") SendMessage(lhWndButton, WM_COMMAND, 0, 0) 'or SendMessage(lhWndParent, WM_COMMAND, lhWndButton, 0)
I've tried several variations, and wonder if it's a problem with the recieving application... or me.




Reply With Quote