Announcement

Collapse
No announcement yet.

Check the Client's System Settings for Display Size

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Check the Client's System Settings for Display Size

    Is it possible to check the client's Windows system settings for desktop display size? My application requires the client's computer be set to Smaller (default) display size (96 DPI). I see how to check for installed RAM, screen resolution and color depth, but I don't see where to specify display size.
    Attached Files

  • #2
    It is possible to check the current DPI setting. You can use this as a starting point:
    Code:
    local nDPI = Registry.GetValue(HKEY_CURRENT_USER, "Control Panel\\Desktop", "LogPixels");
    if (nDPI == "") then
      nDPI = 96;
    end
    Ulrich

    Comment

    Working...
    X