Destroy the header font
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7220 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
75a41ba8d7
commit
0f2f08439d
3 changed files with 12 additions and 3 deletions
|
@ -380,12 +380,12 @@ struct ScopedThreadDpiAwarenessContext { // Note: Assumes InitializeDpiApi() has
|
|||
int m_AC; // Canonical "active" DPI_AWARENESS_CONTEXT
|
||||
};
|
||||
|
||||
int ShowWndSpy(HWND hOwner)
|
||||
INT_PTR ShowWndSpy(HWND hOwner)
|
||||
{
|
||||
InitializeDpiApi();
|
||||
ScopedThreadDpiAwarenessContext::List aclist;
|
||||
ScopedThreadDpiAwarenessContext stdac(aclist << DPI::ac_pm2 << DPI::ac_system);
|
||||
DIALOGDATA dd;
|
||||
dd.DialogAwarenessContext = stdac.GetCanonicalActiveAwarenessContext();
|
||||
return DialogBoxParam(GetModuleHandle(NULL), MAKEINTRESOURCE(DLG_WNDSPY), hOwner, SpyDlgProc, (LPARAM) &dd);
|
||||
return DialogBoxParam(HINST_APPLICATION, MAKEINTRESOURCE(DLG_WNDSPY), hOwner, SpyDlgProc, (LPARAM) &dd);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue