Click here to Skip to main content
15,910,083 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: MSVC6 performance tips? Pin
Tomasz Sowinski7-Nov-01 1:34
Tomasz Sowinski7-Nov-01 1:34 
GeneralRe: MSVC6 performance tips? Pin
Rob Caldecott7-Nov-01 2:00
Rob Caldecott7-Nov-01 2:00 
GeneralRe: MSVC6 performance tips? Pin
Tomasz Sowinski7-Nov-01 2:19
Tomasz Sowinski7-Nov-01 2:19 
GeneralRe: MSVC6 performance tips? Pin
Rob Caldecott7-Nov-01 2:24
Rob Caldecott7-Nov-01 2:24 
GeneralRe: MSVC6 performance tips? Pin
Tomasz Sowinski7-Nov-01 3:00
Tomasz Sowinski7-Nov-01 3:00 
AnswerRe: MSVC6 performance tips? Pin
Philippe Mori7-Nov-01 3:32
Philippe Mori7-Nov-01 3:32 
QuestionChallenge: How do you determine the physical dimensions of your pixels/monitor? Pin
Tommy H D Svensson7-Nov-01 1:09
Tommy H D Svensson7-Nov-01 1:09 
AnswerRe: Challenge: How do you determine the physical dimensions of your pixels/monitor? Pin
Tomasz Sowinski7-Nov-01 1:19
Tomasz Sowinski7-Nov-01 1:19 
I don't think you can get 'real' sizes. The way to calculate pixel ratio and draw rulers with inches/centimeters is to use GetDeviceCaps with LOGPIXELSX/LOGPIXELSY.

I know there's information to retrieve using GetDeviceCaps but they are for some strange reason fix values. They don't change!!! Why is that?

Probably it's because video driver doesn't care if monitor has 15 or 49 inches Big Grin | :-D And imagine a CRT projector connected to your graphics card which displays an image on the wall. In this case, these values would depend on the distance between the device and the wall Wink | ;) Your machine would have to be equipped with some sonar system. Smile | :)

Tomasz Sowinski -- http://www.shooltz.com
GeneralRe: Challenge: How do you determine the physical dimensions of your pixels/monitor? Pin
Tommy H D Svensson8-Nov-01 22:50
Tommy H D Svensson8-Nov-01 22:50 
GeneralRe: Challenge: How do you determine the physical dimensions of your pixels/monitor? Pin
Tomasz Sowinski8-Nov-01 23:03
Tomasz Sowinski8-Nov-01 23:03 
AnswerRe: Challenge: How do you determine the physical dimensions of your pixels/monitor? Pin
#realJSOP7-Nov-01 1:19
professional#realJSOP7-Nov-01 1:19 
AnswerRe: Challenge: How do you determine the physical dimensions of your pixels/monitor? Pin
#realJSOP7-Nov-01 1:29
professional#realJSOP7-Nov-01 1:29 
GeneralRe: Challenge: How do you determine the physical dimensions of your pixels/monitor? #TS Pin
Tommy H D Svensson12-Nov-01 23:11
Tommy H D Svensson12-Nov-01 23:11 
GeneralSending keystrokes to another window Pin
7-Nov-01 0:54
suss7-Nov-01 0:54 
GeneralRe: Sending keystrokes to another window Pin
Mukkie7-Nov-01 8:15
Mukkie7-Nov-01 8:15 
GeneralRe: Sending keystrokes to another window Pin
19-Nov-01 20:21
suss19-Nov-01 20:21 
GeneralWebBrowser.GetBusy() method Pin
Cbanwell7-Nov-01 0:00
Cbanwell7-Nov-01 0:00 
GeneralRe: WebBrowser.GetBusy() method Pin
Alvaro Mendez7-Nov-01 10:53
Alvaro Mendez7-Nov-01 10:53 
GeneralSOCKS5 Client Pin
James Spibey6-Nov-01 23:50
James Spibey6-Nov-01 23:50 
GeneralDelete a file on startup Pin
Peter Liddle6-Nov-01 23:05
Peter Liddle6-Nov-01 23:05 
GeneralRe: Delete a file on startup Pin
Michael Dunn6-Nov-01 23:13
sitebuilderMichael Dunn6-Nov-01 23:13 
Generalpositionning a MessageBox Pin
ZAZA6-Nov-01 22:15
ZAZA6-Nov-01 22:15 
GeneralRe: positionning a MessageBox Pin
Tomasz Sowinski7-Nov-01 0:51
Tomasz Sowinski7-Nov-01 0:51 
GeneralRe: positionning a MessageBox Pin
Nish Nishant7-Nov-01 0:54
sitebuilderNish Nishant7-Nov-01 0:54 
GeneralRe: positionning a MessageBox Pin
Nish Nishant7-Nov-01 0:52
sitebuilderNish Nishant7-Nov-01 0:52 

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.