Click here to Skip to main content
15,907,493 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Alignment of Variables Whitin structure Pin
ForNow14-Feb-08 22:05
ForNow14-Feb-08 22:05 
GeneralRe: Alignment of Variables Whitin structure Pin
Iain Clarke, Warrior Programmer14-Feb-08 22:28
Iain Clarke, Warrior Programmer14-Feb-08 22:28 
GeneralRe: Alignment of Variables Whitin structure Pin
ForNow15-Feb-08 0:01
ForNow15-Feb-08 0:01 
GeneralHelp with OOP Pin
Lord Kixdemp14-Feb-08 17:22
Lord Kixdemp14-Feb-08 17:22 
GeneralRe: Help with OOP [modified] Pin
Rajkumar R14-Feb-08 17:34
Rajkumar R14-Feb-08 17:34 
GeneralRe: Help with OOP Pin
Lord Kixdemp14-Feb-08 17:38
Lord Kixdemp14-Feb-08 17:38 
GeneralRe: Help with OOP Pin
Rajesh R Subramanian14-Feb-08 20:30
professionalRajesh R Subramanian14-Feb-08 20:30 
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 

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.