open-insight/SYSPROG/STPROCINS/MSWIN_WINDOWPLACEMENT_EQUATES.txt
2024-03-25 15:17:34 -07:00

41 lines
1.4 KiB
Plaintext

compile insert msWin_WindowPlacement_Equates
/*
** Copyright (C) 2012-2022 Revelation Software Inc. All Rights Reserved **
Author Captain C
Date October 2012
Purpose Equates for use with the GetWindowPlacement and SetWindowPlacement
Windows API functions
Comments
========
Calling GetWindowPlacement and SetWindowPlacement shouidl be avoided in
v10 as they are not DPI aware. The GETPLACEMENTDATA and SETPLACEMENTDATA
WINDOW methods should be used instead.
Amended Date Reason
======= ==== ======
*/
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#ifndef _MSWIN_WINDOWPLACEMENT_EQUATES_
#define _MSWIN_WINDOWPLACEMENT_EQUATES_
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// WINDOWPLACEMENT structure equates for the "flags" member.
equ WPF_SETMINPOSITION$ to 0x0001
equ WPF_RESTORETOMAXIMIZED$ to 0x0002
equ WPF_ASYNCWINDOWPLACEMENT$ to 0x0004
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#endif