- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Does anyone has ever worked on the project of using multiple dialog boxes?
I can create child dialog window but don't know how to kill the child dialog. Right now, if I kill the child I will kill the whole program.
I saw a post saying that early version of VFC has sample code named as therm: The therm program demonstrates a "dialog-based" Fortran application ...It also demonstrates using multiple modeless dialog boxes. "
Can someone email me the sample code or similar code
thanks
qima
コピーされたリンク
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Does anyone has ever worked on the project of using multiple dialog boxes?
I can create child dialog window but don't know how to kill the child dialog. Right now, if I kill the child I will kill the whole program.
I saw a post saying that early version of VFC has sample code named as therm: The therm program demonstrates a "dialog-based" Fortran application ...It also demonstrates using multiple modeless dialog boxes. "
Can someone email me the sample code or similar code
You gave too little information, I'm afraid.
It seems that you just copied the wizard-generated main dialog code into child dialogs; however, it calls PostQuitMessage(0), which causes the program to exit. A child dialog should normally just call DlgExit for itself when a closing event occurs (clicking an OK or Cancel button).