#include <ndk++.h>
Inheritance diagram for NDK_XX::MessageBox:
Public Methods | |
MessageBox (const string &title, const string &message, int style=info) | |
Protected Methods | |
void | on_dlg_init () |
We redefine here so we get called on construction. | |
void | show_message () |
Protected Attributes | |
string | msg |
Prompt the user. |
|
Definition at line 2567 of file ndk++.cc. Referenced by NDK_XX::DialogBox::on_dlg_term().
|
|
We redefine here so we get called on construction.
Reimplemented from NDK_XX::DialogBox. Definition at line 2574 of file ndk++.cc. References NDK_XX::DialogBox::create_buttons(), NDK_XX::Control::framed, NDK_XX::DialogBox::pBtnCancel, NDK_XX::DialogBox::pBtnNo, NDK_XX::DialogBox::set_focus_to(), NDK_XX::Control::set_style(), show_message(), NDK_XX::Control::styles, and NDK_XX::Control::title.
02575 { 02576 set_style(styles(title|framed)); 02577 DialogBox::on_dlg_init(); 02578 show_message(); 02579 create_buttons(); 02580 if(pBtnCancel) 02581 set_focus_to(pBtnCancel); 02582 else if(pBtnNo) 02583 set_focus_to(pBtnNo); 02584 } |
|
Definition at line 2588 of file ndk++.cc. References msg. Referenced by on_dlg_init().
|
|
Prompt the user.
Definition at line 1792 of file ndk++.h. Referenced by show_message(). |