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
00020 #ifndef AP_WIN32DIALOG_TAB_H
00021 #define AP_WIN32DIALOG_TAB_H
00022
00023 #include "ap_Dialog_Tab.h"
00024 #include "xap_Win32DialogHelper.h"
00025 #include "xap_Frame.h"
00026 #include "xap_Win32DialogBase.h"
00027
00028
00029
00030 class ABI_EXPORT AP_Win32Dialog_Tab: public AP_Dialog_Tab, XAP_Win32Dialog, public XAP_Win32DialogBase
00031 {
00032 public:
00033 AP_Win32Dialog_Tab(XAP_DialogFactory * pDlgFactory, XAP_Dialog_Id id);
00034 virtual ~AP_Win32Dialog_Tab(void);
00035
00036 virtual void runModal(XAP_Frame * pFrame);
00037
00038 static XAP_Dialog * static_constructor(XAP_DialogFactory *, XAP_Dialog_Id id);
00039
00040 private:
00041 XAP_Win32DialogHelper _win32Dialog;
00042 char Buffer[128];
00043
00044 protected:
00045 BOOL _onInitDialog(HWND hWnd, WPARAM wParam, LPARAM lParam);
00046 BOOL _onCommand(HWND hWnd, WPARAM wParam, LPARAM lParam);
00047 BOOL _onDeltaPos(NM_UPDOWN * pnmud);
00048
00049 void _controlEnable( tControl id, bool value );
00050
00051 #define SET_GATHER(a,t) virtual t _gather##a(void); \
00052 virtual void _set##a( t )
00053 SET_GATHER (Alignment, eTabType);
00054 SET_GATHER (Leader, eTabLeader);
00055 SET_GATHER (DefaultTabStop, const gchar*);
00056
00057
00058
00059 virtual void _setTabList(UT_uint32 count);
00060
00061
00062
00063
00064 SET_GATHER (SelectTab, UT_sint32);
00065
00066
00067 SET_GATHER (TabEdit, const char *);
00068 #undef SET_GATHER
00069
00070 virtual void _clearList();
00071
00072 };
00073
00074 #endif
00075
00076
00077