Does anybody know how can I send a key press to the buffer ?
Anything like VB command 'Keyboard' ...
Thank you very much...
sendmessage(memo1.handle, wm_keydown, 17,0);
sendmessage(memo1.handle,wm_keydown,36,0);
sendmessage(memo1.handle,wm_keyup,36,0);
sendmessage(memo1.handle, wm_keyup,17,0);
Hope this helps
Encap Support Software
__________________________________________
Our Advertisement:
Need support to provide user support for the Microsoft IntelliMouse™
pointing device (a mouse with a Wheel). Check out our web site at
http://www.pacificocean.com/encap and download a demonstration version of
TMouseWheel, a component that provides complete support for the
IntelliMouse. You can also download for free, an "expert" that "wheel
enables" Delphi 2 and Delphi 3 (provides Internet Explorer style wheel
navigation abilities).
Memo1.Perform(WM_KEYDOWN, VK_CONTROL, 0);
Memo1.Perform(WM_KEYDOWN, VK_HOME, 0);
Memo1.Perform(WM_KEYUP, VK_CONTROL, 0);
Memo1.Perform(WM_KEYUP, VK_HOME, 0);
Enjoy,
-Jim Rofkar.
Encap Support Software <encaps...@yahoo.com> wrote in article
<6aqv0v$hqe$1...@uuneo.neosoft.com>...