Click here to Skip to main content
14,979,508 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
Questiondetect event in MFC dialog Pin
bkelly1331-May-14 11:51
Memberbkelly1331-May-14 11:51 
AnswerRe: detect event in MFC dialog Pin
Richard MacCutchan31-May-14 21:00
mveRichard MacCutchan31-May-14 21:00 
GeneralRe: detect event in MFC dialog Pin
bkelly131-Jun-14 1:06
Memberbkelly131-Jun-14 1:06 
GeneralRe: detect event in MFC dialog Pin
Richard MacCutchan1-Jun-14 1:15
mveRichard MacCutchan1-Jun-14 1:15 
GeneralRe: detect event in MFC dialog Pin
Randor 1-Jun-14 19:08
professional Randor 1-Jun-14 19:08 
GeneralRe: detect event in MFC dialog Pin
monitsystem2-Jun-14 6:44
Membermonitsystem2-Jun-14 6:44 
GeneralRe: detect event in MFC dialog Pin
bkelly132-Jun-14 9:13
Memberbkelly132-Jun-14 9:13 
AnswerRe: detect event in MFC dialog Pin
Albert Holguin5-Jun-14 9:49
professionalAlbert Holguin5-Jun-14 9:49 
Messaging is likely the best alternative (although not the only option). It is also common for people to make invisible windows simply for the messaging mechanism (instead of handling it by hand as in the article below).

Your other alternative could be to have the window occasionally check a critical section (or mutex) protected variable to know the current state.

modified 6-Jun-14 12:42pm.

GeneralRe: detect event in MFC dialog Pin
bkelly135-Jun-14 14:56
Memberbkelly135-Jun-14 14:56 
GeneralRe: detect event in MFC dialog Pin
Albert Holguin6-Jun-14 6:44
professionalAlbert Holguin6-Jun-14 6:44 
Questioncheck if dll is registred as x32 or loaded to Out_of_process Pin
MrKBA25-May-14 12:37
MemberMrKBA25-May-14 12:37 
AnswerRe: check if dll is registred as x32 or loaded to Out_of_process Pin
Randor 1-Jun-14 19:01
professional Randor 1-Jun-14 19:01 
Questionassign an event to a socket operation Pin
Member 798013518-May-14 15:57
MemberMember 798013518-May-14 15:57 
AnswerRe: assign an event to a socket operation Pin
Richard MacCutchan18-May-14 21:28
mveRichard MacCutchan18-May-14 21:28 
GeneralRe: assign an event to a socket operation Pin
bkelly1319-May-14 13:07
Memberbkelly1319-May-14 13:07 
GeneralRe: assign an event to a socket operation Pin
Richard MacCutchan19-May-14 21:34
mveRichard MacCutchan19-May-14 21:34 
GeneralRe: assign an event to a socket operation Pin
bkelly1320-May-14 6:20
Memberbkelly1320-May-14 6:20 
GeneralListen can be non-blocking Pin
bkelly133-Jun-14 8:19
Memberbkelly133-Jun-14 8:19 
Questionmy icon in system tray always visible Pin
Member 104023906-May-14 8:16
professionalMember 104023906-May-14 8:16 
QuestionRe: my icon in system tray always visible Pin
Richard MacCutchan6-May-14 9:07
mveRichard MacCutchan6-May-14 9:07 
AnswerRe: my icon in system tray always visible Pin
Member 104023906-May-14 9:32
professionalMember 104023906-May-14 9:32 
SuggestionRe: my icon in system tray always visible Pin
Richard MacCutchan6-May-14 9:50
mveRichard MacCutchan6-May-14 9:50 
GeneralRe: my icon in system tray always visible Pin
Member 104023906-May-14 10:06
professionalMember 104023906-May-14 10:06 
GeneralRe: my icon in system tray always visible Pin
Richard MacCutchan6-May-14 10:19
mveRichard MacCutchan6-May-14 10:19 
GeneralRe: my icon in system tray always visible Pin
Member 104023906-May-14 11:05
professionalMember 104023906-May-14 11: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.