change a window's dpi awareness after creation

Discussion in 'Advanced Programming Discussion' started by Tthecreator, Aug 31, 2017.

  1. Tthecreator

    Tthecreator Your Creator!

    Joined:
    Jun 20, 2016
    Posts:
    714
    I'm working on a dll for game maker and I'm running into some issues.
    I seems I can't change the dpi settings on an already created window.
    Is this true or is there some workaround?

    I've been using SetProcessDpiAwareness and SetThreadDpiAwarenessContext.
    I was using c# but I don't mind switching to c++ if needed.

    Thanks in advance.
     
  2. FrostyCat

    FrostyCat Member

    Joined:
    Jun 26, 2016
    Posts:
    3,695
    Given MSDN's description of these calls, it certainly looks like that's the case.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice