Click here to Skip to main content
15,908,115 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralProblem in using CToolTipCtrl Pin
meens16-Sep-03 19:55
meens16-Sep-03 19:55 
GeneralRe: Problem in using CToolTipCtrl Pin
Jagadeesh VN16-Sep-03 20:12
Jagadeesh VN16-Sep-03 20:12 
GeneralRe: Problem in using CToolTipCtrl Pin
meens16-Sep-03 22:20
meens16-Sep-03 22:20 
GeneralRe: Problem in using CToolTipCtrl Pin
Jagadeesh VN16-Sep-03 22:30
Jagadeesh VN16-Sep-03 22:30 
Generalterminating dialog based application Pin
r i s h a b h s16-Sep-03 19:40
r i s h a b h s16-Sep-03 19:40 
GeneralRe: terminating dialog based application Pin
Jagadeesh VN16-Sep-03 20:01
Jagadeesh VN16-Sep-03 20:01 
GeneralRe: terminating dialog based application Pin
r i s h a b h s16-Sep-03 20:37
r i s h a b h s16-Sep-03 20:37 
GeneralRe: terminating dialog based application Pin
Jagadeesh VN16-Sep-03 21:45
Jagadeesh VN16-Sep-03 21:45 
You have to first close your dialog using OnCancel()/OnOK(). Then you can terminate your application from your main class.

void MyClass::OnSomeAction()
{
CMyDlg dlg;
dlg.DoModal();
//The thread is blocked at this point, and will resume only if the dialog is dismissed

//Terminate the application here.
}

"A robust program is resistant to errors -- it either works correctly, or it does not work at all; whereas a fault tolerant program must actually recover from errors."
General2 dlg resources.....but single CDialog based class Pin
r i s h a b h s16-Sep-03 18:45
r i s h a b h s16-Sep-03 18:45 
GeneralRe: 2 dlg resources.....but single CDialog based class Pin
r i s h a b h s16-Sep-03 19:41
r i s h a b h s16-Sep-03 19:41 
GeneralRe: 2 dlg resources.....but single CDialog based class Pin
Jagadeesh VN16-Sep-03 20:06
Jagadeesh VN16-Sep-03 20:06 
GeneralExtracting a Chinese Character from a CString Pin
wow999916-Sep-03 17:15
wow999916-Sep-03 17:15 
GeneralRe: Extracting a Chinese Character from a CString Pin
Michael Dunn16-Sep-03 17:49
sitebuilderMichael Dunn16-Sep-03 17:49 
GeneralRe: Extracting a Chinese Character from a CString Pin
wow999916-Sep-03 19:00
wow999916-Sep-03 19:00 
GeneralRe: Extracting a Chinese Character from a CString Pin
Michael Dunn16-Sep-03 19:31
sitebuilderMichael Dunn16-Sep-03 19:31 
Generalpattern recognition in string inputted by user Pin
Anz16-Sep-03 10:33
Anz16-Sep-03 10:33 
GeneralRe: pattern recognition in string inputted by user Pin
Michael Dunn16-Sep-03 17:52
sitebuilderMichael Dunn16-Sep-03 17:52 
GeneralRe: pattern recognition in string inputted by user Pin
DougW4816-Sep-03 19:09
DougW4816-Sep-03 19:09 
QuestionSerial Port Functions? Pin
Steven M Hunt16-Sep-03 9:24
Steven M Hunt16-Sep-03 9:24 
AnswerRe: Serial Port Functions? Pin
Jagadeesh VN16-Sep-03 21:19
Jagadeesh VN16-Sep-03 21:19 
QuestionHow to fix compiler warning ? Pin
Artem Moroz16-Sep-03 9:23
Artem Moroz16-Sep-03 9:23 
AnswerRe: How to fix compiler warning ? Pin
Terry O'Nolley16-Sep-03 11:44
Terry O'Nolley16-Sep-03 11:44 
AnswerRe: How to fix compiler warning ? Pin
Phil Hamer16-Sep-03 16:13
Phil Hamer16-Sep-03 16:13 
GeneralRe: How to fix compiler warning ? Pin
David Crow17-Sep-03 3:16
David Crow17-Sep-03 3:16 
GeneralRe: How to fix compiler warning ? Pin
Phil Hamer17-Sep-03 11:37
Phil Hamer17-Sep-03 11:37 

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.