Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow do i retrive %systemroot% path name? Pin
Member 40481317-Jun-03 18:14
Member 40481317-Jun-03 18:14 
AnswerRe: How do i retrive %systemroot% path name? Pin
Dave Bryant17-Jun-03 18:24
Dave Bryant17-Jun-03 18:24 
AnswerRe: How do i retrive %systemroot% path name? Pin
Member 40481317-Jun-03 18:59
Member 40481317-Jun-03 18:59 
Generalcursor X and Y position Pin
wickedclownz17-Jun-03 17:00
wickedclownz17-Jun-03 17:00 
GeneralRe: cursor X and Y position Pin
John M. Drescher17-Jun-03 17:45
John M. Drescher17-Jun-03 17:45 
GeneralWYSIWYG Drawing Pin
Anonymous17-Jun-03 16:55
Anonymous17-Jun-03 16:55 
GeneralRe: WYSIWYG Drawing Pin
basementman18-Jun-03 4:41
basementman18-Jun-03 4:41 
GeneralRe: WYSIWYG Drawing Pin
Larry J. Siddens18-Jun-03 8:56
Larry J. Siddens18-Jun-03 8:56 
How does the WindowExt & ViewportExt work? I know they have no effect on map modes like MM_LOENGLIDS/MM_HIENGLISH/MM_LOMETRIC/MM_HIMETRIC/MM_TWIPS/MM_TEXT. It only has an effect if you are using MM_ISOTROPIC and MM_ANISOTROPIC. By using these you can create a one-to-one relations ship with other units?

Like: The screen is usally 96dpi and I have a device that is 200dpi. I create a bitmap in 200dpi (lengthXwidth), then use these to create a conversion from the 96 -> 200?

Examle:

pDC->SetMapMode( MM_ISOTROPIC );
pDC->SetWindowExt( 96 * 8.5, 96 * 11 ); // or 120 if using large fonts
pDC->SetViewportExt( 200*8.5, 200*11 );

Rect( 96, 96, 192, 192 );
pDC->Rectangle( &Rect )

Would this create a 1" x 1" on the new bitmap?

Thanks
Larry
GeneralSources files back up Pin
Gagnon Claude17-Jun-03 16:46
Gagnon Claude17-Jun-03 16:46 
GeneralRe: Sources files back up Pin
John M. Drescher17-Jun-03 16:59
John M. Drescher17-Jun-03 16:59 
GeneralRe: Sources files back up Pin
basementman18-Jun-03 4:43
basementman18-Jun-03 4:43 
Generalfix formview Pin
sdfdsfa17-Jun-03 16:16
sdfdsfa17-Jun-03 16:16 
Generalwhat's the name of the control Pin
gucy17-Jun-03 15:10
gucy17-Jun-03 15:10 
QuestionHow to change size of a control dynamically Pin
chito17-Jun-03 15:04
chito17-Jun-03 15:04 
GeneralCRichEditCtrl and SetOptions Pin
Vancouver17-Jun-03 13:43
Vancouver17-Jun-03 13:43 
GeneralRe: CRichEditCtrl and SetOptions Pin
jfu28-Jan-13 17:56
jfu28-Jan-13 17:56 
GeneralRe: CRichEditCtrl and SetOptions Pin
jfu28-Jan-13 22:34
jfu28-Jan-13 22:34 
GeneralWindows Installer Pin
paulb17-Jun-03 13:19
paulb17-Jun-03 13:19 
GeneralYour thoughts on this singleton implementation Pin
Anonymous17-Jun-03 10:59
Anonymous17-Jun-03 10:59 
GeneralRe: Your thoughts on this singleton implementation Pin
AlexO18-Jun-03 3:31
AlexO18-Jun-03 3:31 
GeneralRe: Your thoughts on this singleton implementation Pin
Anonymous18-Jun-03 3:56
Anonymous18-Jun-03 3:56 
GeneralRe: Your thoughts on this singleton implementation Pin
AlexO18-Jun-03 4:13
AlexO18-Jun-03 4:13 
GeneralSetting a radio button as the default choice Pin
Jay Hova17-Jun-03 9:41
Jay Hova17-Jun-03 9:41 
GeneralRe: Setting a radio button as the default choice Pin
valikac17-Jun-03 10:02
valikac17-Jun-03 10:02 
GeneralRe: Setting a radio button as the default choice Pin
David Crow17-Jun-03 10:51
David Crow17-Jun-03 10:51 

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.