Click here to Skip to main content
16,012,223 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Window handle which lost input focus Pin
John R. Shaw10-Apr-07 0:56
John R. Shaw10-Apr-07 0:56 
GeneralRe: Window handle which lost input focus Pin
David Crow10-Apr-07 2:14
David Crow10-Apr-07 2:14 
GeneralRe: Window handle which lost input focus Pin
John R. Shaw10-Apr-07 3:26
John R. Shaw10-Apr-07 3:26 
GeneralRe: Window handle which lost input focus Pin
K Gupta10-Apr-07 4:10
K Gupta10-Apr-07 4:10 
GeneralRe: Window handle which lost input focus Pin
John R. Shaw10-Apr-07 6:24
John R. Shaw10-Apr-07 6:24 
QuestionRe: Window handle which lost input focus Pin
Rajesh R Subramanian10-Apr-07 21:57
professionalRajesh R Subramanian10-Apr-07 21:57 
AnswerRe: Window handle which lost input focus Pin
K Gupta11-Apr-07 4:03
K Gupta11-Apr-07 4:03 
GeneralRe: Window handle which lost input focus Pin
Rajesh R Subramanian11-Apr-07 19:08
professionalRajesh R Subramanian11-Apr-07 19:08 
K Gupta wrote:
have made the app, but right now i am passing the handle of target window through commandline argument when my app gets spawned.


Who is the rocket scientist that gave you this idea of sending the window handle as a command line argument? Your appplication will be able to work with only one window, currently. How do you get the window handle of the window to which you want to send key strokes? Who sends your application the window handle while spawning? If the *thing* that sends your application has the code to get the window handle, then why should it not be in your application itself Confused | :confused: so that it can work with any window? What have you achieved so far? I am not on my development machine now, and I shall send you something helpful shortly.




Nobody can give you wiser advice than yourself. - Cicero
brahmma

QuestionRe: Window handle which lost input focus Pin
Rajesh R Subramanian12-Apr-07 1:45
professionalRajesh R Subramanian12-Apr-07 1:45 
GeneralRe: Window handle which lost input focus Pin
K Gupta12-Apr-07 4:46
K Gupta12-Apr-07 4:46 
GeneralRe: Window handle which lost input focus Pin
Rajesh R Subramanian12-Apr-07 7:26
professionalRajesh R Subramanian12-Apr-07 7:26 
QuestionCToolbar on dialog Pin
Andy H9-Apr-07 23:46
Andy H9-Apr-07 23:46 
AnswerRe: CToolbar on dialog Pin
Hamid_RT9-Apr-07 23:58
Hamid_RT9-Apr-07 23:58 
QuestionButton Size Pin
Try9-Apr-07 23:37
Try9-Apr-07 23:37 
AnswerRe: Button Size Pin
Arman S.10-Apr-07 0:42
Arman S.10-Apr-07 0:42 
QuestionNot able to use CString properly .Please Help Pin
yaminisridaran9-Apr-07 23:36
yaminisridaran9-Apr-07 23:36 
AnswerRe: Not able to use CString properly .Please Help Pin
Try9-Apr-07 23:39
Try9-Apr-07 23:39 
GeneralRe: Not able to use CString properly .Please Help Pin
John R. Shaw10-Apr-07 0:13
John R. Shaw10-Apr-07 0:13 
AnswerRe: Not able to use CString properly .Please Help Pin
John R. Shaw10-Apr-07 0:30
John R. Shaw10-Apr-07 0:30 
QuestionRe: Not able to use CString properly .Please Help Pin
David Crow10-Apr-07 2:16
David Crow10-Apr-07 2:16 
AnswerRe: Not able to use CString properly .Please Help Pin
Michael Dunn10-Apr-07 6:06
sitebuilderMichael Dunn10-Apr-07 6:06 
QuestionHow to get Deselected Element of ListBox?? Pin
narayanagvs9-Apr-07 23:30
narayanagvs9-Apr-07 23:30 
AnswerRe: How to get Deselected Element of ListBox?? Pin
Wamuti10-Apr-07 1:53
Wamuti10-Apr-07 1:53 
AnswerRe: How to get Deselected Element of ListBox?? Pin
David Crow10-Apr-07 2:18
David Crow10-Apr-07 2:18 
Questiontab order for dynamic controls Pin
prathuraj9-Apr-07 23:26
prathuraj9-Apr-07 23:26 

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.