Click here to Skip to main content
15,904,497 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can I print in dialog based? Pin
OO-P6-Oct-03 21:24
OO-P6-Oct-03 21:24 
AnswerRe: How can I print in dialog based? Pin
Mike Dimmick6-Oct-03 23:25
Mike Dimmick6-Oct-03 23:25 
AnswerRe: How can I print in dialog based? Pin
FearlessBurner7-Oct-03 0:04
FearlessBurner7-Oct-03 0:04 
AnswerRe: How can I print in dialog based? Pin
Mike Danberg7-Oct-03 17:26
Mike Danberg7-Oct-03 17:26 
GeneralProblem with MsChart-Ctrl Pin
AnTri6-Oct-03 21:12
AnTri6-Oct-03 21:12 
GeneralHelp with HTML help using RTF Pin
Azghar Hussain6-Oct-03 21:06
professionalAzghar Hussain6-Oct-03 21:06 
Generalthrow or throw new?; Pin
Bo Hunter6-Oct-03 19:50
Bo Hunter6-Oct-03 19:50 
GeneralRe: throw or throw new?; Pin
ZoogieZork6-Oct-03 20:22
ZoogieZork6-Oct-03 20:22 
Bo Hunter wrote:
How is the new Exception deleted?

It isn't. Or rather, it must be deleted by the catch block.

The method I usually use is something along these lines:
try {<br />
  // ...<br />
  throw BuilderParseException("AIEEEEE!");<br />
  // ...<br />
} catch (const BuilderParseException &ex) {<br />
  // ...<br />
}


The BuilderParseException that's thrown will be cleaned up at the appropriate time, and the catch-by-reference avoids a copy.

- Mike
GeneralRe: throw or throw new?; Pin
jhwurmbach6-Oct-03 22:45
jhwurmbach6-Oct-03 22:45 
QuestionHow to programmatically setting power button action? Pin
Member 3993596-Oct-03 19:30
Member 3993596-Oct-03 19:30 
GeneralRe: (MFC) Need a list w/ multiple columns and children Pin
Mike Dimmick6-Oct-03 23:28
Mike Dimmick6-Oct-03 23:28 
GeneralExcel Locale Issue Pin
Derek Waters6-Oct-03 17:39
Derek Waters6-Oct-03 17:39 
GeneralRe: Excel Locale Issue Pin
David Crow7-Oct-03 3:04
David Crow7-Oct-03 3:04 
Generalhelp me Pin
don7cry6-Oct-03 17:36
don7cry6-Oct-03 17:36 
GeneralRe: help me Pin
xxhimanshu7-Oct-03 0:34
xxhimanshu7-Oct-03 0:34 
Generalload picture example Pin
azusakt6-Oct-03 16:03
azusakt6-Oct-03 16:03 
GeneralRe: load picture example Pin
xxhimanshu7-Oct-03 0:21
xxhimanshu7-Oct-03 0:21 
GeneralVT_CY and VT_DECIMAL Pin
Rome Singh6-Oct-03 15:25
Rome Singh6-Oct-03 15:25 
GeneralRe: VT_CY and VT_DECIMAL Pin
Mike Dimmick6-Oct-03 23:44
Mike Dimmick6-Oct-03 23:44 
GeneralRe: VT_CY and VT_DECIMAL Pin
Rome Singh7-Oct-03 0:40
Rome Singh7-Oct-03 0:40 
GeneralRe: VT_CY and VT_DECIMAL Pin
Mike Dimmick7-Oct-03 0:45
Mike Dimmick7-Oct-03 0:45 
GeneralRe: VT_CY and VT_DECIMAL Pin
Rome Singh7-Oct-03 0:49
Rome Singh7-Oct-03 0:49 
GeneralRe: VT_CY and VT_DECIMAL Pin
Rome Singh7-Oct-03 3:09
Rome Singh7-Oct-03 3:09 
GeneralRe: VT_CY and VT_DECIMAL Pin
Rome Singh7-Oct-03 2:49
Rome Singh7-Oct-03 2:49 
GeneralAutomatic dllname change in VC++ ide Pin
xylan6-Oct-03 15:03
xylan6-Oct-03 15:03 

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.