Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Is there a way to switch focus?? Pin
Mark Salsbery4-Oct-07 5:51
Mark Salsbery4-Oct-07 5:51 
GeneralRe: Is there a way to switch focus?? Pin
Kiran Satish4-Oct-07 7:11
Kiran Satish4-Oct-07 7:11 
GeneralRe: Is there a way to switch focus?? Pin
Mark Salsbery4-Oct-07 7:30
Mark Salsbery4-Oct-07 7:30 
GeneralRe: Is there a way to switch focus?? Pin
Kiran Satish4-Oct-07 11:30
Kiran Satish4-Oct-07 11:30 
GeneralRe: Is there a way to switch focus?? Pin
Mark Salsbery4-Oct-07 11:43
Mark Salsbery4-Oct-07 11:43 
GeneralRe: Is there a way to switch focus?? Pin
Kiran Satish4-Oct-07 13:00
Kiran Satish4-Oct-07 13:00 
GeneralRe: Is there a way to switch focus?? Pin
Mark Salsbery4-Oct-07 13:09
Mark Salsbery4-Oct-07 13:09 
GeneralRe: Is there a way to switch focus?? Pin
Kiran Satish5-Oct-07 7:33
Kiran Satish5-Oct-07 7:33 
Its working and I can read the key codes directly from value passed by PreTranslateMessage.
Coming back to focuswindow, I am trying to focus another child window from other child window (both are in the same main application) and want to focus all my keystrokes on a particular button on that child window. Then, any keystrokes even like space bar should be applied to that button, at present as soon as I change focus to the child window and when I press spacebar, it applies it to the first button that I created while creating the dialogbox. How can i change this behavior, tried SetDefId(ID) and it doesnt help either.

I am using WM_KEYDOWN only, not 256 (I used it just like tht nothing particular).

Any suggestions??

thanks,
-Pavan.

PKNT

GeneralRe: Is there a way to switch focus?? Pin
Mark Salsbery5-Oct-07 7:38
Mark Salsbery5-Oct-07 7:38 
GeneralRe: Is there a way to switch focus?? Pin
Kiran Satish5-Oct-07 9:36
Kiran Satish5-Oct-07 9:36 
GeneralRe: Is there a way to switch focus?? Pin
Mark Salsbery5-Oct-07 9:42
Mark Salsbery5-Oct-07 9:42 
GeneralRe: Is there a way to switch focus?? Pin
Kiran Satish5-Oct-07 9:51
Kiran Satish5-Oct-07 9:51 
GeneralRe: Is there a way to switch focus?? Pin
Mark Salsbery5-Oct-07 10:08
Mark Salsbery5-Oct-07 10:08 
GeneralRe: Is there a way to switch focus?? Pin
Kiran Satish8-Oct-07 5:55
Kiran Satish8-Oct-07 5:55 
QuestionDeque using elements from a class Pin
PolarFuzz4-Oct-07 5:10
PolarFuzz4-Oct-07 5:10 
QuestionRe: Deque using elements from a class Pin
David Crow4-Oct-07 5:33
David Crow4-Oct-07 5:33 
AnswerRe: Deque using elements from a class [modified] Pin
George L. Jackson4-Oct-07 5:54
George L. Jackson4-Oct-07 5:54 
GeneralRe: Deque using elements from a class Pin
led mike4-Oct-07 6:20
led mike4-Oct-07 6:20 
GeneralRe: Deque using elements from a class Pin
George L. Jackson4-Oct-07 6:32
George L. Jackson4-Oct-07 6:32 
GeneralRe: Deque using elements from a class Pin
led mike4-Oct-07 7:20
led mike4-Oct-07 7:20 
AnswerRe: Deque using elements from a class Pin
led mike4-Oct-07 6:17
led mike4-Oct-07 6:17 
AnswerRe: Deque using elements from a class Pin
John R. Shaw4-Oct-07 12:24
John R. Shaw4-Oct-07 12:24 
GeneralRe: Deque using elements from a class Pin
PolarFuzz5-Oct-07 8:35
PolarFuzz5-Oct-07 8:35 
GeneralRe: Deque using elements from a class Pin
John R. Shaw5-Oct-07 21:57
John R. Shaw5-Oct-07 21:57 
GeneralRe: Deque using elements from a class Pin
PolarFuzz8-Oct-07 2:05
PolarFuzz8-Oct-07 2:05 

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.