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

65 lines
2.2 KiB
Plaintext

compile insert msWin_GetGUIThreadInfo_Equates
/*
** Copyright (C) 2012-2021 Revelation Software Inc. All Rights Reserved **
Author Mr C
Date October 2021
Purpose Equates for use with the GetGUIThreadInfo function.
Amended Date Reason
======= ==== ======
*/
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
#ifndef _MSWIN_GETGUITHREADINFO_EQUATES_
#define _MSWIN_GETGUITHREADINFO_EQUATES_
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
// GUITHREADINFO Structure equates - this structure is defined in the
// Windows API as:
//
// typedef struct tagGUITHREADINFO
// {
// DWORD cbSize;
// DWORD flags;
// HWND hwndActive;
// HWND hwndFocus;
// HWND hwndCapture;
// HWND hwndMenuOwner;
// HWND hwndMoveSize;
// HWND hwndCaret;
// RECT rcCaret;
// } GUITHREADINFO, *PGUITHREADINFO, FAR * LPGUITHREADINFO;
equ GTI_POS_CBSIZE$ to 1
equ GTI_POS_FLAGS$ to 2
equ GTI_POS_HWNDACTIVE$ to 3
equ GTI_POS_HWNDFOCUS$ to 4
equ GTI_POS_HWNDCAPTURE$ to 5
equ GTI_POS_HWNDMENUOWNER$ to 6
equ GTI_POS_HWNDMOVESIZE$ to 7
equ GTI_POS_HWNDCARET$ to 8
equ GTI_POS_RCCARET$ to 9
////////////////////////////////////////////////////////////////////////////////
// flags bitmask values
equ GUI_CARETBLINKING$ to 0x00000001
equ GUI_INMOVESIZE$ to 0x00000002
equ GUI_INMENUMODE$ to 0x00000004
equ GUI_SYSTEMMENUMODE$ to 0x00000008
equ GUI_POPUPMENUMODE$ to 0x00000010
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
#endif
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////