ReactOS  0.4.15-dev-2704-gd5265b0
StartMenuCtrl Struct Reference

#include <startmenu.h>

Inheritance diagram for StartMenuCtrl:
Collaboration diagram for StartMenuCtrl:

Public Member Functions

 StartMenuCtrl (HWND parent, int x, int y, int w, LPCTSTR title, UINT id, HICON hIcon=0, bool hasSubmenu=false, DWORD style=WS_VISIBLE|WS_CHILD|BS_OWNERDRAW, DWORD exStyle=0)
 
- Public Member Functions inherited from Button
 Button (HWND parent, LPCTSTR text, int left, int top, int width, int height, int id, DWORD flags=WS_VISIBLE|WS_CHILD|BS_PUSHBUTTON, DWORD exStyle=0)
 

Detailed Description

To create a Startmenu button control, construct a StartMenuCtrl object.

Definition at line 109 of file startmenu.h.

Constructor & Destructor Documentation

◆ StartMenuCtrl()

StartMenuCtrl::StartMenuCtrl ( HWND  parent,
int  x,
int  y,
int  w,
LPCTSTR  title,
UINT  id,
HICON  hIcon = 0,
bool  hasSubmenu = false,
DWORD  style = WS_VISIBLE|WS_CHILD|BS_OWNERDRAW,
DWORD  exStyle = 0 
)
inline

Definition at line 111 of file startmenu.h.

113  : Button(parent, title, x, y, w, STARTMENU_LINE_HEIGHT(icon_size), id, style, exStyle)
114  {
115  *new StartMenuButton(_hwnd, hIcon, hasSubmenu);
116 
118  }
GLubyte GLubyte GLubyte GLubyte w
Definition: glext.h:6102
#define GetStockFont(i)
Definition: windowsx.h:283
#define STARTMENU_LINE_HEIGHT(icon_size)
Definition: startmenu.h:34
#define SetWindowFont(hwnd, hfont, fRedraw)
Definition: windowsx.h:508
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
#define FALSE
Definition: types.h:117
r parent
Definition: btrfs.c:2944
#define DEFAULT_GUI_FONT
Definition: wingdi.h:908
Button(HWND parent, LPCTSTR text, int left, int top, int width, int height, int id, DWORD flags=WS_VISIBLE|WS_CHILD|BS_PUSHBUTTON, DWORD exStyle=0)
Definition: window.cpp:857
HICON hIcon
Definition: msconfig.c:44
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Arabic default style
Definition: afstyles.h:93
static char title[]
Definition: ps.c:92
iconPos iconPos icon_size
Definition: startmenu.cpp:1416

The documentation for this struct was generated from the following file: