Click here to Skip to main content
15,912,756 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can I get Start menu anywhere on screen? Pin
Youknowme16-Sep-01 18:22
Youknowme16-Sep-01 18:22 
GeneralPropertypage SplitterWindow Pin
16-Sep-01 18:18
suss16-Sep-01 18:18 
GeneralPropertypage SplitterWindow Pin
vijayaramaraju16-Sep-01 18:18
vijayaramaraju16-Sep-01 18:18 
Generalabout CGdiObject assertion failed Pin
hj31216-Sep-01 17:51
hj31216-Sep-01 17:51 
GeneralRe: about CGdiObject assertion failed Pin
Tomasz Sowinski16-Sep-01 23:55
Tomasz Sowinski16-Sep-01 23:55 
Generala problem on playing metafile under win98 Pin
G.Richard16-Sep-01 16:02
G.Richard16-Sep-01 16:02 
GeneralRe: a problem on playing metafile under win98 Pin
Christian Graus16-Sep-01 16:05
protectorChristian Graus16-Sep-01 16:05 
QuestionCreate Device Context with arbitrary resolution? Pin
Bill Lear16-Sep-01 15:51
Bill Lear16-Sep-01 15:51 
Is it possible to create a memory device context with specific resolution and pixel depth (LOGPIXELSX, LOGPIXELSY, BITSPIXEL, et), rather than simply copying the values for an existing device?

I need to play windows meta files into a DC in order to generate bitmaps which will be saved as various raster file formats. The x and y resolution as well as the pixel depth of these files are not related to the resolution of the display or to any attached printer.

I am currently doing this by specifying ANISOTROPIC mapping mode, and setting the Window and Viewport Extents as required.

This works for some of the metafiles, but unfortunately, many of them explicitly set the mapping mode or extents internally. I have used EnumMetaFile to trap these commands, but it would be much easier (and faster) if I could simply create a device context with the correct parameters and just play the metafile.

Any help or tips would be greatly appreciated.

Thanks,

Bill
GeneralDrawing in CRichEditView Pin
16-Sep-01 12:55
suss16-Sep-01 12:55 
GeneralExporting & Importing to DLL file Pin
Robert Buldoc16-Sep-01 12:05
Robert Buldoc16-Sep-01 12:05 
GeneralRe: Exporting & Importing to DLL file Pin
Tomasz Sowinski17-Sep-01 0:12
Tomasz Sowinski17-Sep-01 0:12 
GeneralRe: Exporting & Importing to DLL file Pin
Oscar Vazquez17-Sep-01 9:06
Oscar Vazquez17-Sep-01 9:06 
Generalmaximize/restore buttons Pin
pmrainer16-Sep-01 9:42
pmrainer16-Sep-01 9:42 
GeneralRe: maximize/restore buttons Pin
Christian Graus16-Sep-01 12:18
protectorChristian Graus16-Sep-01 12:18 
GeneralRe: maximize/restore buttons Pin
Tomasz Sowinski17-Sep-01 0:23
Tomasz Sowinski17-Sep-01 0:23 
QuestionAccessing single Doc class from 2 different View classes? Pin
16-Sep-01 9:13
suss16-Sep-01 9:13 
AnswerRe: Accessing single Doc class from 2 different View classes? Pin
Tomasz Sowinski16-Sep-01 23:58
Tomasz Sowinski16-Sep-01 23:58 
GeneralBuffer Pin
16-Sep-01 8:20
suss16-Sep-01 8:20 
GeneralRe: Buffer Pin
Anders Molin16-Sep-01 9:02
professionalAnders Molin16-Sep-01 9:02 
GeneralRe: Buffer Pin
Tim Smith16-Sep-01 9:08
Tim Smith16-Sep-01 9:08 
GeneralAdvance UI in VC++ Pin
16-Sep-01 7:11
suss16-Sep-01 7:11 
GeneralRe: Advance UI in VC++ Pin
Michael P Butler17-Sep-01 2:16
Michael P Butler17-Sep-01 2:16 
Questionhow to deal with the LNK2001 error? Pin
Jeason Zhao16-Sep-01 5:47
Jeason Zhao16-Sep-01 5:47 
AnswerRe: how to deal with the LNK2001 error? Pin
Tim Smith16-Sep-01 7:51
Tim Smith16-Sep-01 7:51 
GeneralRe: how to deal with the LNK2001 error? Pin
Jeason Zhao16-Sep-01 15:59
Jeason Zhao16-Sep-01 15:59 

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.