Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sendmessage API

Status
Not open for further replies.

Elysium

Programmer
Aug 7, 2002
212
US
In short, I have an Access module that opens an IE window, sets some parameters which at some point opens another IE window. This all works fine for me until this stage. In the new IE window, I want to be able to 'Select All', 'Copy' and 'Paste' into Notepad. For now, I need help with the 'Select All' and 'Copy'.

I successfully accomplished this task using SendKeys, but I want to stay away from that as much as possible. I feel that either Sendmessage or Postmessage affords me the most versatility since they both require a window handle. I don't have to worry about keeping this second window as the active window in order for SendKeys to work.

Has anyone done this? I've tried several examples from searches on Google, but none seem to do the trick.

Thanks,



Randy
[afro]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top