FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
CAdUiTabMainDialog.h
Go to the documentation of this file.
1#pragma once
2
3//
4// (C) Copyright 2005-2024 by Graebert GmbH.
5//
6// Permission to use, copy, modify, and distribute this software in
7// object code form for any purpose and without fee is hereby granted,
8// provided that the above copyright notice appears in all copies and
9// that both that copyright notice and the limited warranty and
10// restricted rights notice below appear in all supporting
11// documentation.
12//
13// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
14// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
15// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
16// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
17// UNINTERRUPTED OR ERROR FREE.
18
21#include "CAdUiTab.h"
22
23class CAdUiTab;
25class CDataExchange;
26class CWnd;
27
29{
30 friend class CAdUiTab;
31public:
33
34public:
35 CAdUiTabMainDialog(unsigned int = 0, CWnd * = NULL, HINSTANCE__ * = NULL);
38 int AddExtendedTabs(void);
39 int AddTab(int,unsigned int,unsigned int, CAdUiTabChildDialog *);
40 int AddTab(int,wchar_t const *,unsigned int, CAdUiTabChildDialog *);
44 int RemoveTab(int);
45 virtual ~CAdUiTabMainDialog(void);
46 virtual int AddApplicationTabs(wchar_t const *);
47 virtual int PreTranslateMessage( tagMSG *);
49 void SetInitialTabIndex(wchar_t const *);
51 wchar_t const * GetInitialTabIndex(void);
52
53protected:
54 DECLARE_MESSAGE_MAP()
55 virtual void DoDataExchange( CDataExchange *);
56 virtual void OnCancel(void);
57 virtual void OnClose(void);
58 virtual void OnInitDialogBegin(void);
59 virtual void OnInitDialogFinish(void);
60 virtual void OnOK(void);
61 void OnSize(unsigned int,int,int);
62 void RaiseApplyEvent(void);
63 afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
64 void SetAcadTabPointer( CAdUiTab *);
65
68
70 int TranslateTabKey(void);
71 CAdUiTab* m_pTab;
72 wchar_t const * m_strTabIndex;
73
74};
int AddTab(int, wchar_t const *, unsigned int, CAdUiTabChildDialog *)
wchar_t const * GetInitialTabIndex(void)
CAdUiTabExtensionManager * GetXtabPointer(void)
CAdUiTab * GetTabControl(void)
virtual int PreTranslateMessage(tagMSG *)
int GetTabIndex(CAdUiTabChildDialog *)
void SetInitialTabIndex(wchar_t const *)
void UpdateDefaultButton(HWND__ *, HWND__ *)
void SetDefaultButton(int)
int AddExtendedTabs(void)
int GetDefaultButton(void)
int AddTab(int, unsigned int, unsigned int, CAdUiTabChildDialog *)
int GetInitialRequestedTabIndex(void)
virtual int AddApplicationTabs(wchar_t const *)
virtual ~CAdUiTabMainDialog(void)
CAdUiTabMainDialog(unsigned int=0, CWnd *=NULL, HINSTANCE__ *=NULL)
DECLARE_DYNAMIC(CAdUiTabMainDialog)