ReactOS  0.4.15-dev-344-g6808e40
Button Struct Reference

#include <window.h>

Inheritance diagram for Button:
Collaboration diagram for Button:

Public Member Functions

 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

This class constructs button controls. The button will remain existent when the C++ Button object is destroyed. There is no conjunction between C++ object and windows control life time.

Definition at line 572 of file window.h.

Constructor & Destructor Documentation

◆ Button()

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 
)

Definition at line 857 of file window.cpp.

859  : WindowHandle(CreateWindowEx(exStyle, TEXT("BUTTON"), title, flags, left, top, width, height,
860  parent, (HMENU)id, g_Globals._hInstance, 0))
861 {
862 }
GLint GLint GLsizei width
Definition: gl.h:1546
#define CreateWindowEx
Definition: winuser.h:5730
r parent
Definition: btrfs.c:2944
GLint left
Definition: glext.h:7726
GLbitfield flags
Definition: glext.h:7161
HINSTANCE _hInstance
Definition: globals.h:270
ExplorerGlobals g_Globals
Definition: explorer.cpp:52
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
#define TEXT(s)
Definition: k32.h:26
GLdouble GLdouble GLdouble GLdouble top
Definition: glext.h:10859
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
Definition: ordinal.c:60
static char title[]
Definition: ps.c:92

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