Click here to Skip to main content
16,008,075 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalundeclared identifier Pin
Peter Liddle22-Oct-01 12:21
Peter Liddle22-Oct-01 12:21 
GeneralRe: undeclared identifier Pin
Christian Graus22-Oct-01 12:43
protectorChristian Graus22-Oct-01 12:43 
GeneralSynchronization objects Pin
Not Active22-Oct-01 11:03
mentorNot Active22-Oct-01 11:03 
GeneralFlicker-free drawing question Pin
Chen Venkataraman22-Oct-01 10:00
Chen Venkataraman22-Oct-01 10:00 
GeneralRe: Flicker-free drawing question Pin
Tomasz Sowinski22-Oct-01 10:19
Tomasz Sowinski22-Oct-01 10:19 
GeneralRe: Flicker-free drawing question Pin
Chen Venkataraman22-Oct-01 11:10
Chen Venkataraman22-Oct-01 11:10 
GeneralRe: Flicker-free drawing question Pin
Tomasz Sowinski22-Oct-01 11:27
Tomasz Sowinski22-Oct-01 11:27 
GeneralRe: Flicker-free drawing question Pin
Christian Graus22-Oct-01 18:29
protectorChristian Graus22-Oct-01 18:29 
The way I always did this was to draw the control to a memory DC, THEN call CPaintDC, THEN draw the control. CPaintDC causes the area to be erased, although it is reasonable to suggest that overriding OnEraseBackground to not call the parent method would solve this also.

When you overrode WM_ERASEBACKGROUND, did you still call the base method ? If so, don't if you don't want the background erased.


Christian

As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet.

Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
GeneralWriting a Client/Server in Visual C++ Pin
22-Oct-01 9:10
suss22-Oct-01 9:10 
GeneralRe: Writing a Client/Server in Visual C++ Pin
Matt Newman22-Oct-01 13:21
Matt Newman22-Oct-01 13:21 
GeneralHiding the main frame in mdi Pin
jangel22-Oct-01 8:51
jangel22-Oct-01 8:51 
GeneralRe: Hiding the main frame in mdi Pin
Tomasz Sowinski22-Oct-01 8:55
Tomasz Sowinski22-Oct-01 8:55 
GeneralRe: Hiding the main frame in mdi Pin
jangel22-Oct-01 10:04
jangel22-Oct-01 10:04 
GeneralRe: Hiding the main frame in mdi Pin
Tomasz Sowinski22-Oct-01 10:24
Tomasz Sowinski22-Oct-01 10:24 
GeneralRe: Hiding the main frame in mdi Pin
jangel22-Oct-01 12:37
jangel22-Oct-01 12:37 
GeneralRe: Hiding the main frame in mdi Pin
Christian Graus22-Oct-01 18:36
protectorChristian Graus22-Oct-01 18:36 
GeneralADO question ... Pin
Hadi Rezaee22-Oct-01 8:25
Hadi Rezaee22-Oct-01 8:25 
GeneralRe: ADO question ... Pin
Carlos Antollini22-Oct-01 8:47
Carlos Antollini22-Oct-01 8:47 
GeneralRe: ADO question ... Pin
Hadi Rezaee22-Oct-01 9:06
Hadi Rezaee22-Oct-01 9:06 
Generalm_pCtrlSite in Derived CButton object Pin
Derek Lakin22-Oct-01 7:03
Derek Lakin22-Oct-01 7:03 
GeneralSerialization of embedded CArray objects Pin
ASBR22-Oct-01 6:35
ASBR22-Oct-01 6:35 
GeneralRe: Serialization of embedded CArray objects Pin
Tomasz Sowinski22-Oct-01 8:54
Tomasz Sowinski22-Oct-01 8:54 
GeneralDisplaying a tooltip in a CScrollView Pin
Franz Klein22-Oct-01 5:26
Franz Klein22-Oct-01 5:26 
GeneralRe: Displaying a tooltip in a CScrollView Pin
Tomasz Sowinski22-Oct-01 8:17
Tomasz Sowinski22-Oct-01 8:17 
Questionusing _ecvt or f_fcvt??? Pin
Gérald Mercet22-Oct-01 4:17
Gérald Mercet22-Oct-01 4:17 

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.