Click here to Skip to main content
15,896,507 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Found it! Pin
Trollslayer6-Aug-05 23:25
mentorTrollslayer6-Aug-05 23:25 
GeneralOdd MessageBox Problem Pin
sir kaber6-Aug-05 13:43
sir kaber6-Aug-05 13:43 
GeneralRe: Odd MessageBox Problem Pin
sir kaber6-Aug-05 13:49
sir kaber6-Aug-05 13:49 
GeneralRe: Odd MessageBox Problem Pin
John R. Shaw7-Aug-05 0:22
John R. Shaw7-Aug-05 0:22 
GeneralRe: Odd MessageBox Problem Pin
sir kaber7-Aug-05 9:00
sir kaber7-Aug-05 9:00 
GeneralDialog problems with VC6.0 built under XP Pin
Haakon S.6-Aug-05 12:36
Haakon S.6-Aug-05 12:36 
GeneralRe: Dialog problems with VC6.0 built under XP Pin
John R. Shaw7-Aug-05 1:26
John R. Shaw7-Aug-05 1:26 
GeneralRe: Dialog problems with VC6.0 built under XP Pin
Haakon S.7-Aug-05 3:36
Haakon S.7-Aug-05 3:36 
Thanks for the reply!

I found the cause of the problem. It is as simple as DPI (pixels, or dots, per inch). In my program I have used SepMapMode(MM_TEXT). In the dialogs and CFormViews there will be a mix of this mode and DLU (dialog logical units). The former is dependent on the device, the latter is calculated from the font size, which is device independent. Now, that is something to be Blush | :O about. I should of course have used SetMapMode(HI_METRIC), or some such thing.

My new PC has default DPI=120. By changing this to 96 (designated Normal by Windows) my program works fine.

Regards, Haakon S.

A sure cure for seasickness is to sit under a tree.
Spike Milligan

GeneralRe: Dialog problems with VC6.0 built under XP Pin
Gary R. Wheeler7-Aug-05 3:32
Gary R. Wheeler7-Aug-05 3:32 
QuestionMAPI: How to read PR_MANAGER_NAME? Pin
Mark Findlay6-Aug-05 11:44
Mark Findlay6-Aug-05 11:44 
AnswerRe: MAPI: How to read PR_MANAGER_NAME? Pin
Jose Lamas Rios6-Aug-05 14:44
Jose Lamas Rios6-Aug-05 14:44 
GeneralRe: MAPI: How to read PR_MANAGER_NAME? Pin
Mark Findlay6-Aug-05 14:47
Mark Findlay6-Aug-05 14:47 
GeneralRe: MAPI: How to read PR_MANAGER_NAME? Pin
Jose Lamas Rios6-Aug-05 14:50
Jose Lamas Rios6-Aug-05 14:50 
GeneralRe: MAPI: How to read PR_MANAGER_NAME? Pin
ctbfalcon10-Jun-09 6:07
ctbfalcon10-Jun-09 6:07 
Generalctreectrl help Pin
picazo6-Aug-05 10:04
picazo6-Aug-05 10:04 
GeneralRe: ctreectrl help Pin
picazo6-Aug-05 10:06
picazo6-Aug-05 10:06 
GeneralRe: ctreectrl help Pin
Jörgen Sigvardsson6-Aug-05 12:50
Jörgen Sigvardsson6-Aug-05 12:50 
GeneralRe: ctreectrl help Pin
picazo6-Aug-05 14:00
picazo6-Aug-05 14:00 
QuestionVC++ 6 Std, VC++ Toolkit 2003 and ATL/WTL/MFC ? Pin
Defenestration6-Aug-05 8:03
Defenestration6-Aug-05 8:03 
General1GDI - drawing the sin( ) function Pin
yanivbd16-Aug-05 8:01
sussyanivbd16-Aug-05 8:01 
GeneralPut Controls into Taskbar Pin
Nautilus Master6-Aug-05 7:30
Nautilus Master6-Aug-05 7:30 
QuestionCLongBinary to CBitmap? Pin
Razi Al-Sayed6-Aug-05 7:06
Razi Al-Sayed6-Aug-05 7:06 
AnswerRe: CLongBinary to CBitmap? Pin
John R. Shaw7-Aug-05 2:02
John R. Shaw7-Aug-05 2:02 
QuestionDetecting other software interacting with my software? Pin
luddet6-Aug-05 4:33
luddet6-Aug-05 4:33 
AnswerRe: Detecting other software interacting with my software? Pin
John R. Shaw7-Aug-05 2:24
John R. Shaw7-Aug-05 2:24 

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.