'Windwos 使用者專面設定之路徑是在 "HKEY_CURRENT_CONFIG\Display\Settings"
'桌面解析度的 Key Name = "Resolution"
'SmallFont 及 LargeFont 記錄的 KeyName = "DPILogicalX" And "DPILogicalY"
你可以用 RegQueryValueEx 這個 API 去取得其值。
polaris 撰寫於文章 <78m8dh$p0o$1@news.seed.net.tw>...
當我系統以Large Font設計一個dialog,
當我改為Small Font時,dialog卻縮小,
如何解決這個問題!
又Win32 API有可以取得Large Font or
Small Font 的dpi值嗎!?