Click here to Skip to main content
15,921,959 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: calling int 21h from a __asm block of code Pin
Gary R. Wheeler8-Aug-05 12:56
Gary R. Wheeler8-Aug-05 12:56 
GeneralFailing Debug Assertion in DoModal() Pin
gremlinimp6-Aug-05 19:20
gremlinimp6-Aug-05 19:20 
GeneralRe: Failing Debug Assertion in DoModal() Pin
Jose Lamas Rios6-Aug-05 20:23
Jose Lamas Rios6-Aug-05 20:23 
GeneralRe: Failing Debug Assertion in DoModal() Pin
gremlinimp6-Aug-05 20:47
gremlinimp6-Aug-05 20:47 
GeneralRe: Failing Debug Assertion in DoModal() Pin
gremlinimp6-Aug-05 20:49
gremlinimp6-Aug-05 20:49 
GeneralLarge Array Implementing Pin
Majid Shahabfar6-Aug-05 19:07
Majid Shahabfar6-Aug-05 19:07 
GeneralRe: Large Array Implementing Pin
John R. Shaw6-Aug-05 22:09
John R. Shaw6-Aug-05 22:09 
GeneralClistControl giving exceptions Pin
Aditya Rao6-Aug-05 17:38
Aditya Rao6-Aug-05 17:38 
GeneralRe: ClistControl giving exceptions Pin
Tim Smith6-Aug-05 18:07
Tim Smith6-Aug-05 18:07 
QuestionMultislider control? Pin
Ravi Bhavnani6-Aug-05 14:00
professionalRavi Bhavnani6-Aug-05 14:00 
AnswerFound it! Pin
Ravi Bhavnani6-Aug-05 14:39
professionalRavi Bhavnani6-Aug-05 14:39 
GeneralRe: Found it! Pin
Steve Mayfield6-Aug-05 18:26
Steve Mayfield6-Aug-05 18:26 
GeneralRe: Found it! Pin
Ravi Bhavnani6-Aug-05 18:29
professionalRavi Bhavnani6-Aug-05 18:29 
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 

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.