Click here to Skip to main content
16,010,291 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: line numbers in vis c++ Pin
Shog98-Mar-02 6:39
sitebuilderShog98-Mar-02 6:39 
GeneralRe: line numbers in vis c++ Pin
Bill Wilson8-Mar-02 10:32
Bill Wilson8-Mar-02 10:32 
GeneralPerformance Counters Pin
RobJones8-Mar-02 4:44
RobJones8-Mar-02 4:44 
GeneralRe: Performance Counters Pin
Tomasz Sowinski8-Mar-02 5:17
Tomasz Sowinski8-Mar-02 5:17 
GeneralRe: Performance Counters Pin
RobJones8-Mar-02 5:38
RobJones8-Mar-02 5:38 
QuestionPalBlt or FillRect.... - what is faster ? Pin
Wizard_018-Mar-02 4:28
Wizard_018-Mar-02 4:28 
AnswerRe: PalBlt or FillRect.... - what is faster ? Pin
Tomasz Sowinski8-Mar-02 4:39
Tomasz Sowinski8-Mar-02 4:39 
GeneralRe: PalBlt or FillRect.... - what is faster ? Pin
Tim Smith8-Mar-02 5:03
Tim Smith8-Mar-02 5:03 
If you look into MFC sources, you'll find that FillSolidRect internally calls ::ExtTextOut. This is probably speed optimization, so chances are that FillSolidRect may be faster.

That floored me the first time I saw it in MFC. I wonder which is faster if you already have a brush sitting around. (Being that the ::ExtTextOut method doesn't require you to create a temp brush.)

Tim Smith

I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?
GeneralRe: PalBlt or FillRect.... - what is faster ? Pin
Tomasz Sowinski8-Mar-02 5:11
Tomasz Sowinski8-Mar-02 5:11 
GeneralRe: PalBlt or FillRect.... - what is faster ? Pin
Tim Smith8-Mar-02 5:12
Tim Smith8-Mar-02 5:12 
GeneralRe: PalBlt or FillRect.... - what is faster ? Pin
Tim Smith8-Mar-02 5:10
Tim Smith8-Mar-02 5:10 
GeneralRe: PalBlt or FillRect.... - what is faster ? Pin
Tomasz Sowinski8-Mar-02 5:19
Tomasz Sowinski8-Mar-02 5:19 
GeneralRe: PalBlt or FillRect.... - what is faster ? Pin
Tim Smith8-Mar-02 8:43
Tim Smith8-Mar-02 8:43 
GeneralToo few parameters. Expexted 1! Pin
isCode8-Mar-02 4:16
isCode8-Mar-02 4:16 
GeneralRe: Too few parameters. Expexted 1! Pin
8-Mar-02 4:23
suss8-Mar-02 4:23 
GeneralRe: Too few parameters. Expexted 1! Pin
isCode8-Mar-02 4:59
isCode8-Mar-02 4:59 
GeneralHibernation Notification Pin
Steve Thresher8-Mar-02 3:58
Steve Thresher8-Mar-02 3:58 
GeneralRe: Hibernation Notification Pin
Tomasz Sowinski8-Mar-02 4:04
Tomasz Sowinski8-Mar-02 4:04 
GeneralRe: Hibernation Notification Pin
Steve Thresher8-Mar-02 6:23
Steve Thresher8-Mar-02 6:23 
Generaldeque of structures Pin
Merle Pittman8-Mar-02 3:53
Merle Pittman8-Mar-02 3:53 
GeneralRe: deque of structures Pin
Joaquín M López Muñoz8-Mar-02 3:58
Joaquín M López Muñoz8-Mar-02 3:58 
GeneralRe: deque of structures Pin
Tomasz Sowinski8-Mar-02 3:58
Tomasz Sowinski8-Mar-02 3:58 
GeneralRe: deque of structures Pin
Merle Pittman8-Mar-02 4:02
Merle Pittman8-Mar-02 4:02 
GeneralRe: deque of structures Pin
Tomasz Sowinski8-Mar-02 5:03
Tomasz Sowinski8-Mar-02 5:03 
GeneralRe: deque of structures Pin
8-Mar-02 17:38
suss8-Mar-02 17:38 

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.