Click here to Skip to main content
15,894,337 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: using extern in C Pin
Erudite_Eric25-Jan-12 0:32
Erudite_Eric25-Jan-12 0:32 
AnswerRe: using extern in C Pin
«_Superman_»24-Jan-12 15:37
professional«_Superman_»24-Jan-12 15:37 
JokeRe: using extern in C Pin
Peter_in_278024-Jan-12 15:58
professionalPeter_in_278024-Jan-12 15:58 
GeneralRe: using extern in C Pin
Mohibur Rashid24-Jan-12 22:46
professionalMohibur Rashid24-Jan-12 22:46 
QuestionPlaying .wav file Pin
D.Manivelan23-Jan-12 19:33
D.Manivelan23-Jan-12 19:33 
AnswerRe: Playing .wav file Pin
PJ Arends23-Jan-12 19:49
professionalPJ Arends23-Jan-12 19:49 
GeneralRe: Playing .wav file Pin
D.Manivelan23-Jan-12 20:11
D.Manivelan23-Jan-12 20:11 
QuestionCustom drawn button inside the onInitDialog Pin
sdancer7523-Jan-12 8:47
sdancer7523-Jan-12 8:47 
Hi,

I have 2 custom drawn oval buttons that initialized inside onInitDialog. The problem is that those buttons are trying to save the background of their position (to create their transparent mask) before the actual background is drawn to this dialog.

I draw the dialog's background inside the onPaint() instead of the onEraseBkgd() to avoid flickering, but onPaint() is called after the onInitDialog is over.

Any recommendations ?

Regards,
sdancer75

AnswerRe: Custom drawn button inside the onInitDialog Pin
Albert Holguin23-Jan-12 9:20
professionalAlbert Holguin23-Jan-12 9:20 
GeneralRe: Custom drawn button inside the onInitDialog Pin
sdancer7523-Jan-12 20:55
sdancer7523-Jan-12 20:55 
AnswerRe: Custom drawn button inside the onInitDialog Pin
Albert Holguin24-Jan-12 5:09
professionalAlbert Holguin24-Jan-12 5:09 
GeneralRe: Custom drawn button inside the onInitDialog Pin
sdancer7524-Jan-12 21:34
sdancer7524-Jan-12 21:34 
QuestionCScrollView Pin
Bart23-Jan-12 7:21
Bart23-Jan-12 7:21 
AnswerRe: CScrollView Pin
Albert Holguin23-Jan-12 12:12
professionalAlbert Holguin23-Jan-12 12:12 
QuestionDisable OnFileOpen and OnFileSave in SDI Pin
_Flaviu23-Jan-12 5:15
_Flaviu23-Jan-12 5:15 
AnswerRe: Disable OnFileOpen and OnFileSave in SDI Pin
Jochen Arndt23-Jan-12 5:58
professionalJochen Arndt23-Jan-12 5:58 
AnswerRe: Disable OnFileOpen and OnFileSave in SDI Pin
Richard MacCutchan23-Jan-12 6:45
mveRichard MacCutchan23-Jan-12 6:45 
QuestionHow to show transparent image (a .png or .gif file ) in MFC Pin
Amrit Agr23-Jan-12 3:12
Amrit Agr23-Jan-12 3:12 
AnswerRe: How to show transparent image (a .png or .gif file ) in MFC Pin
Eugen Podsypalnikov23-Jan-12 5:01
Eugen Podsypalnikov23-Jan-12 5:01 
QuestionHow to use 'using' in MFC (in Visual C++ .NET) Pin
Rajeswari, T.22-Jan-12 20:26
Rajeswari, T.22-Jan-12 20:26 
AnswerRe: How to use 'using' in MFC (in Visual C++ .NET) Pin
Andy41122-Jan-12 20:45
Andy41122-Jan-12 20:45 
AnswerRe: How to use 'using' in MFC (in Visual C++ .NET) Pin
Stefan_Lang23-Jan-12 3:26
Stefan_Lang23-Jan-12 3:26 
QuestionCFILE::READ replacing x20's with x0a x0a Pin
ForNow22-Jan-12 14:57
ForNow22-Jan-12 14:57 
GeneralRe: CFILE::READ replacing x20's with x0a x0a Pin
David Crow22-Jan-12 16:27
David Crow22-Jan-12 16:27 
GeneralRe: CFILE::READ replacing x20's with x0a x0a Pin
ForNow22-Jan-12 18:44
ForNow22-Jan-12 18:44 

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.