Обзор
Примеры
Скриншоты
Сравнения
Приложения
Загрузить
Руководства
Базар
Статус и История
Частые вопросы (FAQ)
Авторы и лицензия
Форум
Помощь проекту
Поиск по сайту
Язык
русский













SourceForge.net Logo



Эта страница еще не переведена. Вы хотите перевести?

 

Layout functions

 

 

template <class Lvoid InitLayout(Ctrl& ctrl, L& layout)

Assigns layout parameters to member Ctrl variables of layout, and adds them to the specified ctrl.

L

Class (or structure) with Ctrl variables. Ctrl variables must have public access.

ctrl

Parent Ctrl.

layout

L instance.

 


 

template <class Tvoid CtrlLayout(T& ctrl)

Assigns layout parameters to member variables. Required layout must be one of base classes of T.

T

Parent Ctrl type.

ctrl

Parent Ctrl.

 


 

template <class Tvoid CtrlLayout(T& ctrl, const char *title)

Calls CtrlLayout and then calls Title method of ctrl (assigning a caption text to the TopWindow).

T

Parent Ctrl type.

ctrl

Parent Ctrl.

title

Window title.

 


 

template <class Tvoid CtrlLayoutOK(T& ctrl, const char *title)

Calls CtrlLayout and then assigns Acceptor(IDOK) to the ok member Ctrl variable and makes it the default button (activated by Enter).

T

Parent Ctrl type.

ctrl

Parent Ctrl.

title

Window title.

 


 

template <class Tvoid CtrlLayoutCancel(T& ctrl, const char *title)

Calls CtrlLayout and then assigns Rejector(IDCANCEL) to the cancel member Ctrl variable and makes it the default cancel button (activated by Esc).

T

Parent Ctrl type.

ctrl

Parent Ctrl.

title

Window title.

 


 

template <class Tvoid CtrlLayoutOKCancel(T& ctrl, const char *title)

Calls CtrlLayoutOK and then assigns Rejector(IDCANCEL) to the cancel member Ctrl variable and makes it the default cancel button (activated by Esc).

T

Parent Ctrl type.

ctrl

Parent Ctrl.

title

Window title.

 


 

template <class Tvoid CtrlLayoutExit(T& ctrl, const char *title)

Calls CtrlLayoutOK and then assigns Acceptor(IDEXIT) to the exit member Ctrl variable and makes it the default button (activated by Enter).

T

Parent Ctrl type.

ctrl

Parent Ctrl.

title

Window title.

 

 

Страница доступна на english языке. Вы хотите внести вклад?