Click here to Skip to main content
15,906,766 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to make an automatically resizable dialogbar Pin
Kiddxin14-Aug-01 15:23
Kiddxin14-Aug-01 15:23 
QuestionPrevent exception message in VC++? Pin
Todd Smith14-Aug-01 15:22
Todd Smith14-Aug-01 15:22 
QuestionPrevent exception message in VC++? Pin
Todd Smith14-Aug-01 15:22
Todd Smith14-Aug-01 15:22 
AnswerRe: Prevent exception message in VC++? Pin
Christian Graus14-Aug-01 15:48
protectorChristian Graus14-Aug-01 15:48 
GeneralRe: Prevent exception message in VC++? Pin
Brad Bruce14-Aug-01 15:55
Brad Bruce14-Aug-01 15:55 
GeneralRe: Prevent exception message in VC++? Pin
Christian Graus14-Aug-01 16:01
protectorChristian Graus14-Aug-01 16:01 
GeneralRe: Prevent exception message in VC++? Pin
Brad Bruce15-Aug-01 2:15
Brad Bruce15-Aug-01 2:15 
GeneralRe: Prevent exception message in VC++? Pin
Malcolm McMahon15-Aug-01 2:36
Malcolm McMahon15-Aug-01 2:36 
So, if you must, write your own replacement for assert. It's just a macro. Personally I'd never use assert in the way it sounds like you're using it.

Assert is supposed to be disabled as soon as you move out of a debug environment. It's for checking that your program is doing what you thought it was, not for checking your users are doing what they ought to do. That's input validation which, in a serious production application, is usually a significant proportion of the program code.

An assert failure ought to ring alarm bells.

However AFAIK an assert failure just raises an exception. You can probably catch it and do what you like with it.
GeneralAVIFileOpen error Pin
Jake Palmer14-Aug-01 12:25
Jake Palmer14-Aug-01 12:25 
GeneralRetrieving # of Decimal Digits in floats Pin
Stephane Denis14-Aug-01 12:05
Stephane Denis14-Aug-01 12:05 
GeneralRe: Retrieving # of Decimal Digits in floats Pin
Ben Burnett14-Aug-01 13:32
Ben Burnett14-Aug-01 13:32 
GeneralRe: Retrieving # of Decimal Digits in floats Pin
#realJSOP15-Aug-01 4:19
professional#realJSOP15-Aug-01 4:19 
GeneralWhy can't I write text on of my CButton Pin
14-Aug-01 11:24
suss14-Aug-01 11:24 
GeneralRe: Why can't I write text on of my CButton Pin
14-Aug-01 11:41
suss14-Aug-01 11:41 
GeneralRe: Why can't I write text on of my CButton Pin
14-Aug-01 11:56
suss14-Aug-01 11:56 
GeneralHiding Toolbars Pin
otvac14-Aug-01 10:07
otvac14-Aug-01 10:07 
GeneralCRichEditView problem w/ default appwizard app Pin
Amit Jain14-Aug-01 8:55
Amit Jain14-Aug-01 8:55 
GeneralRe: CRichEditView problem w/ default appwizard app Pin
Tomasz Sowinski14-Aug-01 9:17
Tomasz Sowinski14-Aug-01 9:17 
GeneralRe: CRichEditView problem w/ default appwizard app Pin
Amit Jain14-Aug-01 9:37
Amit Jain14-Aug-01 9:37 
GeneralRe: CRichEditView problem w/ default appwizard app Pin
Tomasz Sowinski14-Aug-01 9:42
Tomasz Sowinski14-Aug-01 9:42 
GeneralRe: CRichEditView problem w/ default appwizard app SOLVED Pin
Amit Jain17-Aug-01 15:31
Amit Jain17-Aug-01 15:31 
GeneralHTML Help Pin
Chris Klecker14-Aug-01 8:13
Chris Klecker14-Aug-01 8:13 
GeneralDisk Serial Number Pin
danielk14-Aug-01 7:18
danielk14-Aug-01 7:18 
GeneralRe: Disk Serial Number Pin
Tomasz Sowinski14-Aug-01 7:24
Tomasz Sowinski14-Aug-01 7:24 
QuestionHow to dynamically modify menu in MDI app Pin
JerzyPeter14-Aug-01 6:26
JerzyPeter14-Aug-01 6: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.