Click here to Skip to main content
15,914,409 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Rookie STL question (type checking) Pin
jhinze17-Feb-07 11:23
jhinze17-Feb-07 11:23 
AnswerRe: Rookie STL question (type checking) Pin
Jörgen Sigvardsson22-Feb-07 10:52
Jörgen Sigvardsson22-Feb-07 10:52 
QuestionWTL User Defined Message Pin
damir_tk17-Feb-07 9:54
damir_tk17-Feb-07 9:54 
AnswerRe: WTL User Defined Message Pin
Igor Vigdorchik17-Feb-07 10:36
Igor Vigdorchik17-Feb-07 10:36 
GeneralRe: WTL User Defined Message Pin
damir_tk17-Feb-07 10:37
damir_tk17-Feb-07 10:37 
GeneralRe: WTL User Defined Message Pin
Igor Vigdorchik17-Feb-07 11:26
Igor Vigdorchik17-Feb-07 11:26 
GeneralRe: WTL User Defined Message Pin
damir_tk17-Feb-07 11:34
damir_tk17-Feb-07 11:34 
AnswerRe: WTL User Defined Message Pin
Michael Dunn17-Feb-07 11:17
sitebuilderMichael Dunn17-Feb-07 11:17 
Define a message ID in the WM_APP range, like this:
#define UWM_SHOW_HIDE_MAIN_WINDOW WM_APP
Then in your child dialog:
GetTopLevelParent().SendMessage(WM_APP, show_or_hide_flag);
Or you could break it into two messages, one for showing and one for hiding. Handle UWM_SHOW_HIDE_MAIN_WINDOW in your main dialog's message map and show/hide the window accordingly.


--Mike--
Visual C++ MVP Cool | :cool:
LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ

Ford, what's this fish doing in my ear?

GeneralRe: WTL User Defined Message Pin
damir_tk17-Feb-07 12:04
damir_tk17-Feb-07 12:04 
QuestionIntellisense Pin
Dracan216-Feb-07 4:53
Dracan216-Feb-07 4:53 
AnswerRe: Intellisense Pin
Stuart Dootson16-Feb-07 5:37
professionalStuart Dootson16-Feb-07 5:37 
QuestionAccessViolationException Pin
Brimer Orit15-Feb-07 4:35
Brimer Orit15-Feb-07 4:35 
AnswerRe: AccessViolationException Pin
prasad_som15-Feb-07 18:16
prasad_som15-Feb-07 18:16 
GeneralRe: AccessViolationException Pin
Brimer Orit18-Feb-07 22:15
Brimer Orit18-Feb-07 22:15 
GeneralRe: AccessViolationException Pin
prasad_som19-Feb-07 3:09
prasad_som19-Feb-07 3:09 
QuestionUsing a enum created in another project Pin
FouziaSham14-Feb-07 22:42
FouziaSham14-Feb-07 22:42 
QuestionContext Sensitive Help in an ATL Dialog Pin
Barry True14-Feb-07 10:07
Barry True14-Feb-07 10:07 
AnswerRe: Context Sensitive Help in an ATL Dialog Pin
Michael Dunn14-Feb-07 12:31
sitebuilderMichael Dunn14-Feb-07 12:31 
GeneralRe: Context Sensitive Help in an ATL Dialog Pin
Barry True15-Feb-07 18:56
Barry True15-Feb-07 18:56 
GeneralRe: Context Sensitive Help in an ATL Dialog Pin
Barry True17-Feb-07 3:08
Barry True17-Feb-07 3:08 
QuestionNeed Tutorial on ATL/WTL/STL Pin
Pankaj.Jain13-Feb-07 22:14
professionalPankaj.Jain13-Feb-07 22:14 
AnswerRe: Need Tutorial on ATL/WTL/STL Pin
Roger Stoltz13-Feb-07 22:45
Roger Stoltz13-Feb-07 22:45 
AnswerRe: Need Tutorial on ATL/WTL/STL Pin
Michael Dunn13-Feb-07 22:58
sitebuilderMichael Dunn13-Feb-07 22:58 
AnswerRe: Need Tutorial on ATL/WTL/STL Pin
Sceptic Mole14-Feb-07 10:28
Sceptic Mole14-Feb-07 10:28 
GeneralRe: Need Tutorial on ATL/WTL/STL Pin
Michael Dunn14-Feb-07 12:31
sitebuilderMichael Dunn14-Feb-07 12:31 

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.