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

C / C++ / MFC

 
GeneralRe: Keyboard events Pin
Mazdak25-Aug-02 3:48
Mazdak25-Aug-02 3:48 
GeneralHosting webbrowser control in sdi app with straight com Pin
nlecren24-Aug-02 18:13
nlecren24-Aug-02 18:13 
GeneralRe: Hosting webbrowser control in sdi app with straight com Pin
Stephane Rodriguez.24-Aug-02 22:40
Stephane Rodriguez.24-Aug-02 22:40 
GeneralRe: Hosting webbrowser control in sdi app with straight com Pin
Anonymous11-Sep-02 4:54
Anonymous11-Sep-02 4:54 
GeneralVanishing Bitmap Pin
Shibu24-Aug-02 17:26
Shibu24-Aug-02 17:26 
GeneralRe: Vanishing Bitmap Pin
Nish Nishant24-Aug-02 17:33
sitebuilderNish Nishant24-Aug-02 17:33 
GeneralRe: Vanishing Bitmap Pin
Shibu24-Aug-02 17:38
Shibu24-Aug-02 17:38 
GeneralOnNcPaint and OnPaint Pin
alex.barylski24-Aug-02 15:23
alex.barylski24-Aug-02 15:23 
[NOT PART OF ORIGINAL MESSAGE - What happens to scrollbars when you use OnNcPaint() why do they disappear and how do I bring them back, thanx]

I have tried in the past to use these 2 painting handlers only to stop flicker in one or the other...NOT both.

I thinking it is becuz NcPaint gets called renders its display and blits it to the screen, then OnPaint does the exact same thing...(I think it's in that order).

So my question is this...

Is it possible to use one bitmap for both OnNcPaint and OnPaint...and blit the bitmap to the screen HDC at the end of OnPaint or OnNcPaint() or which ever gets called last...???

This would avoid the double double buffering Poke tongue | ;-P and hopefully avoid flicker in both not just one...

is this possible...?

Thanx! Smile | :)

"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
GeneralRe: OnNcPaint and OnPaint Pin
Paul M Watt24-Aug-02 21:17
mentorPaul M Watt24-Aug-02 21:17 
GeneralRe: OnNcPaint and OnPaint Pin
alex.barylski25-Aug-02 14:02
alex.barylski25-Aug-02 14:02 
GeneralInter-object communication (CPP) Pin
alex.barylski24-Aug-02 15:18
alex.barylski24-Aug-02 15:18 
GeneralRe: Inter-object communication (CPP) Pin
Todd Smith24-Aug-02 17:17
Todd Smith24-Aug-02 17:17 
GeneralRe: Inter-object communication (CPP) Pin
alex.barylski25-Aug-02 13:54
alex.barylski25-Aug-02 13:54 
GeneralConsoleApp class problem Pin
Selevercin24-Aug-02 14:19
Selevercin24-Aug-02 14:19 
GeneralRe: ConsoleApp class problem Pin
PJ Arends24-Aug-02 14:58
professionalPJ Arends24-Aug-02 14:58 
GeneralRe: ConsoleApp class problem Pin
Selevercin24-Aug-02 15:53
Selevercin24-Aug-02 15:53 
GeneralRe: ConsoleApp class problem Pin
PJ Arends24-Aug-02 22:33
professionalPJ Arends24-Aug-02 22:33 
GeneralRe: ConsoleApp class problem Pin
Mike Nordell25-Aug-02 3:08
Mike Nordell25-Aug-02 3:08 
GeneralScreen Splitting in MFC Pin
CitationJet24-Aug-02 13:07
CitationJet24-Aug-02 13:07 
GeneralRe: Screen Splitting in MFC Pin
Jiminy24-Aug-02 18:02
Jiminy24-Aug-02 18:02 
GeneralGetFocus() Pin
Mazdak24-Aug-02 9:47
Mazdak24-Aug-02 9:47 
GeneralRe: GetFocus() Pin
NigelQ24-Aug-02 12:52
NigelQ24-Aug-02 12:52 
GeneralRe: GetFocus() Pin
Mazdak24-Aug-02 19:31
Mazdak24-Aug-02 19:31 
GeneralRe: GetFocus() Pin
Mazdak25-Aug-02 3:49
Mazdak25-Aug-02 3:49 
GeneralCEdit & Enter Pin
Anonymous24-Aug-02 9:27
Anonymous24-Aug-02 9:27 

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.