Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 15 OCT 2005 03:32:09AM David E Schranz wrote:

I wish to force a Page Down keypress or a CTRL-L or any other keypress on an OLE control/object.

How can this be done.

Tks

DAvid Schranz


At 16 OCT 2005 04:28PM Karl Pozmann wrote:

Go to Microsoft and search for "keybd_event" - it is part of user32.dll, but is not prototyped in "DLL_USER32". If you prototype it, then setting focus to the window and then using keybd_event with the scan code should do what you want.


At 18 OCT 2005 05:32PM David E Schranz wrote:

1)

I Need Help!

I cannot understand what I have to do to get the keybd_event to work within OI 7.1.1

I would appreciate a step by step explanation how to get this to work.

Tks

David Schranz

View this thread on the Works forum...


1)
Go to Microsoft and search for "keybd_event" - it is part of user32.dll, but is not prototyped in "DLL_USER32". If you prototype it, then setting focus to the window and then using keybd_event with the scan code should do what you want
  • third_party_content/community/commentary/forums_works/893ed6b7579045058525709b0029659f.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1