Click here to Skip to main content
16,011,608 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralChanging the background colour of a dialog Pin
Nitheesh George31-Mar-08 7:14
Nitheesh George31-Mar-08 7:14 
GeneralRe: Changing the background colour of a dialog Pin
Saurabh.Garg31-Mar-08 7:24
Saurabh.Garg31-Mar-08 7:24 
GeneralRe: Changing the background colour of a dialog Pin
MANISH RASTOGI31-Mar-08 18:23
MANISH RASTOGI31-Mar-08 18:23 
GeneralRe: Changing the background colour of a dialog Pin
kutti31-Mar-08 21:22
kutti31-Mar-08 21:22 
GeneralRe: Changing the background colour of a dialog Pin
Hamid_RT7-Apr-08 2:48
Hamid_RT7-Apr-08 2:48 
Generalwin32 statusbar Pin
Sabry190531-Mar-08 7:07
Sabry190531-Mar-08 7:07 
GeneralRe: win32 statusbar Pin
led mike31-Mar-08 7:11
led mike31-Mar-08 7:11 
GeneralWM_CHAR / OnChar Pin
bob1697231-Mar-08 6:51
bob1697231-Mar-08 6:51 
Is it possible, when processing a WM_CHAR message or using OnChar() to get all pending char messages, (Not necessarily the repeated characters) in the message queue?

In other words, if you have a very expensive recalculate cycle and the user pounds in an "A", "B", and "C" on the keyboard before you've finished your last recalculate cycle, is there a way to effectively get "ABC" with a single handler on the next handler.

My issue is I need to determine if the character is even valid before my Invalidate/redraw but if I fall behind processing characters it tends to accumulate and delay the rendering process.

If I do the recalculate in the rendering process, the user experience appears smooth since the multiple invalidates equate to one recalculate cycle but the characters have been allowed in at this point making validation difficult for text inserts etc...

I need to calculate before I post the invalidate.
GeneralRe: WM_CHAR / OnChar Pin
Mark Salsbery31-Mar-08 7:02
Mark Salsbery31-Mar-08 7:02 
GeneralRe: WM_CHAR / OnChar Pin
bob1697231-Mar-08 7:45
bob1697231-Mar-08 7:45 
GeneralRe: WM_CHAR / OnChar Pin
led mike31-Mar-08 7:31
led mike31-Mar-08 7:31 
GeneralRe: WM_CHAR / OnChar Pin
bob1697231-Mar-08 7:50
bob1697231-Mar-08 7:50 
Generalundeclared identifier "class" Pin
VonHagNDaz31-Mar-08 5:40
VonHagNDaz31-Mar-08 5:40 
QuestionRe: undeclared identifier "class" Pin
David Crow31-Mar-08 5:46
David Crow31-Mar-08 5:46 
GeneralRe: undeclared identifier "class" Pin
VonHagNDaz31-Mar-08 5:54
VonHagNDaz31-Mar-08 5:54 
QuestionRe: undeclared identifier "class" Pin
David Crow31-Mar-08 7:18
David Crow31-Mar-08 7:18 
GeneralRe: undeclared identifier "class" Pin
VonHagNDaz31-Mar-08 7:23
VonHagNDaz31-Mar-08 7:23 
QuestionRe: undeclared identifier "class" Pin
David Crow31-Mar-08 7:28
David Crow31-Mar-08 7:28 
GeneralRe: undeclared identifier "class" Pin
VonHagNDaz31-Mar-08 7:38
VonHagNDaz31-Mar-08 7:38 
GeneralRe: undeclared identifier "class" Pin
David Crow31-Mar-08 7:44
David Crow31-Mar-08 7:44 
GeneralRe: undeclared identifier "class" Pin
VonHagNDaz31-Mar-08 7:51
VonHagNDaz31-Mar-08 7:51 
GeneralRe: undeclared identifier "class" Pin
David Crow31-Mar-08 7:55
David Crow31-Mar-08 7:55 
GeneralRe: undeclared identifier "class" Pin
CPallini31-Mar-08 11:25
mveCPallini31-Mar-08 11:25 
GeneralRe: undeclared identifier "class" Pin
VonHagNDaz1-Apr-08 7:20
VonHagNDaz1-Apr-08 7:20 
GeneralRe: undeclared identifier "class" Pin
CPallini1-Apr-08 7:53
mveCPallini1-Apr-08 7:53 

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.