Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef AP_WIN32DIALOG_COLLABORATIONEDITACCOUNT_H
00020 #define AP_WIN32DIALOG_COLLABORATIONEDITACCOUNT_H
00021
00022 #include <vector>
00023
00024 #include "xap_Win32DialogHelper.h"
00025 #include "ut_assert.h"
00026
00027 #include <dialogs/xp/ap_Dialog_CollaborationEditAccount.h>
00028 #include "ap_Win32Res_DlgCollaborationEditAccount.rc2"
00029
00030 class XAP_Frame;
00031
00032 class AP_Win32Dialog_CollaborationEditAccount : public AP_Dialog_CollaborationEditAccount
00033 {
00034 public:
00035 AP_Win32Dialog_CollaborationEditAccount(XAP_DialogFactory * pDlgFactory, XAP_Dialog_Id id);
00036 static XAP_Dialog * static_constructor(XAP_DialogFactory * pFactory, XAP_Dialog_Id id);
00037
00038 void runModal(XAP_Frame * pFrame);
00039 static BOOL CALLBACK s_dlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
00040 static BOOL CALLBACK s_detailsProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
00041 BOOL _onInitDialog(HWND hWnd, WPARAM wParam, LPARAM lParam);
00042 BOOL _onCommand(HWND hWnd, WPARAM wParam, LPARAM lParam);
00043 BOOL _onDetailsCommand(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
00044 BOOL detailsProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
00045 static LRESULT s_detailsGetMsgProc(int nCode, WPARAM wParam, LPARAM lParam);
00046 LRESULT detailsGetMsgProc(int nCode, WPARAM wParam, LPARAM lParam);
00047 void setBackendValidity(bool valid);
00048
00049 protected:
00050 XAP_Win32DialogHelper * m_pWin32Dialog;
00051
00052 virtual void* _getEmbeddingParent();
00053
00054
00055 HINSTANCE m_hInstance;
00056 HWND m_hOk;
00057 LONG_PTR m_pOldDetailsProc;
00058 HWND m_hWnd;
00059 HWND m_hDetails;
00060 HHOOK m_hDetailsHook;
00061
00062 private:
00063
00064 void _populateWindowData(void);
00065 };
00066
00067 #endif