Click here to Skip to main content
15,926,174 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralTransparent Menu Pin
Derick Cyril Thomas13-Mar-02 18:56
Derick Cyril Thomas13-Mar-02 18:56 
GeneralRe: Transparent Menu Pin
Tomasz Sowinski14-Mar-02 0:01
Tomasz Sowinski14-Mar-02 0:01 
Generalprocess list Pin
ernst.maurer13-Mar-02 18:59
ernst.maurer13-Mar-02 18:59 
GeneralRe: process list Pin
Lim Bio Liong14-Mar-02 16:33
Lim Bio Liong14-Mar-02 16:33 
GeneralFlicker with CMemDC Pin
alex.barylski13-Mar-02 18:04
alex.barylski13-Mar-02 18:04 
GeneralRe: Flicker with CMemDC Pin
Shog913-Mar-02 19:13
sitebuilderShog913-Mar-02 19:13 
GeneralRe: Flicker with CMemDC Pin
alex.barylski13-Mar-02 19:46
alex.barylski13-Mar-02 19:46 
GeneralRe: Flicker with CMemDC Pin
Paul M Watt13-Mar-02 20:07
mentorPaul M Watt13-Mar-02 20:07 
What does your handler to OnNCPaint look like? Specifically, how are you creating your DC.

OnEraseBkgnd should not be an issue in this case, because it is not usually called to erase the NC area, on the client area of your window.

My first thought is to make sure that you make use of the clipping region that is sent in with the WPARAM parameter of the WM_NCPAINT message. This will allow windows to clip the old portions of your display that do not need to be repainted. Then if you are resizing you window larger, there should only be a sliver of the window that needs painting. If you are making the window smaller, there should be no part of the window that needs painting.


GeneralRe: Flicker with CMemDC Pin
alex.barylski13-Mar-02 20:21
alex.barylski13-Mar-02 20:21 
GeneralRe: Flicker with CMemDC Pin
Paul M Watt13-Mar-02 21:44
mentorPaul M Watt13-Mar-02 21:44 
GeneralRe: Flicker with CMemDC Pin
alex.barylski13-Mar-02 22:54
alex.barylski13-Mar-02 22:54 
GeneralRe: Flicker with CMemDC Pin
Michel13-Mar-02 20:31
Michel13-Mar-02 20:31 
GeneralVC++ Runtimes Pin
Richard Lewis13-Mar-02 17:47
Richard Lewis13-Mar-02 17:47 
GeneralRe: VC++ Runtimes Pin
Nish Nishant13-Mar-02 18:16
sitebuilderNish Nishant13-Mar-02 18:16 
QuestionCan u help me!!! Pin
Davidlou13-Mar-02 17:30
Davidlou13-Mar-02 17:30 
AnswerRe: Can u help me!!! Pin
alex.barylski13-Mar-02 17:53
alex.barylski13-Mar-02 17:53 
GeneralRe: Can u help me!!! Pin
Jon Hulatt13-Mar-02 22:20
Jon Hulatt13-Mar-02 22:20 
GeneralRe: Can u help me!!! Pin
alex.barylski13-Mar-02 22:52
alex.barylski13-Mar-02 22:52 
AnswerRe: Can u help me!!! Pin
Jon Hulatt13-Mar-02 22:18
Jon Hulatt13-Mar-02 22:18 
Generalbmp Pin
13-Mar-02 16:20
suss13-Mar-02 16:20 
GeneralRe: bmp Pin
alex.barylski13-Mar-02 17:50
alex.barylski13-Mar-02 17:50 
QuestionWho have a sample VC "Gina.dll" project? Pin
13-Mar-02 15:26
suss13-Mar-02 15:26 
AnswerRe: Who have a sample VC "Gina.dll" project? Pin
Derek Waters13-Mar-02 16:25
Derek Waters13-Mar-02 16:25 
Generallcase in c++ Pin
SilverShalkin13-Mar-02 14:41
SilverShalkin13-Mar-02 14:41 
GeneralRe: lcase in c++ Pin
alex.barylski13-Mar-02 14:51
alex.barylski13-Mar-02 14:51 

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.