Click here to Skip to main content
15,927,345 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Help Using CMemDC and its derivatives... Pin
Tim Deveaux24-Sep-01 9:43
Tim Deveaux24-Sep-01 9:43 
If you could get the dialog to use a window class that you register yourself that had the CS_OWNDC style bit set, you could move the CDC::CreateCompatibleDC stuff out of OnPaint. In a standard MFC dialog based app, DoModal uses CreateDialogIndirect to create the dialog - if you override DoModal and get it to use a DLGTEMPLATEEX structure I think you could supply your own window class.

I use this CS_OWNDC trick in my Gribble2 article, but haven't tried it for a dialog.
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 
GeneralRe: Font for minimize and maximize buttons Pin
Tomasz Sowinski24-Sep-01 7:34
Tomasz Sowinski24-Sep-01 7:34 

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.