#include <ap_Win32Dialog_GenericInput.h>
Public Member Functions | |
| AP_Win32Dialog_GenericInput (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id) | |
| void | runModal (XAP_Frame *pFrame) |
| BOOL | _onInitDialog (HWND hWnd, WPARAM wParam, LPARAM lParam) |
| BOOL | _onCommand (HWND hWnd, WPARAM wParam, LPARAM lParam) |
Static Public Member Functions | |
| static XAP_Dialog * | static_constructor (XAP_DialogFactory *pFactory, XAP_Dialog_Id id) |
| static BOOL CALLBACK | s_dlgProc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) |
Private Member Functions | |
| void | _eventTextChanged () |
| UT_UTF8String | _getText (HWND hWnd, int nID) |
Private Attributes | |
| XAP_Win32DialogHelper * | m_pWin32Dialog |
| HINSTANCE | m_hInstance |
| HWND | m_hWnd |
| HWND | m_hOk |
| AP_Win32Dialog_GenericInput::AP_Win32Dialog_GenericInput | ( | XAP_DialogFactory * | pDlgFactory, | |
| XAP_Dialog_Id | id | |||
| ) |
References AbiCollabSessionManager::getManager(), and m_hInstance.
Referenced by static_constructor().
| void AP_Win32Dialog_GenericInput::_eventTextChanged | ( | ) | [private] |
References _getText(), AP_Dialog_GenericInput::getMinLenght(), m_hOk, m_hWnd, and UT_return_if_fail.
Referenced by _onCommand(), and _onInitDialog().
| UT_UTF8String AP_Win32Dialog_GenericInput::_getText | ( | HWND | hWnd, | |
| int | nID | |||
| ) | [private] |
References AP_Win32App::s_fromWinLocaleToUTF8(), and UT_return_val_if_fail.
Referenced by _eventTextChanged(), and _onCommand().
| BOOL AP_Win32Dialog_GenericInput::_onCommand | ( | HWND | hWnd, | |
| WPARAM | wParam, | |||
| LPARAM | lParam | |||
| ) |
References _eventTextChanged(), _getText(), AP_Dialog_GenericInput::m_answer, and AP_Dialog_GenericInput::setInput().
Referenced by s_dlgProc().
| BOOL AP_Win32Dialog_GenericInput::_onInitDialog | ( | HWND | hWnd, | |
| WPARAM | wParam, | |||
| LPARAM | lParam | |||
| ) |
References _eventTextChanged(), XAP_Win32DialogHelper::centerDialog(), DELETEP, AP_Dialog_GenericInput::getInput(), AP_Dialog_GenericInput::getLabel(), AP_Dialog_GenericInput::getQuestion(), AP_Dialog_GenericInput::getTitle(), AP_Dialog_GenericInput::isPassword(), m_hOk, m_hWnd, m_pWin32Dialog, XAP_Win32DialogHelper::setDialogTitle(), and UT_return_val_if_fail.
Referenced by s_dlgProc().
| void AP_Win32Dialog_GenericInput::runModal | ( | XAP_Frame * | pFrame | ) | [virtual] |
Implements AP_Dialog_GenericInput.
References XAP_Frame::getFrameImpl(), AP_Dialog_GenericInput::m_answer, m_hInstance, s_dlgProc(), UT_DEBUGMSG, and UT_return_if_fail.
| BOOL CALLBACK AP_Win32Dialog_GenericInput::s_dlgProc | ( | HWND | hWnd, | |
| UINT | msg, | |||
| WPARAM | wParam, | |||
| LPARAM | lParam | |||
| ) | [static] |
References _onCommand(), _onInitDialog(), DELETEP, m_pWin32Dialog, and UT_return_val_if_fail.
Referenced by runModal().
| XAP_Dialog * AP_Win32Dialog_GenericInput::static_constructor | ( | XAP_DialogFactory * | pFactory, | |
| XAP_Dialog_Id | id | |||
| ) | [static] |
References AP_Win32Dialog_GenericInput().
HINSTANCE AP_Win32Dialog_GenericInput::m_hInstance [private] |
Referenced by AP_Win32Dialog_GenericInput(), and runModal().
HWND AP_Win32Dialog_GenericInput::m_hOk [private] |
Referenced by _eventTextChanged(), and _onInitDialog().
HWND AP_Win32Dialog_GenericInput::m_hWnd [private] |
Referenced by _eventTextChanged(), and _onInitDialog().
Referenced by _onInitDialog(), and s_dlgProc().
1.7.1