Click here to Skip to main content
16,005,339 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Which is more efficient in C Pin
KellyR19-Nov-07 18:38
KellyR19-Nov-07 18:38 
AnswerRe: Which is more efficient in C Pin
jhwurmbach19-Nov-07 22:36
jhwurmbach19-Nov-07 22:36 
QuestionHow to implement Thumbnail list that is scroll from left to right Pin
followait19-Nov-07 16:03
followait19-Nov-07 16:03 
AnswerRe: How to implement Thumbnail list that is scroll from left to right Pin
Hamid_RT19-Nov-07 19:54
Hamid_RT19-Nov-07 19:54 
GeneralRe: How to implement Thumbnail list that is scroll from left to right Pin
followait20-Nov-07 1:31
followait20-Nov-07 1:31 
GeneralRe: How to implement Thumbnail list that is scroll from left to right Pin
Hamid_RT20-Nov-07 18:56
Hamid_RT20-Nov-07 18:56 
QuestionModal dialog in SDI application Pin
Trashpilepunker19-Nov-07 15:02
Trashpilepunker19-Nov-07 15:02 
AnswerRe: Modal dialog in SDI application Pin
Nelek19-Nov-07 22:08
protectorNelek19-Nov-07 22:08 
Can you put a bit of code, about how are you doing that?

If you are in MFC (I guess with wizard, because of the About.. box) it should be easy to do. The easiest way is to make the dialog in the resource editor, then create a class to that dialog and then make the call like:

OnButtonClick ()
{
   CMyDialog newDlg;
   if (IDCANCEL == newDlg.DoModal ())
   {   //User canceled
      return;
   }
   //read the datas from dialog
   //Do whatever you want
   return;
}


Greetings.

--------
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson

GeneralRe: Modal dialog in SDI application Pin
Trashpilepunker20-Nov-07 7:30
Trashpilepunker20-Nov-07 7:30 
GeneralRe: Modal dialog in SDI application Pin
Trashpilepunker20-Nov-07 7:32
Trashpilepunker20-Nov-07 7:32 
QuestionPrintWindow() and transparency Pin
mikejurka19-Nov-07 12:24
mikejurka19-Nov-07 12:24 
AnswerRe: PrintWindow() and transparency Pin
Mark Salsbery19-Nov-07 12:42
Mark Salsbery19-Nov-07 12:42 
GeneralRe: PrintWindow() and transparency Pin
mikejurka19-Nov-07 13:08
mikejurka19-Nov-07 13:08 
GeneralRe: PrintWindow() and transparency Pin
Mark Salsbery19-Nov-07 13:35
Mark Salsbery19-Nov-07 13:35 
GeneralRe: PrintWindow() and transparency Pin
mikejurka19-Nov-07 16:03
mikejurka19-Nov-07 16:03 
GeneralRe: PrintWindow() and transparency Pin
Mark Salsbery19-Nov-07 16:12
Mark Salsbery19-Nov-07 16:12 
QuestionDownload Manager Pin
AhmedOsamaMoh19-Nov-07 8:24
AhmedOsamaMoh19-Nov-07 8:24 
AnswerRe: Download Manager Pin
David Crow19-Nov-07 10:02
David Crow19-Nov-07 10:02 
GeneralRe: Download Manager Pin
led mike19-Nov-07 11:45
led mike19-Nov-07 11:45 
AnswerRe: Download Manager Pin
Hamid_RT19-Nov-07 18:37
Hamid_RT19-Nov-07 18:37 
QuestionUnterminatable process/thread? [modified] Pin
hxhl9519-Nov-07 8:19
hxhl9519-Nov-07 8:19 
AnswerRe: Unterminatable process/thread? Pin
Peter Weyzen19-Nov-07 8:27
Peter Weyzen19-Nov-07 8:27 
AnswerRe: Unterminatable process/thread? Pin
Randor 19-Nov-07 11:52
professional Randor 19-Nov-07 11:52 
QuestionRe: Unterminatable process/thread? Pin
hxhl9519-Nov-07 19:44
hxhl9519-Nov-07 19:44 
QuestionError Using std::vector [modified] Pin
Larry Mills Sr19-Nov-07 8:07
Larry Mills Sr19-Nov-07 8:07 

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.