sptk2 logo
SPTK Home Page

sptk::CDBDropDownList Class Reference
[GUI Classes]

Drop-down window with CListView widget inside. More...

#include <CDropDownBox.h>

Inheritance diagram for sptk::CDBDropDownList:

sptk::CPopupWindow sptk::CWindow sptk::CLayoutManager sptk::CWindowShape sptk::CLayoutClient

List of all members.

Public Member Functions

 CDBDropDownList (int w, int h, const char *label=0)
virtual void resize (int x, int y, int w, int h)
virtual bool preferredSize (int &w, int &h)

Public Attributes

CDBDropDownListViewlistView
 Modified list view widget.

Protected Member Functions

int handle (int)
 Special version of handle() function.

Friends

class CBaseListBox
class CDBDropDownListView


Detailed Description

Drop-down window with CListView widget inside.

Designed specifically for CComboBox.


Constructor & Destructor Documentation

sptk::CDBDropDownList::CDBDropDownList ( int  w,
int  h,
const char *  label = 0 
)

Constructor

Parameters:
w int, window width
h int, window height
label const char *, window caption


Member Function Documentation

virtual bool sptk::CDBDropDownList::preferredSize ( int &  w,
int &  h 
) [virtual]

Computes the preferred size of the popup window

Parameters:
w int&, input - width offered by the program, output - width required by widget
h int&, input - height offered by the program, output - height required by widget
Returns:
true if the size is stable (doesn't depend on input sizes)

Reimplemented from sptk::CWindow.

virtual void sptk::CDBDropDownList::resize ( int  x,
int  y,
int  w,
int  h 
) [virtual]

Resizes window and internal widgets

Parameters:
x int, x-position
y int, y-position
w int, width
h int, height

Reimplemented from sptk::CWindow.


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

Mon Mar 5 11:56:12 2012: SPTK 3.5.7