Results 1 to 2 of 2

Thread: Postmessage or sendmessage problem

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2007
    Posts
    111

    Postmessage or sendmessage problem

    Hello,

    i think i have asked that question before

    all i want to do is to send (Enter) key to a link a web browser control in a vb form whcih is not active and i dont want it to be active

    i could (TAB) to the link but just couldnt send the (ENTER) key

    please if any one can help me please do

    thanx alot
    Adel,

  2. #2
    Hyperactive Member Jenova's Avatar
    Join Date
    Feb 2006
    Location
    Googleplex
    Posts
    413

    Re: Postmessage or sendmessage problem

    If it is a link you want to send a message to then you could try and use the WM_LBUTTONDOWN or WM_LBUTTONUP message and send that to the window instead. If that doesn't work you could always look in to the HTML object that can be referenced through VB. In fact Static, another forum member, had an example using the HTML object method, he said it worked for Hyperlinks but not for buttons. You could give this a shot.

    Hope this helps

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