Click here to Skip to main content
15,910,211 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Connect MS ACCESS 2003 data base with vc++ 6 Pin
ritz123410-Jul-08 18:28
ritz123410-Jul-08 18:28 
GeneralRe: Connect MS ACCESS 2003 data base with vc++ 6 Pin
ani_ikram10-Jul-08 20:27
ani_ikram10-Jul-08 20:27 
QuestionOnPaint is transitory. Pin
jazy110-Jul-08 17:11
jazy110-Jul-08 17:11 
AnswerRe: OnPaint is transitory. Pin
enhzflep10-Jul-08 17:48
enhzflep10-Jul-08 17:48 
GeneralRe: OnPaint is transitory. Pin
jazy110-Jul-08 18:04
jazy110-Jul-08 18:04 
GeneralRe: OnPaint is transitory. Pin
enhzflep10-Jul-08 18:20
enhzflep10-Jul-08 18:20 
GeneralRe: OnPaint is transitory. Pin
jazy110-Jul-08 18:59
jazy110-Jul-08 18:59 
GeneralRe: OnPaint is transitory. Pin
Nelek10-Jul-08 21:48
protectorNelek10-Jul-08 21:48 
No, it should be like that.

What you write in the OnPaint should stay in the dialog until a update window, update region, update dialog, erase background, resize the window/dialog, change between apps... any message that implies a refresh of the screen.

So if your text is not showing I guess you are calling unvoluntarly one of that messages just after your OnPaint, or not calling the OnPaint fter on of those messages.

Use the Step by Step in debugging and take a look on your code executing.

Regards.
--------
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
Rating helpfull answers is nice, but saying thanks can be even nicer.

GeneralRe: OnPaint is transitory. Pin
jazy110-Jul-08 22:50
jazy110-Jul-08 22:50 
AnswerRe: OnPaint is transitory. Pin
Mark Salsbery11-Jul-08 6:25
Mark Salsbery11-Jul-08 6:25 
AnswerRe: OnPaint is transitory. Pin
jazy113-Jul-08 21:03
jazy113-Jul-08 21:03 
Questionprint a window Pin
tataxin10-Jul-08 16:46
tataxin10-Jul-08 16:46 
AnswerRe: print a window Pin
Nelek10-Jul-08 21:42
protectorNelek10-Jul-08 21:42 
Questionregular expression - removing last character from result Pin
rp_suman10-Jul-08 16:29
rp_suman10-Jul-08 16:29 
AnswerRe: regular expression - removing last character from result Pin
geoffs15-Jul-08 17:11
geoffs15-Jul-08 17:11 
GeneralRe: regular expression - removing last character from result Pin
rp_suman16-Jul-08 2:04
rp_suman16-Jul-08 2:04 
QuestionHow to Associate a File Extension with a Program Pin
Bram van Kampen10-Jul-08 15:34
Bram van Kampen10-Jul-08 15:34 
AnswerRe: How to Associate a File Extension with a Program Pin
Nelek10-Jul-08 21:29
protectorNelek10-Jul-08 21:29 
GeneralRe: How to Associate a File Extension with a Program Pin
Bram van Kampen11-Jul-08 14:31
Bram van Kampen11-Jul-08 14:31 
GeneralRe: How to Associate a File Extension with a Program Pin
Bram van Kampen12-Jul-08 13:02
Bram van Kampen12-Jul-08 13:02 
AnswerRe: How to Associate a File Extension with a Program Pin
Mark Salsbery11-Jul-08 6:31
Mark Salsbery11-Jul-08 6:31 
GeneralRe: How to Associate a File Extension with a Program Pin
Bram van Kampen11-Jul-08 14:30
Bram van Kampen11-Jul-08 14:30 
GeneralRe: How to Associate a File Extension with a Program Pin
Bram van Kampen12-Jul-08 16:08
Bram van Kampen12-Jul-08 16:08 
Questionwhy can't I print an icon? Pin
tataxin10-Jul-08 15:33
tataxin10-Jul-08 15:33 
AnswerRe: why can't I print an icon? Pin
Mark Salsbery11-Jul-08 6:34
Mark Salsbery11-Jul-08 6:34 

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.