Public Member Functions

Button Struct Reference

This class constructs button controls. More...

#include <window.h>

Inheritance diagram for Button:
Inheritance graph
[legend]
Collaboration diagram for Button:
Collaboration graph
[legend]

List of all members.

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 571 of file window.h.


Constructor & Destructor Documentation

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 852 of file window.cpp.

 :  WindowHandle(CreateWindowEx(exStyle, TEXT("BUTTON"), title, flags, left, top, width, height,
                            parent, (HMENU)id, g_Globals._hInstance, 0))
{
}

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

ROS Explorer Source Code Documentation
generated on 02.01.2013 by doxygen

ROS Explorer Homepage