Click here to Skip to main content
15,914,395 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Which trackbar fired the event? Pin
clintsinger24-Oct-01 6:21
clintsinger24-Oct-01 6:21 
GeneralRe: Which trackbar fired the event? Pin
Christian Graus24-Oct-01 11:22
protectorChristian Graus24-Oct-01 11:22 
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 
Shouldn't that be TRUE? Here's the snippet from MSDN for WM_ERASEBKGND :

<br />
An application should return nonzero in response to WM_ERASEBKGND if it processes the message and erases the background; this indicates that no further erasing is required. If the application returns zero, the window will remain marked for erasing. (Typically, this indicates that the fErase member of the PAINTSTRUCT structure will be TRUE.)<br />


Anyway, I've handled the WM_ERASEBKGND message & returned both FALSE & TRUE but it appears that it doesn't matter - the control still flickers.




Chen Venkataraman
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 
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 

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.