Click here to Skip to main content
15,890,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Finding hardware Device Infomation... Pin
Manikandan23-Sep-03 21:08
Manikandan23-Sep-03 21:08 
GeneralRe: Finding hardware Device Infomation... Pin
David Crow24-Sep-03 2:09
David Crow24-Sep-03 2:09 
GeneralAfter OnInitDialog() Pin
Anonymous23-Sep-03 14:07
Anonymous23-Sep-03 14:07 
GeneralRe: After OnInitDialog() Pin
Anonymous23-Sep-03 15:28
Anonymous23-Sep-03 15:28 
GeneralRe: After OnInitDialog() Pin
David Crow23-Sep-03 16:39
David Crow23-Sep-03 16:39 
GeneralRe: After OnInitDialog() Pin
Anonymous23-Sep-03 22:41
Anonymous23-Sep-03 22:41 
GeneralRe: After OnInitDialog() Pin
David Crow24-Sep-03 2:28
David Crow24-Sep-03 2:28 
GeneralRe: After OnInitDialog() Pin
thowra24-Sep-03 0:58
thowra24-Sep-03 0:58 
In your OnInitDialog(), just before you return you can show the window and it's descendants. Then you can call your Update button handler, as though the user had clicked it.

...
CDialog::OnInitDialog();
SendMessageToDescendants(WM_SHOWWINDOW, (WPARAM)TRUE);
SendMessageToDescendants(WM_ENABLE , (WPARAM)TRUE);
OnUpdate();
return TRUE;


"The folly of man is that he dreams of what he can never achieve rather than dream of what he can."

"If you think education is expensive, try ignorance."

GeneralRe: After OnInitDialog() Pin
DougW4823-Sep-03 16:06
DougW4823-Sep-03 16:06 
GeneralRe: After OnInitDialog() Pin
Jonas Larsson24-Sep-03 0:54
Jonas Larsson24-Sep-03 0:54 
QuestionDerived Class: What are the rules ? Pin
wogerdoger23-Sep-03 13:49
wogerdoger23-Sep-03 13:49 
AnswerRe: Derived Class: What are the rules ? Pin
Joaquín M López Muñoz23-Sep-03 20:25
Joaquín M López Muñoz23-Sep-03 20:25 
GeneralRe: Derived Class: What are the rules ? Pin
wogerdoger25-Sep-03 2:00
wogerdoger25-Sep-03 2:00 
Generalxy plot in a mschart control Pin
Julihc23-Sep-03 12:08
Julihc23-Sep-03 12:08 
GeneralRe: xy plot in a mschart control Pin
silverware18-Dec-03 0:06
silverware18-Dec-03 0:06 
GeneralUPDATE_COMMAND_UI (and yes, I've read the FAQ) Pin
duckpuppy23-Sep-03 11:40
duckpuppy23-Sep-03 11:40 
GeneralRe: UPDATE_COMMAND_UI (and yes, I've read the FAQ) Pin
David Crow23-Sep-03 16:49
David Crow23-Sep-03 16:49 
GeneralRe: UPDATE_COMMAND_UI (and yes, I've read the FAQ) Pin
Michael Dunn23-Sep-03 17:20
sitebuilderMichael Dunn23-Sep-03 17:20 
GeneralRe: UPDATE_COMMAND_UI (and yes, I've read the FAQ) Pin
duckpuppy24-Sep-03 6:16
duckpuppy24-Sep-03 6:16 
GeneralRe: UPDATE_COMMAND_UI (and yes, I've read the FAQ) Pin
duckpuppy24-Sep-03 6:21
duckpuppy24-Sep-03 6:21 
GeneralRe: UPDATE_COMMAND_UI (and yes, I've read the FAQ) Pin
Michael Dunn24-Sep-03 9:17
sitebuilderMichael Dunn24-Sep-03 9:17 
GeneralCreating a folder Pin
Tom Wright23-Sep-03 11:20
Tom Wright23-Sep-03 11:20 
GeneralRe: Creating a folder Pin
Joaquín M López Muñoz23-Sep-03 11:30
Joaquín M López Muñoz23-Sep-03 11:30 
GeneralRe: Creating a folder Pin
Tom Wright23-Sep-03 11:53
Tom Wright23-Sep-03 11:53 
GeneralRe: Creating a folder Pin
RChin23-Sep-03 11:38
RChin23-Sep-03 11:38 

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.