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

C / C++ / MFC

 
QuestionHow to add a bullet to the text ? Pin
Amarelia29-Sep-05 23:16
Amarelia29-Sep-05 23:16 
AnswerRe: How to add a bullet to the text ? Pin
mark novak30-Sep-05 2:32
mark novak30-Sep-05 2:32 
QuestionAny better solution to solve this? Pin
G Haranadh29-Sep-05 23:04
G Haranadh29-Sep-05 23:04 
AnswerRe: Any better solution to solve this? Pin
S. Senthil Kumar30-Sep-05 0:39
S. Senthil Kumar30-Sep-05 0:39 
QuestionHow to Disable/Hide Mouse Cursor ? Pin
Amarelia29-Sep-05 22:36
Amarelia29-Sep-05 22:36 
AnswerRe: How to Disable/Hide Mouse Cursor ? Pin
mark novak30-Sep-05 2:26
mark novak30-Sep-05 2:26 
QuestionPlaying Video In Dialogs Pin
sweep12329-Sep-05 22:31
sweep12329-Sep-05 22:31 
QuestionDialog Communication Pin
fjlv200529-Sep-05 22:30
fjlv200529-Sep-05 22:30 
Good day,

I have two dialogs. The MainDialog and WelcomeDialog.
WelcomeDialoghas a progress bar and MainDialog has
the initialization in which this initialization status is
shown in WelcomeDialog progressbar. I have a function in
WelcomeDialog IncreaseProgressBarStep(int step) which is
public so MainDialog can access it.
Here is what i wanted to do.

MainDialog::OnInitDialog()
{
WelcomeDialog childDlg;
childDlg.DoModal();

->InitializationStatement....
childDlg.IncreaseProgressBarStep(10);
InitializationStatement....
childDlg.IncreaseProgressBarStep(10);
............(until all initialization is done)

done initialization here....
}

The problem with this code is that the code with ->InitializationStatement will not be called
unless the childDlg is exited, thus childDlg.IncreaseProgressBarStep will be useless.
How can we communicate the two dialogs so that WelcomeDialog will stay on the screen while
whole initilization is not yet done.

Thanks and More Power!
AnswerRe: Dialog Communication Pin
Cedric Moonen29-Sep-05 22:36
Cedric Moonen29-Sep-05 22:36 
GeneralRe: Dialog Communication Pin
fjlv200529-Sep-05 22:56
fjlv200529-Sep-05 22:56 
QuestionMFC reporting tools? Pin
bryan52329-Sep-05 22:02
bryan52329-Sep-05 22:02 
QuestionLogFile Pin
SachinSingla29-Sep-05 22:00
SachinSingla29-Sep-05 22:00 
AnswerRe: LogFile Pin
ThatsAlok29-Sep-05 22:27
ThatsAlok29-Sep-05 22:27 
AnswerRe: LogFile Pin
ThatsAlok29-Sep-05 22:28
ThatsAlok29-Sep-05 22:28 
QuestionAcquireCredentialsHandle returns SEC_E_INTERNAL_ERROR Pin
sunit529-Sep-05 21:32
sunit529-Sep-05 21:32 
QuestionGet pixel data from DirectX or OpenGL Pin
29-Sep-05 21:22
suss29-Sep-05 21:22 
AnswerRe: Get pixel data from DirectX or OpenGL Pin
Bartosz Bien30-Sep-05 1:04
Bartosz Bien30-Sep-05 1:04 
Questionwindows printer spool Pin
Marc Soleda29-Sep-05 20:55
Marc Soleda29-Sep-05 20:55 
QuestionWindows 98 DDK Pin
karmendra_js29-Sep-05 20:47
karmendra_js29-Sep-05 20:47 
AnswerRe: Windows 98 DDK Pin
tssp29-Sep-05 21:10
tssp29-Sep-05 21:10 
QuestionWindows Error Message Pin
.NetRams29-Sep-05 19:50
.NetRams29-Sep-05 19:50 
AnswerRe: Windows Error Message Pin
Mircea Puiu30-Sep-05 21:23
Mircea Puiu30-Sep-05 21:23 
QuestionCAsyncSocket vs CAsyncSocketEx Pin
Suraihan29-Sep-05 19:38
Suraihan29-Sep-05 19:38 
QuestionBitmap Dialog. Pin
rajeev8229-Sep-05 19:10
rajeev8229-Sep-05 19:10 
AnswerRe: Bitmap Dialog. Pin
ThatsAlok29-Sep-05 19:26
ThatsAlok29-Sep-05 19:26 

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.