Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: GetHandle Pin
john56323-Mar-10 18:08
john56323-Mar-10 18:08 
GeneralRe: GetHandle Pin
Adam Roderick J3-Mar-10 18:16
Adam Roderick J3-Mar-10 18:16 
GeneralRe: GetHandle Pin
john56323-Mar-10 18:28
john56323-Mar-10 18:28 
GeneralRe: GetHandle Pin
KarstenK3-Mar-10 21:39
mveKarstenK3-Mar-10 21:39 
AnswerRe: GetHandle Pin
Adam Roderick J3-Mar-10 17:32
Adam Roderick J3-Mar-10 17:32 
GeneralRe: GetHandle Pin
john56323-Mar-10 17:34
john56323-Mar-10 17:34 
GeneralRe: GetHandle Pin
Adam Roderick J3-Mar-10 17:48
Adam Roderick J3-Mar-10 17:48 
QuestionControl Bar Focus Issue [modified] [SOLVED] Pin
Kyudos3-Mar-10 16:21
Kyudos3-Mar-10 16:21 
I have a control bar that houses a tab control which displays 'dialogs' on each of three tabs.

I want to update one of the tabs based on what happens in my main app window. I don't want to bombard my control bar with thousands of update messages everytime I do anything, so I was looking for a way to update it when it gets focus.

However, I don't really want to handle a get focus message on every dialog control on the tab, just to run an update. Is there no general way to see if a control bar is 'active'? (in this case, whenever focus moves to any control on any tab on the bar).

Do I have to put code in my main frame to watch for mouse clicks inside the client rect of the bar?

************************************
I reached an adequate compromise with an OnMouseActivate on my control bar tab, another OnMouseActivate in my view and a 'needs upadte' boolean member in the tab too.
modified on Thursday, March 4, 2010 3:40 PM

AnswerRe: Control Bar Focus Issue Pin
Kyudos3-Mar-10 16:46
Kyudos3-Mar-10 16:46 
GeneralRe: Control Bar Focus Issue Pin
Kyudos3-Mar-10 16:56
Kyudos3-Mar-10 16:56 
GeneralRe: Control Bar Focus Issue Pin
chevu3-Mar-10 18:28
chevu3-Mar-10 18:28 
GeneralRe: Control Bar Focus Issue Pin
Kyudos4-Mar-10 8:58
Kyudos4-Mar-10 8:58 
QuestionC++ exe crashes in XP OS Pin
Member 34443753-Mar-10 8:18
Member 34443753-Mar-10 8:18 
QuestionRe: C++ exe crashes in XP OS Pin
Maximilien3-Mar-10 8:40
Maximilien3-Mar-10 8:40 
AnswerRe: C++ exe crashes in XP OS Pin
Graham Breach3-Mar-10 9:02
Graham Breach3-Mar-10 9:02 
GeneralRe: C++ exe crashes in XP OS Pin
Richard Andrew x643-Mar-10 9:20
professionalRichard Andrew x643-Mar-10 9:20 
QuestionCString and Intellisense Pin
Fernando A. Gomez F.3-Mar-10 8:05
Fernando A. Gomez F.3-Mar-10 8:05 
QuestionRe: CString and Intellisense Pin
Maximilien3-Mar-10 8:36
Maximilien3-Mar-10 8:36 
GeneralRe: CString and Intellisense Pin
Fernando A. Gomez F.3-Mar-10 9:03
Fernando A. Gomez F.3-Mar-10 9:03 
QuestionEfficiency Pin
Ofer Gross3-Mar-10 2:33
Ofer Gross3-Mar-10 2:33 
AnswerRe: Efficiency Pin
Eugen Podsypalnikov3-Mar-10 2:40
Eugen Podsypalnikov3-Mar-10 2:40 
AnswerRe: Efficiency Pin
Covean3-Mar-10 2:58
Covean3-Mar-10 2:58 
AnswerRe: Efficiency Pin
David Crow3-Mar-10 2:58
David Crow3-Mar-10 2:58 
AnswerRe: Efficiency Pin
CPallini3-Mar-10 3:18
mveCPallini3-Mar-10 3:18 
GeneralRe: Efficiency Pin
Covean3-Mar-10 3:44
Covean3-Mar-10 3:44 

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.