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

C / C++ / MFC

 
GeneralRe: How we by pass Window Printer Dialog? Pin
Anonymous12-Oct-02 12:04
Anonymous12-Oct-02 12:04 
GeneralIcon Import/Editor :: MFC Pin
valikac11-Oct-02 12:31
valikac11-Oct-02 12:31 
GeneralRe: Icon Import/Editor :: MFC Pin
Gary R. Wheeler11-Oct-02 15:56
Gary R. Wheeler11-Oct-02 15:56 
GeneralRe: Icon Import/Editor :: MFC Pin
valikac11-Oct-02 16:16
valikac11-Oct-02 16:16 
QuestionPermanent vs. Temporary DC's? Pin
Henry P.11-Oct-02 11:56
Henry P.11-Oct-02 11:56 
AnswerRe: Permanent vs. Temporary DC's? Pin
Neville Franks11-Oct-02 12:41
Neville Franks11-Oct-02 12:41 
GeneralRe: Permanent vs. Temporary DC's? Pin
Henry P.11-Oct-02 12:55
Henry P.11-Oct-02 12:55 
GeneralRe: Permanent vs. Temporary DC's? Pin
Neville Franks11-Oct-02 13:13
Neville Franks11-Oct-02 13:13 
The first will be the fastest and is the best approach as long as you don't keep the HDC m_hMemDC; class member around for too long.

This is the approach I use in ED (see sig) whenever I need to update the display. I create a drawing object which does stuff like CreateCompatibleDC(), this is then used for all of the display update operations, then the class destructor releases the DC etc. when the drawing has finished.

Neville Franks, Author of ED for Windows. www.getsoft.com
AnswerRe: Permanent vs. Temporary DC's? Pin
Paul M Watt11-Oct-02 14:31
mentorPaul M Watt11-Oct-02 14:31 
GeneralRe: Permanent vs. Temporary DC's? Pin
Henry P.11-Oct-02 15:05
Henry P.11-Oct-02 15:05 
GeneralRe: Permanent vs. Temporary DC's? Pin
Gary R. Wheeler11-Oct-02 16:02
Gary R. Wheeler11-Oct-02 16:02 
QuestionCFormView derived class w/o relying on the resource.h? Pin
dazinith11-Oct-02 10:31
dazinith11-Oct-02 10:31 
AnswerRe: CFormView derived class w/o relying on the resource.h? Pin
Chris Richardson11-Oct-02 11:26
Chris Richardson11-Oct-02 11:26 
Generalstd::vector question Pin
Rene De La Garza11-Oct-02 10:27
Rene De La Garza11-Oct-02 10:27 
GeneralRe: std::vector question Pin
Maximilien11-Oct-02 10:33
Maximilien11-Oct-02 10:33 
GeneralRe: std::vector question Pin
Daniel Turini11-Oct-02 10:31
Daniel Turini11-Oct-02 10:31 
GeneralCfg File Reading Pin
Anonymous11-Oct-02 10:26
Anonymous11-Oct-02 10:26 
GeneralRe: Cfg File Reading Pin
Maximilien11-Oct-02 10:31
Maximilien11-Oct-02 10:31 
GeneralRe: Cfg File Reading Pin
Anonymous11-Oct-02 10:41
Anonymous11-Oct-02 10:41 
GeneralTrying to findout Drive type from OS Path Pin
Xeena11-Oct-02 10:12
Xeena11-Oct-02 10:12 
GeneralRe: Trying to findout Drive type from OS Path Pin
Mike Nordell12-Oct-02 6:03
Mike Nordell12-Oct-02 6:03 
Generalrecordset ADO for an empty database Pin
ns11-Oct-02 10:15
ns11-Oct-02 10:15 
GeneralRe: recordset ADO for an empty database Pin
John M. Drescher11-Oct-02 10:25
John M. Drescher11-Oct-02 10:25 
GeneralRe: recordset ADO for an empty database Pin
Rene De La Garza11-Oct-02 10:24
Rene De La Garza11-Oct-02 10:24 
GeneralProblems with MRU Files Pin
José Luis Sogorb11-Oct-02 8:50
José Luis Sogorb11-Oct-02 8:50 

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.