commctrl.h revision b955672b950093ff7416d1269dd4d3b69983bd8f
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * Common controls definitions
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * Copyright (C) the Wine project
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * This library is free software; you can redistribute it and/or
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * modify it under the terms of the GNU Lesser General Public
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * License as published by the Free Software Foundation; either
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * version 2.1 of the License, or (at your option) any later version.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * This library is distributed in the hope that it will be useful,
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * Lesser General Public License for more details.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * You should have received a copy of the GNU Lesser General Public
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * License along with this library; if not, write to the Free Software
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * other than GPL or LGPL is available it will apply instead, Sun elects to use only
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * a choice of LGPL license versions is made available with the language indicating
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * of the LGPL is applied is otherwise unspecified.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncextern "C" {
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncBOOL WINAPI ShowHideMenuCtl (HWND, UINT_PTR, LPINT);
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncVOID WINAPI GetEffectiveClientRect (HWND, LPRECT, const INT*);
typedef struct tagINITCOMMONCONTROLSEX {
#ifndef _WIN32_IE
#define NM_FIRST (0U- 0U)
typedef struct tagNMTOOLTIPSCREATED
typedef struct tagNMMOUSE
typedef struct tagNMOBJECTNOTIFY
int iItem;
#ifdef __IID_DEFINED__
const void *piid;
void *pObject;
typedef struct tagNMKEY
typedef struct tagNMCHAR
#ifndef CCSIZEOF_STRUCT
#ifndef SNDMSG
#ifdef __cplusplus
#ifdef __cplusplus
typedef struct tagNMCUSTOMDRAWINFO
typedef struct tagNMTTCUSTOMDRAW
#if defined(__GNUC__)
typedef struct tagCOLORSCHEME
typedef struct tagDRAGLISTINFO
#define DL_CURSORSET 0
#if defined(__GNUC__)
#if defined(__GNUC__)
typedef struct _UDACCEL
typedef struct tagNM_UPDOWN
int iPos;
int iDelta;
#if defined(__GNUC__)
struct _IMAGELIST;
typedef struct _IMAGEINFO
typedef struct _IMAGELISTDRAWPARAMS
INT i;
INT x;
INT y;
#ifndef WM_MOUSEHOVER
#ifndef TME_HOVER
typedef struct tagTRACKMOUSEEVENT {
#if defined(__GNUC__)
#define FSB_REGULAR_MODE 0
#if defined(__GNUC__)
typedef struct _HD_LAYOUT
typedef struct _HD_ITEMA
typedef struct _HD_ITEMW
typedef struct _HD_TEXTFILTERA
typedef struct _HD_TEXTFILTERW
typedef struct _HD_HITTESTINFO
typedef struct tagNMHEADERA
typedef struct tagNMHEADERW
typedef struct tagNMHDDISPINFOA
typedef struct tagNMHDDISPINFOW
typedef struct tagNMHDFILTERBTNCLICK
#if defined(__GNUC__)
typedef struct tagNMBCHOTITEM
#if defined(__GNUC__)
#define TBDDRET_DEFAULT 0
typedef struct _NMTBCUSTOMDRAW
int nStringBkMode;
int nHLStringBkMode;
int iListGap;
typedef struct _OLDTBBUTTON {
typedef struct _TBBUTTON {
#ifdef _WIN64
typedef struct _COLORMAP {
typedef struct tagTBADDBITMAP {
#define IDB_STD_SMALL_COLOR 0
#define STD_CUT 0
#define VIEW_LARGEICONS 0
#define HIST_BACK 0
typedef struct tagTBSAVEPARAMSA {
typedef struct tagTBSAVEPARAMSW {
typedef struct tagNMTBHOTITEM
int idOld;
int idNew;
typedef struct tagNMTBGETINFOTIPA
typedef struct tagNMTBGETINFOTIPW
int idCommand;
int iImage;
int cchText;
int idCommand;
int iImage;
int cchText;
typedef struct tagNMTOOLBARA
typedef struct tagNMTOOLBARW
int iButton;
typedef struct tagNMTBSAVE
int iItem;
int cButtons;
typedef struct tagNMTBRESTORE
int iItem;
int cButtons;
int cbBytesPerRecord;
#if defined(__GNUC__)
#define TTDT_AUTOMATIC 0
#define TTI_NONE 0
typedef struct tagTOOLINFOA {
void *lpReserved;
typedef struct tagTOOLINFOW {
void *lpReserved;
typedef struct _TT_HITTESTINFOA
typedef struct _TT_HITTESTINFOW
typedef struct tagNMTTDISPINFOA
typedef struct tagNMTTDISPINFOW
typedef struct _TTGETTITLE
#if defined(__GNUC__)
typedef struct tagREBARINFO
typedef struct tagREBARBANDINFOA
typedef struct tagREBARBANDINFOW
typedef struct tagNMREBARCHILDSIZE
typedef struct tagNMREBAR
typedef struct tagNMRBAUTOSIZE
typedef struct tagNMREBARCHEVRON
typedef struct _RB_HITTESTINFO
typedef struct tagNMREBARAUTOBREAK
#if defined(__GNUC__)
#define TBTS_TOP 0
#define TB_LINEUP 0
#if defined(__GNUC__)
#define PGF_INVISIBLE 0
#define PGB_TOPORLEFT 0
#include <pshpack1.h>
#include <poppack.h>
#if defined(__GNUC__)
#define TVSIL_NORMAL 0
#define TVGN_ROOT 0
typedef struct tagTVINSERTSTRUCTA {
typedef struct tagTVINSERTSTRUCTW {
typedef struct tagNMTREEVIEWA {
typedef struct tagNMTREEVIEWW {
typedef struct tagTVDISPINFOA {
typedef struct tagTVDISPINFOW {
typedef struct tagTVSORTCB
typedef struct tagTVHITTESTINFO {
typedef struct tagNMTVCUSTOMDRAW
typedef struct tagNMTVGETINFOTIPA
typedef struct tagNMTVGETINFOTIPW
#include <pshpack1.h>
typedef struct tagTVKEYDOWN
#include <poppack.h>
#if defined(__GNUC__)
#define LVSIL_NORMAL 0
typedef struct tagLVITEMA
typedef struct tagLVITEMW
typedef struct LVSETINFOTIP
int iItem;
int iSubItem;
typedef struct tagLVBKIMAGEA
int xOffsetPercent;
int yOffsetPercent;
typedef struct tagLVBKIMAGEW
int xOffsetPercent;
int yOffsetPercent;
typedef struct tagLVCOLUMNA
typedef struct tagLVCOLUMNW
typedef struct tagNMLISTVIEW
typedef struct tagNMITEMACTIVATE
int iItem;
int iSubItem;
typedef struct tagLVDISPINFO
typedef struct tagLVDISPINFOW
#include <pshpack1.h>
typedef struct tagLVKEYDOWN
#include <poppack.h>
typedef struct tagNMLVGETINFOTIPA
int cchTextMax;
int iItem;
int iSubItem;
typedef struct tagNMLVGETINFOTIPW
int cchTextMax;
int iItem;
int iSubItem;
typedef struct tagLVHITTESTINFO
typedef struct tagLVFINDINFOA
typedef struct tagLVFINDINFOW
typedef struct LVGROUP
int cchHeader;
int cchFooter;
int iGroupId;
typedef struct LVGROUPMETRICS
typedef struct LVINSERTGROUPSORTED
typedef struct LVTILEINFO
int iItem;
typedef struct LVTILEVIEWINFO
int cLines;
typedef struct LVINSERTMARK
int iItem;
typedef struct tagTCHITTESTINFO
typedef struct tagNMLVCUSTOMDRAW
typedef struct tagNMLVCACHEHINT
typedef struct tagNMLVFINDITEMA
int iStart;
typedef struct tagNMLVFINDITEMW
int iStart;
typedef struct tagNMLVODSTATECHANGE
int iFrom;
int iTo;
typedef struct NMLVSCROLL
int dx;
int dy;
{ POINT ptNewPos; ptNewPos.x = (x1); ptNewPos.y = (y1); SNDMSGA((hwnd), LVM_SETITEMPOSITION32, (WPARAM)(int)(n), (LPARAM)&ptNewPos); }
(int)SNDMSG((hwnd), LVM_INSERTMARKHITTEST, (WPARAM)(LPPOINT)(point), (LPARAM)(LPLVINSERTMARK)(lvim))
#if defined(__GNUC__)
typedef struct tagTCITEMHEADERA
int cchTextMax;
int iImage;
typedef struct tagTCITEMHEADERW
int cchTextMax;
int iImage;
typedef struct tagTCITEMA
typedef struct tagTCITEMW
#include <pshpack1.h>
typedef struct tagTCKEYDOWN
} NMTCKEYDOWN;
#include <poppack.h>
#if defined(__GNUC__)
typedef struct tagCOMBOBOXEXITEMA
int iItem;
int cchTextMax;
int iImage;
int iSelectedImage;
int iOverlay;
int iIndent;
typedef struct tagCOMBOBOXEXITEMW
int iItem;
int cchTextMax;
int iImage;
int iSelectedImage;
int iOverlay;
int iIndent;
typedef struct tagNMCBEENDEDITW
int iNewSelection;
int iWhy;
typedef struct tagNMCBEENDEDITA
int iNewSelection;
int iWhy;
int iItemid;
int iItemid;
#if defined(__GNUC__)
#if defined(__GNUC__)
#if defined(__GNUC__)
typedef struct tagNMIPADDRESS
#if defined(__GNUC__)
#if defined(__GNUC__)
#define MCSC_BACKGROUND 0
#define GMR_VISIBLE 0
typedef struct tagNMSELCHANGE
typedef struct tagNMDAYSTATE
int cDayState;
#if defined(__GNUC__)
typedef struct tagNMDATETIMECHANGE
typedef struct tagNMDATETIMESTRINGA
typedef struct tagNMDATETIMESTRINGW
typedef struct tagNMDATETIMEWMKEYDOWNA
int nVirtKey;
typedef struct tagNMDATETIMEWMKEYDOWNW
int nVirtKey;
typedef struct tagNMDATETIMEFORMATA
typedef struct tagNMDATETIMEFORMATW
typedef struct tagNMDATETIMEFORMATQUERYA
typedef struct tagNMDATETIMEFORMATQUERYW
#define GDT_VALID 0
struct _DSA;
struct _DPA;
#if defined(__GNUC__)
typedef struct tagLITEM
int iLink;
typedef struct tagLHITTESTINFO
typedef struct tagNMLINK
typedef struct tagNMLVLINK
int iItem;
int iSubItem;
#if defined(__GNUC__)
#if defined(__GNUC__)
#if defined(__GNUC__)
#if defined(__GNUC__)
#if defined(__GNUC__)
#ifdef __cplusplus