Click here to Skip to main content
15,897,704 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Draw a FRAMERECT() on top of ONTIMER() image refresh! Pin
CPallini26-Oct-09 4:29
mveCPallini26-Oct-09 4:29 
GeneralRe: Draw a FRAMERECT() on top of ONTIMER() image refresh! Pin
KarstenK26-Oct-09 4:35
mveKarstenK26-Oct-09 4:35 
GeneralRe: Draw a FRAMERECT() on top of ONTIMER() image refresh! Pin
CPallini26-Oct-09 4:47
mveCPallini26-Oct-09 4:47 
GeneralRe: Draw a FRAMERECT() on top of ONTIMER() image refresh! Pin
esc32126-Oct-09 4:37
esc32126-Oct-09 4:37 
GeneralRe: Draw a FRAMERECT() on top of ONTIMER() image refresh! Pin
CPallini26-Oct-09 4:54
mveCPallini26-Oct-09 4:54 
GeneralRe: Draw a FRAMERECT() on top of ONTIMER() image refresh! Pin
Iain Clarke, Warrior Programmer26-Oct-09 5:13
Iain Clarke, Warrior Programmer26-Oct-09 5:13 
GeneralRe: Draw a FRAMERECT() on top of ONTIMER() image refresh! Pin
CPallini26-Oct-09 5:27
mveCPallini26-Oct-09 5:27 
GeneralRe: Draw a FRAMERECT() on top of ONTIMER() image refresh! Pin
Iain Clarke, Warrior Programmer26-Oct-09 5:12
Iain Clarke, Warrior Programmer26-Oct-09 5:12 
You need to do a bit of reading of windows stuff.

The OnDraw method is called from the OnPaint hander. That wraps WM_PAINT for you.

To make windows issue a WM_PAINT when next convenient, use InvalidateRect function.

Lastly, to force an update, use the UpdateWindow function.

If you search for those functions on msdn, hopefully how windows works will become clearer.

Iain.

I have now moved to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), or need contract work done, give me a job! http://cv.imcsoft.co.uk/[^]

GeneralRe: Draw a FRAMERECT() on top of ONTIMER() image refresh! Pin
esc32126-Oct-09 5:27
esc32126-Oct-09 5:27 
GeneralRe: Draw a FRAMERECT() on top of ONTIMER() image refresh! Pin
esc32126-Oct-09 5:41
esc32126-Oct-09 5:41 
GeneralRe: Draw a FRAMERECT() on top of ONTIMER() image refresh! Pin
Iain Clarke, Warrior Programmer26-Oct-09 5:55
Iain Clarke, Warrior Programmer26-Oct-09 5:55 
GeneralRe: Draw a FRAMERECT() on top of ONTIMER() image refresh! Pin
esc32126-Oct-09 6:02
esc32126-Oct-09 6:02 
GeneralRe: Draw a FRAMERECT() on top of ONTIMER() image refresh! Pin
Iain Clarke, Warrior Programmer26-Oct-09 6:10
Iain Clarke, Warrior Programmer26-Oct-09 6:10 
QuestionIAccessible problem in Google Chrome.... Pin
onlyjaypatel26-Oct-09 3:19
onlyjaypatel26-Oct-09 3:19 
AnswerRe: IAccessible problem in Google Chrome.... Pin
Hans Dietrich26-Oct-09 12:58
mentorHans Dietrich26-Oct-09 12:58 
GeneralRe: IAccessible problem in Google Chrome.... Pin
onlyjaypatel26-Oct-09 22:52
onlyjaypatel26-Oct-09 22:52 
GeneralRe: IAccessible problem in Google Chrome.... Pin
Hans Dietrich27-Oct-09 4:32
mentorHans Dietrich27-Oct-09 4:32 
GeneralRe: IAccessible problem in Google Chrome.... Pin
onlyjaypatel27-Oct-09 5:33
onlyjaypatel27-Oct-09 5:33 
GeneralRe: IAccessible problem in Google Chrome.... Pin
Hans Dietrich27-Oct-09 5:43
mentorHans Dietrich27-Oct-09 5:43 
QuestionATL project error Pin
Game-point26-Oct-09 2:55
Game-point26-Oct-09 2:55 
AnswerRe: ATL project error Pin
Hristo-Bojilov26-Oct-09 3:01
Hristo-Bojilov26-Oct-09 3:01 
AnswerRe: ATL project error Pin
KarstenK26-Oct-09 4:37
mveKarstenK26-Oct-09 4:37 
QuestionLoadLibrary returns invalid handle 0x10000000 Pin
Member 450433926-Oct-09 2:45
Member 450433926-Oct-09 2:45 
AnswerRe: LoadLibrary returns invalid handle 0x10000000 Pin
Michael Schubert26-Oct-09 3:08
Michael Schubert26-Oct-09 3:08 
GeneralRe: LoadLibrary returns invalid handle 0x10000000 Pin
Member 450433926-Oct-09 3:18
Member 450433926-Oct-09 3:18 

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.