Click here to Skip to main content
15,914,221 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCEdit and DblClick Pin
olivierjoly28-Aug-03 1:20
olivierjoly28-Aug-03 1:20 
GeneralRe: CEdit and DblClick Pin
valikac28-Aug-03 6:16
valikac28-Aug-03 6:16 
GeneralRe: CEdit and DblClick Pin
Steve S28-Aug-03 7:20
Steve S28-Aug-03 7:20 
GeneralAutomatic file name and version in VStudio 6 Pin
Jerome Conus28-Aug-03 0:57
Jerome Conus28-Aug-03 0:57 
GeneralRe: Automatic file name and version in VStudio 6 Pin
Steve S28-Aug-03 1:39
Steve S28-Aug-03 1:39 
QuestionHow to get monitor DPI? Pin
Anthony_Yio28-Aug-03 0:22
Anthony_Yio28-Aug-03 0:22 
AnswerRe: How to get monitor DPI? Pin
CodeBrain28-Aug-03 0:50
CodeBrain28-Aug-03 0:50 
GeneralRe: How to get monitor DPI? Pin
Anthony_Yio28-Aug-03 15:22
Anthony_Yio28-Aug-03 15:22 
thank you.

I had tested the API before. This will only return the DPI used by windows to display the font for example the menu fonts, shortcuts and etc. There are ony 120 or 96 as options.

My intention is to get the DPI use by the window to display all the items in the windows. All the elements on the screen.

For instance. This is extracted from www.shortcourses.com

Monitor size
Resolution 14" 15"
640x480 60 DPI 57 DPI
800x600 74 DPI 71 DPI
1024x768 95 DPI 91 DPI


Anyway, suppose I am able to get the resolution. How should I get the monitor size by API?

thanks


Sonork 100.41263:Anthony_Yio
GeneralRe: How to get monitor DPI? Pin
CodeBrain29-Aug-03 1:37
CodeBrain29-Aug-03 1:37 
GeneralRe: How to get monitor DPI? Pin
Anthony_Yio1-Sep-03 16:14
Anthony_Yio1-Sep-03 16:14 
GeneralRegistry Pin
Anonymous28-Aug-03 0:08
Anonymous28-Aug-03 0:08 
GeneralRe: Registry Pin
David Crow28-Aug-03 2:37
David Crow28-Aug-03 2:37 
GeneralRe: Registry Pin
Alexander M.,28-Aug-03 3:49
Alexander M.,28-Aug-03 3:49 
GeneralRe: Registry Pin
pranavamhari28-Aug-03 6:27
pranavamhari28-Aug-03 6:27 
QuestionIsBadReadPtr? Pin
Dominik Reichl27-Aug-03 23:55
Dominik Reichl27-Aug-03 23:55 
AnswerRe: IsBadReadPtr? Pin
Anders Molin27-Aug-03 23:56
professionalAnders Molin27-Aug-03 23:56 
GeneralRe: IsBadReadPtr? Pin
Dominik Reichl28-Aug-03 0:33
Dominik Reichl28-Aug-03 0:33 
GeneralRe: IsBadReadPtr? Pin
Anders Molin28-Aug-03 1:04
professionalAnders Molin28-Aug-03 1:04 
GeneralRe: IsBadReadPtr? Pin
Dominik Reichl28-Aug-03 1:08
Dominik Reichl28-Aug-03 1:08 
QuestionHow to set focus on ActiveX control in CMDIChildWnd ? Pin
vipsy27-Aug-03 23:46
vipsy27-Aug-03 23:46 
GeneralBrowse Dlg Box Help !!!!!!!!!!!!!!!! Pin
27-Aug-03 23:44
suss27-Aug-03 23:44 
QuestionHow to chanhe clipping position of WindowLess ActiveX ? Pin
vgrigor27-Aug-03 22:47
vgrigor27-Aug-03 22:47 
GeneralEasy question Pin
Scozturk27-Aug-03 22:35
professionalScozturk27-Aug-03 22:35 
GeneralRe: Easy question Pin
Steve S27-Aug-03 22:38
Steve S27-Aug-03 22:38 
GeneralRe: Easy question Pin
Scozturk27-Aug-03 22:44
professionalScozturk27-Aug-03 22:44 

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.