Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 14th, 2003, 01:09 PM
Authorized User
 
Join Date: Sep 2003
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Greywacke
Default how to post a key combination successfully?

hi all,

okay, i use the PostMessage API to do this, but the code i am using at the moment
Code:
PostMessage hwnd, WM_KEYDOWN, lng_shift Or lng_key_code, 0&
doesnt work, it sends an r keydown message instead of the Ctrl + P o_O

how woulc i go about sending a Ctrl + P key combination to an application?

any information regarding this post would be appreciated asap.

Many thanks in advance,
Greywacke

Sincerely,
Pierre du Toit.
__________________
Sincerely,
Pierre "Greywacke" du Toit
[email protected]
don't worry about my 0 thankyou's either way, i would say thank you should you help, and i will gladly help others when this work rush is over.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Combination of data Nanis76 Excel VBA 1 January 2nd, 2009 11:06 PM
Graph combination Ulli Hoeness BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 October 26th, 2005 05:05 AM
How do you know when .mdb compiles successfully? Loralee Access 2 June 28th, 2005 09:09 PM
Why can't i login successfully? allanhu BOOK: ASP.NET Website Programming Problem-Design-Solution 1 November 13th, 2004 05:53 PM
Chap 4--using a combination of operators mixtli BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 2 June 9th, 2003 04:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.