Click here to Skip to main content
15,913,836 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to print Right aligned Text in a console? Pin
Aidman8-Mar-03 16:06
Aidman8-Mar-03 16:06 
AnswerRe: How to print Right aligned Text in a console? Pin
Alvaro Mendez8-Mar-03 16:47
Alvaro Mendez8-Mar-03 16:47 
GeneralRe: How to print Right aligned Text in a console? Pin
Aidman9-Mar-03 1:05
Aidman9-Mar-03 1:05 
GeneralClarifying Terminology for "XP Job Control" Pin
Dana Epp8-Mar-03 14:28
Dana Epp8-Mar-03 14:28 
GeneralShortcut keys Pin
Dor8-Mar-03 13:57
Dor8-Mar-03 13:57 
GeneralRe: Shortcut keys Pin
Nish Nishant8-Mar-03 14:11
sitebuilderNish Nishant8-Mar-03 14:11 
Generalfast line drawing Pin
TV8-Mar-03 13:48
TV8-Mar-03 13:48 
GeneralRe: fast line drawing Pin
Anders Molin8-Mar-03 14:11
professionalAnders Molin8-Mar-03 14:11 
It sounds like you draw in the backbuffer and blit it to your frontbuffer, as you call it, every time WM_PAINT is called.
If the window is not resized or scrolled, you could just blit your backbuffer to your frontbuffer, without doing all the drawing, because nothing have changed in the view...

I hope you understand what I mean, I might have been drinking too much redvine to explain propely Blush | :O

BTW, if all the lines you are drawing only are horizontal or vertical, it's way faster to bitblt a small bitmap as the line, than using LineTo()...

- Anders

Money talks, but all mine ever says is "Goodbye!"
GeneralRe: fast line drawing Pin
TV8-Mar-03 14:15
TV8-Mar-03 14:15 
GeneralRe: fast line drawing Pin
Christian Graus8-Mar-03 14:54
protectorChristian Graus8-Mar-03 14:54 
QuestionView number of socket handles (Win98)? Pin
Moak8-Mar-03 13:16
Moak8-Mar-03 13:16 
AnswerRe: View number of socket handles (Win98)? Pin
Dana Epp8-Mar-03 14:43
Dana Epp8-Mar-03 14:43 
GeneralRe: View number of socket handles (Win98)? Pin
Moak8-Mar-03 14:52
Moak8-Mar-03 14:52 
GeneralOnFileOpen() extension Pin
Mad Docs Hairy Belly8-Mar-03 11:15
Mad Docs Hairy Belly8-Mar-03 11:15 
GeneralRe: OnFileOpen() extension Pin
MAAK8-Mar-03 20:51
MAAK8-Mar-03 20:51 
GeneralRe: OnFileOpen() extension Pin
Mad Docs Hairy Belly9-Mar-03 4:03
Mad Docs Hairy Belly9-Mar-03 4:03 
GeneralStatic Redraw Pin
Shotgun8-Mar-03 11:03
Shotgun8-Mar-03 11:03 
QuestionHow to hide the web browser control Pin
Hesham Amin8-Mar-03 10:37
Hesham Amin8-Mar-03 10:37 
AnswerRe: How to hide the web browser control Pin
Nish Nishant8-Mar-03 10:49
sitebuilderNish Nishant8-Mar-03 10:49 
GeneralRe: How to hide the web browser control Pin
Hesham Amin8-Mar-03 11:13
Hesham Amin8-Mar-03 11:13 
QuestionExit code 136? Pin
Jason Henderson8-Mar-03 10:22
Jason Henderson8-Mar-03 10:22 
GeneralMessage routing Pin
AnTri8-Mar-03 6:57
AnTri8-Mar-03 6:57 
GeneralRe: Message routing Pin
Kuniva8-Mar-03 7:25
Kuniva8-Mar-03 7:25 
Generalfclose() error Pin
Kuniva8-Mar-03 6:00
Kuniva8-Mar-03 6:00 
GeneralRe: fclose() error Pin
Chris Losinger8-Mar-03 6:43
professionalChris Losinger8-Mar-03 6:43 

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.