Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help with OOP Pin
Rajkumar R14-Feb-08 22:12
Rajkumar R14-Feb-08 22:12 
GeneralRe: Help with OOP Pin
David Crow15-Feb-08 3:37
David Crow15-Feb-08 3:37 
QuestionHow to send Shift/Ctrl/Alt + key to background window Pin
njhy14-Feb-08 12:11
njhy14-Feb-08 12:11 
GeneralRe: How to send Shift/Ctrl/Alt + key to background window Pin
Rajkumar R14-Feb-08 18:04
Rajkumar R14-Feb-08 18:04 
GeneralRe: How to send Shift/Ctrl/Alt + key to background window Pin
njhy15-Feb-08 2:14
njhy15-Feb-08 2:14 
GeneralRe: How to send Shift/Ctrl/Alt + key to background window Pin
Rajesh R Subramanian14-Feb-08 20:32
professionalRajesh R Subramanian14-Feb-08 20:32 
GeneralRe: How to send Shift/Ctrl/Alt + key to background window Pin
njhy15-Feb-08 2:15
njhy15-Feb-08 2:15 
GeneralRe: How to send Shift/Ctrl/Alt + key to background window Pin
Rajesh R Subramanian15-Feb-08 2:23
professionalRajesh R Subramanian15-Feb-08 2:23 
njhy wrote:
sh*t/Alt/Ctrl keys can't be sent using postmessage.


Wrong. Those keys can be sent by using PostMessage()
::PostMessage(myHwnd, WM_KEYDOWN, VK_SHIFT, 0);
::PostMessage(myHwnd, WM_KEYUP, VK_SHIFT, 0);

This code will send a shift key press and release event to the window with the handle myHwnd. And similarly you could send just any key press event, even multiple (simultaneous) key press events.


Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP

GeneralRe: How to send Shift/Ctrl/Alt + key to background window Pin
njhy15-Feb-08 2:47
njhy15-Feb-08 2:47 
GeneralRe: How to send Shift/Ctrl/Alt + key to background window Pin
Rajesh R Subramanian15-Feb-08 3:21
professionalRajesh R Subramanian15-Feb-08 3:21 
GeneralRe: How to send Shift/Ctrl/Alt + key to background window Pin
njhy15-Feb-08 4:00
njhy15-Feb-08 4:00 
GeneralRe: How to send Shift/Ctrl/Alt + key to background window Pin
Rajesh R Subramanian15-Feb-08 4:21
professionalRajesh R Subramanian15-Feb-08 4:21 
GeneralRe: How to send Shift/Ctrl/Alt + key to background window Pin
Rajkumar R15-Feb-08 5:43
Rajkumar R15-Feb-08 5:43 
QuestionHow to scan a list of parallel port from my app ? Pin
quangpk14-Feb-08 11:26
quangpk14-Feb-08 11:26 
GeneralRe: How to scan a list of parallel port from my app ? Pin
Nitheesh George14-Feb-08 16:03
Nitheesh George14-Feb-08 16:03 
QuestionRe: How to scan a list of parallel port from my app ? Pin
David Crow15-Feb-08 3:39
David Crow15-Feb-08 3:39 
GeneralRe: How to scan a list of parallel port from my app ? Pin
quangpk19-Feb-08 5:19
quangpk19-Feb-08 5:19 
QuestionRe: How to scan a list of parallel port from my app ? Pin
David Crow19-Feb-08 5:43
David Crow19-Feb-08 5:43 
GeneralRe: How to scan a list of parallel port from my app ? Pin
quangpk19-Feb-08 12:49
quangpk19-Feb-08 12:49 
GeneralRe: How to scan a list of parallel port from my app ? Pin
David Crow19-Feb-08 16:54
David Crow19-Feb-08 16:54 
GeneralDisabling pasting on a edit control Pin
si_6914-Feb-08 4:45
si_6914-Feb-08 4:45 
GeneralRe: Disabling pasting on a edit control Pin
led mike14-Feb-08 5:32
led mike14-Feb-08 5:32 
GeneralRe: Disabling pasting on a edit control Pin
Gavin Taylor14-Feb-08 5:46
professionalGavin Taylor14-Feb-08 5:46 
GeneralRe: Disabling pasting on a edit control Pin
David Crow14-Feb-08 9:47
David Crow14-Feb-08 9:47 
GeneralRe: Disabling pasting on a edit control Pin
Rajesh R Subramanian14-Feb-08 20:35
professionalRajesh R Subramanian14-Feb-08 20:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.