Click here to Skip to main content
15,916,951 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralControl Enabled or Not Pin
Imtiaz Murtaza1-Oct-04 0:10
Imtiaz Murtaza1-Oct-04 0:10 
GeneralRe: Control Enabled or Not Pin
Mike Beckerleg1-Oct-04 0:20
Mike Beckerleg1-Oct-04 0:20 
GeneralCatch 'kill interrupt' Pin
Abebe1-Oct-04 0:03
Abebe1-Oct-04 0:03 
GeneralPassing struct in a "INSERT INTO..." Statement Pin
filo6530-Sep-04 23:56
filo6530-Sep-04 23:56 
GeneralRe: Passing struct in a "INSERT INTO..." Statement Pin
4apai1-Oct-04 0:22
4apai1-Oct-04 0:22 
GeneralRe: Passing struct in a "INSERT INTO..." Statement Pin
Tim Smith1-Oct-04 3:52
Tim Smith1-Oct-04 3:52 
GeneralGDI problem Pin
pdtrung30-Sep-04 22:33
pdtrung30-Sep-04 22:33 
GeneralRe: GDI problem Pin
Iain Clarke, Warrior Programmer1-Oct-04 0:09
Iain Clarke, Warrior Programmer1-Oct-04 0:09 
MM_LOMETRIC Each logical unit is mapped to 0.1 millimeter. Positive x is to the right; positive y is up.

The definition is copied from MSDN. But the PC doesn't magically know how big a pixel is. It has to
go from the DPI set. So I suspect that the other PC has "big fonts", which changes dpi, or very
different resolution.

For example, my monitor at home is 1280 x 1024, and slightly longer than it is high. So X pixels
is pretty close to the same length in either direction. A square would come out square.
But my laptop is physically similar, but is 1400x1040. That square would come out rectangularly.

That is the probable reason. How to fix it is a little harder... You could get the user to set
the physical size of the screen. From there you can set a map mode which will allow you to draw
in "real" dimensions. Sounds easier than it is.

You may want to look at a ruler control from the miscellaneous controls on CP.

Iain.
GeneralGDI problem...:doh: Pin
pdtrung30-Sep-04 22:25
pdtrung30-Sep-04 22:25 
Generalmemory error Pin
Jayadev MV30-Sep-04 22:25
Jayadev MV30-Sep-04 22:25 
GeneralRe: memory error Pin
4apai30-Sep-04 23:22
4apai30-Sep-04 23:22 
GeneralLogging Pin
Jerome Conus30-Sep-04 22:24
Jerome Conus30-Sep-04 22:24 
GeneralRe: Logging Pin
4apai30-Sep-04 23:36
4apai30-Sep-04 23:36 
GeneralRe: Logging Pin
David Crow1-Oct-04 3:03
David Crow1-Oct-04 3:03 
GeneralRe: Logging Pin
Neville Franks1-Oct-04 12:19
Neville Franks1-Oct-04 12:19 
QuestionDialog? Pin
Larsson30-Sep-04 21:29
Larsson30-Sep-04 21:29 
AnswerRe: Dialog? Pin
jtorjo30-Sep-04 22:05
jtorjo30-Sep-04 22:05 
GeneralRe: Dialog? Pin
Larsson30-Sep-04 22:07
Larsson30-Sep-04 22:07 
GeneralRe: Dialog? Pin
BlackDice1-Oct-04 3:46
BlackDice1-Oct-04 3:46 
GeneralRe: Dialog? Pin
jtorjo4-Oct-04 22:31
jtorjo4-Oct-04 22:31 
GeneralCreateFile for reading/writing file Pin
Paolo Ponzano30-Sep-04 21:09
Paolo Ponzano30-Sep-04 21:09 
GeneralRe: CreateFile for reading/writing file Pin
4apai30-Sep-04 21:31
4apai30-Sep-04 21:31 
GeneralRe: CreateFile for reading/writing file Pin
Paolo Ponzano1-Oct-04 0:34
Paolo Ponzano1-Oct-04 0:34 
GeneralRe: CreateFile for reading/writing file Pin
4apai1-Oct-04 1:12
4apai1-Oct-04 1:12 
GeneralRe: CreateFile for reading/writing file Pin
Paolo Ponzano1-Oct-04 3:27
Paolo Ponzano1-Oct-04 3:27 

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.