Click here to Skip to main content
16,009,238 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: dailog in MFC dialog app Pin
albean22-Apr-02 9:25
albean22-Apr-02 9:25 
GeneralRe: dailog in MFC dialog app Pin
Shog922-Apr-02 9:39
sitebuilderShog922-Apr-02 9:39 
GeneralRe: dailog in MFC dialog app Pin
Ravi Bhavnani22-Apr-02 9:29
professionalRavi Bhavnani22-Apr-02 9:29 
Generalhas anybody have any idea about dragdrop a bitmap Pin
shokisingh22-Apr-02 6:31
shokisingh22-Apr-02 6:31 
GeneralRe: has anybody have any idea about dragdrop a bitmap Pin
Paul M Watt22-Apr-02 7:22
mentorPaul M Watt22-Apr-02 7:22 
GeneralWindows GDI and Bitmap tutorials Pin
Mike Zinni22-Apr-02 5:37
Mike Zinni22-Apr-02 5:37 
GeneralRe: Windows GDI and Bitmap tutorials Pin
Paul M Watt22-Apr-02 5:58
mentorPaul M Watt22-Apr-02 5:58 
GeneralChristian Graus, Continuously changing display - Pin
User 988522-Apr-02 5:18
User 988522-Apr-02 5:18 
The reason why I posted this today was because Chistian Graus mentioned about a WM_IDLE message. I searched MSDN for the message and could not find it.

I have a owner-data list that displays a live data feed. The only way I can update the screen is to use 'SetItemCount' function - but this redraws the entire list (for the part that is visible). If I did this on every update, the processor usage significantly shoots up. So, I decided to use a timer and a boolean variable (that gets set when an update occurs) and is reset when the painting is done in the timer.

Is there a better way to do this? I am just looking for alternatives that might be better. Due to some unknown reason, I am not satisfied with this solution. Smile | :)

Would the idle message be a good place to do this? and if so, how do I use it?

Thank you.

Thomas

modified 29-Aug-18 21:01pm.

GeneralRe: Christian Graus, Continuously changing display - Pin
Paul M Watt22-Apr-02 5:53
mentorPaul M Watt22-Apr-02 5:53 
GeneralRe: Christian Graus, Continuously changing display - Pin
User 988522-Apr-02 6:26
User 988522-Apr-02 6:26 
GeneralRe: Christian Graus, Continuously changing display - Pin
Ravi Bhavnani22-Apr-02 6:18
professionalRavi Bhavnani22-Apr-02 6:18 
GeneralRe: Christian Graus, Continuously changing display - Pin
User 988522-Apr-02 6:56
User 988522-Apr-02 6:56 
GeneralRe: Christian Graus, Continuously changing display - Pin
Ravi Bhavnani22-Apr-02 7:32
professionalRavi Bhavnani22-Apr-02 7:32 
GeneralShellOpen is hosed Pin
#realJSOP22-Apr-02 5:15
professional#realJSOP22-Apr-02 5:15 
GeneralRe: ShellOpen is hosed Pin
l a u r e n22-Apr-02 5:25
l a u r e n22-Apr-02 5:25 
GeneralRe: ShellOpen is hosed Pin
#realJSOP22-Apr-02 5:58
professional#realJSOP22-Apr-02 5:58 
GeneralRe: ShellOpen is hosed Pin
l a u r e n22-Apr-02 6:01
l a u r e n22-Apr-02 6:01 
GeneralRe: ShellOpen is hosed Pin
Jim Crafton22-Apr-02 6:29
Jim Crafton22-Apr-02 6:29 
GeneralRe: ShellOpen is hosed Pin
Jim Crafton22-Apr-02 6:31
Jim Crafton22-Apr-02 6:31 
GeneralRe: ShellOpen is hosed Pin
David Defoort22-Apr-02 6:31
David Defoort22-Apr-02 6:31 
GeneralRe: ShellOpen is hosed - the answer Pin
#realJSOP22-Apr-02 6:59
professional#realJSOP22-Apr-02 6:59 
GeneralRe: ShellOpen is hosed - the answer Pin
#realJSOP22-Apr-02 8:59
professional#realJSOP22-Apr-02 8:59 
GeneralRe: ShellOpen is hosed - the answer Pin
Gary Kirkham21-Jan-04 5:29
Gary Kirkham21-Jan-04 5:29 
GeneralRe: ShellOpen is hosed - the answer Pin
#realJSOP21-Jan-04 11:18
professional#realJSOP21-Jan-04 11:18 
GeneralSimple MFC question. Pin
Jason Hooper22-Apr-02 5:13
Jason Hooper22-Apr-02 5:13 

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.