Results 1 to 6 of 6

Thread: [RESOLVED]Sendmessage radio button click

Threaded View

  1. #1

    Thread Starter
    Fanatic Member TTn's Avatar
    Join Date
    Jul 2004
    Posts
    708

    [RESOLVED]Sendmessage radio button click

    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:
    1. lhWndParent = exe.MainWindowHandle.ToInt32
    2. lhWndButton = FindWindowEx(lhWndParent, 0, "Button", "&Continue sieving an old file")
    3.  
    4. SendMessage(lhWndButton, WM_COMMAND, 0, 0)
    5.  
    6. 'or
    7.  
    8. SendMessage(lhWndParent, WM_COMMAND, lhWndButton, 0)

    I've tried several variations, and wonder if it's a problem with the recieving application... or me.
    Last edited by TTn; Oct 5th, 2006 at 03:59 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width