ReactOS  0.4.15-dev-1150-g593bcce
commctrl.h File Reference
#include <psdk/commctrl.h>
Include dependency graph for commctrl.h:

Go to the source code of this file.

Classes

struct  NMTBINITCUSTOMIZE
 
struct  NMTBWRAPHOTITEM
 

Macros

#define DPA_GetPtr   DPA_GetPtr_wine_hack
 
#define FlatSB_SetScrollProp   FlatSB_SetScrollProp_wine_hack
 
#define DRAGLISTMSGSTRINGA   "commctrl_DragListMsg"
 
#define ListView_InsertItemA(hwnd, pitem)   (INT)SNDMSGA((hwnd),LVM_INSERTITEMA,0,(LPARAM)(const LVITEMA *)(pitem))
 
#define ListView_InsertItemW(hwnd, pitem)   (INT)SNDMSGW((hwnd),LVM_INSERTITEMW,0,(LPARAM)(const LVITEMW *)(pitem))
 
#define SNDMSGA   SendMessageA
 
#define SNDMSGW   SendMessageW
 
#define FLATSB_CLASSA   "flatsb_class32"
 
#define SB_SETBORDERS   (WM_USER+5)
 
#define LPNMLVDISPINFO   WINELIB_NAME_AW(LPNMLVDISPINFO)
 
#define TB_UNKWN45D   (WM_USER+93)
 
#define TB_UNKWN464   (WM_USER+100)
 
#define TreeView_GetItemA(hwnd, pitem)   (BOOL)SNDMSGA((hwnd), TVM_GETITEMA, 0, (LPARAM) (TVITEMA *)(pitem))
 
#define TreeView_InsertItemA(hwnd, phdi)
 
#define TreeView_SetItemA(hwnd, pitem)   (BOOL)SNDMSGA((hwnd), TVM_SETITEMA, 0, (LPARAM)(const TVITEMA *)(pitem))
 

Typedefs

typedef TBSAVEPARAMSWLPTBSAVEPARAMSW
 
typedef LVFINDINFOALPLVFINDINFOA
 
typedef LVFINDINFOWLPLVFINDINFOW
 

Functions

LPVOID WINAPI DPA_GetPtr (HDPA, INT)
 
BOOL WINAPI FlatSB_SetScrollProp (HWND, UINT, INT, BOOL)
 

Variables

static const WCHAR DRAGLISTMSGSTRINGW []
 
static const WCHAR FLATSB_CLASSW []
 

Macro Definition Documentation

◆ DPA_GetPtr

#define DPA_GetPtr   DPA_GetPtr_wine_hack

Definition at line 5 of file commctrl.h.

◆ DRAGLISTMSGSTRINGA

#define DRAGLISTMSGSTRINGA   "commctrl_DragListMsg"

Definition at line 20 of file commctrl.h.

◆ FLATSB_CLASSA

#define FLATSB_CLASSA   "flatsb_class32"

Definition at line 44 of file commctrl.h.

◆ FlatSB_SetScrollProp

#define FlatSB_SetScrollProp   FlatSB_SetScrollProp_wine_hack

Definition at line 6 of file commctrl.h.

◆ ListView_InsertItemA

#define ListView_InsertItemA (   hwnd,
  pitem 
)    (INT)SNDMSGA((hwnd),LVM_INSERTITEMA,0,(LPARAM)(const LVITEMA *)(pitem))

Definition at line 31 of file commctrl.h.

◆ ListView_InsertItemW

#define ListView_InsertItemW (   hwnd,
  pitem 
)    (INT)SNDMSGW((hwnd),LVM_INSERTITEMW,0,(LPARAM)(const LVITEMW *)(pitem))

Definition at line 33 of file commctrl.h.

◆ LPNMLVDISPINFO

#define LPNMLVDISPINFO   WINELIB_NAME_AW(LPNMLVDISPINFO)

Definition at line 77 of file commctrl.h.

◆ SB_SETBORDERS

#define SB_SETBORDERS   (WM_USER+5)

Definition at line 60 of file commctrl.h.

◆ SNDMSGA

#define SNDMSGA   SendMessageA

Definition at line 40 of file commctrl.h.

◆ SNDMSGW

#define SNDMSGW   SendMessageW

Definition at line 41 of file commctrl.h.

◆ TB_UNKWN45D

#define TB_UNKWN45D   (WM_USER+93)

Definition at line 80 of file commctrl.h.

◆ TB_UNKWN464

#define TB_UNKWN464   (WM_USER+100)

Definition at line 81 of file commctrl.h.

◆ TreeView_GetItemA

#define TreeView_GetItemA (   hwnd,
  pitem 
)    (BOOL)SNDMSGA((hwnd), TVM_GETITEMA, 0, (LPARAM) (TVITEMA *)(pitem))

Definition at line 83 of file commctrl.h.

◆ TreeView_InsertItemA

#define TreeView_InsertItemA (   hwnd,
  phdi 
)
Value:
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
struct _TREEITEM * HTREEITEM
Definition: commctrl.h:3260
LONG_PTR LPARAM
Definition: windef.h:208
#define SNDMSGA
Definition: commctrl.h:40
#define TVM_INSERTITEMA
Definition: commctrl.h:3403

Definition at line 86 of file commctrl.h.

◆ TreeView_SetItemA

#define TreeView_SetItemA (   hwnd,
  pitem 
)    (BOOL)SNDMSGA((hwnd), TVM_SETITEMA, 0, (LPARAM)(const TVITEMA *)(pitem))

Definition at line 90 of file commctrl.h.

Typedef Documentation

◆ LPLVFINDINFOA

Definition at line 57 of file commctrl.h.

◆ LPLVFINDINFOW

Definition at line 58 of file commctrl.h.

◆ LPTBSAVEPARAMSW

Definition at line 55 of file commctrl.h.

Function Documentation

◆ DPA_GetPtr()

LPVOID WINAPI DPA_GetPtr ( HDPA  ,
INT   
)

Definition at line 527 of file dpa.c.

528 {
529  TRACE("(%p %d)\n", hdpa, nIndex);
530 
531  if (!hdpa)
532  return NULL;
533  if (!hdpa->ptrs) {
534  WARN("no pointer array.\n");
535  return NULL;
536  }
537  if ((nIndex < 0) || (nIndex >= hdpa->nItemCount)) {
538  WARN("not enough pointers in array (%d vs %d).\n",nIndex,hdpa->nItemCount);
539  return NULL;
540  }
541 
542  TRACE("-- %p\n", hdpa->ptrs[nIndex]);
543 
544  return hdpa->ptrs[nIndex];
545 }
#define WARN(fmt,...)
Definition: debug.h:112
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4

Referenced by init_functions().

◆ FlatSB_SetScrollProp()

BOOL WINAPI FlatSB_SetScrollProp ( HWND  ,
UINT  ,
INT  ,
BOOL   
)

Definition at line 116 of file flatsb.c.

117 {
118  TRACE("[%p] index=%u newValue=%d flag=%d\n", hwnd, index, newValue, flag);
119  return FALSE;
120 }
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
#define FALSE
Definition: types.h:117
GLuint index
Definition: glext.h:6031
#define TRACE(s)
Definition: solgame.cpp:4
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean flag
Definition: glfuncs.h:52

Variable Documentation

◆ DRAGLISTMSGSTRINGW

const WCHAR DRAGLISTMSGSTRINGW[]
static
Initial value:
= { 'c','o','m','m','c','t','r','l',
'_','D','r','a','g','L','i','s','t','M','s','g',0 }

Definition at line 27 of file commctrl.h.

Referenced by MakeDragList().

◆ FLATSB_CLASSW

const WCHAR FLATSB_CLASSW[]
static
Initial value:
= { 'f','l','a','t','s','b','_',
'c','l','a','s','s','3','2',0 }

Definition at line 51 of file commctrl.h.

Referenced by FLATSB_Register(), and FLATSB_Unregister().