Click here to Skip to main content
16,008,183 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: 'Document Summary Info' Pin
Michael Dunn24-Sep-01 15:10
sitebuilderMichael Dunn24-Sep-01 15:10 
GeneralSimple DLL, Simple DLL, Simple DLL , P L E A S E !!! Pin
24-Sep-01 9:52
suss24-Sep-01 9:52 
GeneralRe: Simple DLL, Simple DLL, Simple DLL , P L E A S E !!! Pin
Chris Losinger24-Sep-01 10:07
professionalChris Losinger24-Sep-01 10:07 
GeneralRe: Simple DLL, Simple DLL, Simple DLL , P L E A S E !!! Pin
24-Sep-01 11:43
suss24-Sep-01 11:43 
GeneralRe: Simple DLL, Simple DLL, Simple DLL , P L E A S E !!! Pin
Michael P Butler25-Sep-01 2:37
Michael P Butler25-Sep-01 2:37 
GeneralHide Menu Pin
24-Sep-01 9:19
suss24-Sep-01 9:19 
GeneralRe: Hide Menu Pin
Oscar Vazquez24-Sep-01 9:49
Oscar Vazquez24-Sep-01 9:49 
GeneralHelp Using CMemDC and its derivatives... Pin
TSquared24-Sep-01 7:36
TSquared24-Sep-01 7:36 
Hi,
I've added CMemDC class to my project, and it has a memory
leak somewhere that I can't locate.
I need 2 DC's that stay in memory for the life of the
application, however, I'd rather not have them constantly
created inside the OnPaint() function, since I have some
intensive calculations done to them.

Can I get some suggestions on correct methods of initializing
my CMemDC. My app is Dialog based, and I've been using
different methods to initialize them inside my OnInitDialog()
function.

Also, is it bad form to use the 'new' operator on CMemDC,
considering I didn't see it defined within the class?

Best Regards,
-tConfused | :confused:
GeneralRe: Help Using CMemDC and its derivatives... Pin
Tim Deveaux24-Sep-01 9:43
Tim Deveaux24-Sep-01 9:43 
GeneralRe: Help Using CMemDC and its derivatives... Pin
TSquared24-Sep-01 13:58
TSquared24-Sep-01 13:58 
GeneralRe: Help Using CMemDC and its derivatives... Pin
Tim Deveaux25-Sep-01 4:27
Tim Deveaux25-Sep-01 4:27 
GeneralRe: Help Using CMemDC and its derivatives... Pin
25-Sep-01 8:10
suss25-Sep-01 8:10 
GeneralRe: Help Using CMemDC and its derivatives... Pin
Tim Deveaux25-Sep-01 9:11
Tim Deveaux25-Sep-01 9:11 
GeneralRe: Help Using CMemDC and its derivatives... Pin
TSquared25-Sep-01 12:20
TSquared25-Sep-01 12:20 
GeneralRe: Help Using CMemDC and its derivatives... Pin
Tim Deveaux25-Sep-01 14:28
Tim Deveaux25-Sep-01 14:28 
GeneralRe: Help Using CMemDC and its derivatives... Pin
26-Sep-01 8:25
suss26-Sep-01 8:25 
GeneralCString question Pin
RobJones24-Sep-01 7:33
RobJones24-Sep-01 7:33 
GeneralRe: CString question Pin
Michael Dunn24-Sep-01 8:17
sitebuilderMichael Dunn24-Sep-01 8:17 
GeneralRe: Uu-Ha! Pin
Masaaki Onishi24-Sep-01 8:35
Masaaki Onishi24-Sep-01 8:35 
GeneralRe: Uu-Ha! Pin
RobJones24-Sep-01 9:49
RobJones24-Sep-01 9:49 
GeneralRe: Uu-Ha! Pin
RobJones24-Sep-01 10:00
RobJones24-Sep-01 10:00 
GeneralRe: CString question Pin
Oscar Vazquez24-Sep-01 10:08
Oscar Vazquez24-Sep-01 10:08 
GeneralRe: CString question Pin
RobJones25-Sep-01 10:11
RobJones25-Sep-01 10:11 
GeneralRe: CString question Pin
24-Sep-01 21:06
suss24-Sep-01 21:06 
GeneralFont for minimize and maximize buttons Pin
24-Sep-01 7:17
suss24-Sep-01 7:17 

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.