12#if !defined(OWL_TABBED_H)
16#if defined(BI_HAS_PRAGMA_ONCE)
23#include <owl/tabbed.rh>
26#if !defined(RC_INVOKED)
84 TWindow* GetPage(
int index = -1);
126 auto Create() ->
bool override;
149 auto CanClose() ->
bool override;
153 auto GetViewName() ->
LPCTSTR override;
154 auto GetWindow() ->
TWindow*
override;
176 return _T(
"Tabbed View");
184 || Doc->NextView(
nullptr) !=
this || Doc->CanClose());
194 return static_cast<TWindow*
>(
this);
An abstract base class, TDocument is the base class for all document objects and serves as an interfa...
TEventHandler is a base class from which you can derive classes that handle messages.
Derived from TWindow, TLayoutWindow provides functionality for defining the layout metrics for a wind...
ObjectWindows dynamic-link libraries (DLLs) construct an instance of TModule, which acts as an object...
TNoteTab encapsulates a tab control with each tab item along the bottom of the window.
TNotify is a thin wrapper around the NMHDR structure.
TTabbedBase implements a tabbed window, designed to be mixed in with TWindow derived.
int Add(TWindow &wnd, const tstring &titles)
DECLARE_RESPONSE_TABLE(TTabbedBase)
TNoteTab * GetTabControl()
auto CanClose() -> bool override
Only query document if this is the last view open to it.
auto GetViewName() -> LPCTSTR override
auto SetDocTitle(LPCTSTR docname, int index) -> bool override
static LPCTSTR StaticName()
auto GetWindow() -> TWindow *override
Tabbed windows it is used in tabbed window.
int AddPage(TWindow &wnd, const tstring &titles)
Abstract base class for view access from document.
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
virtual bool SetDocTitle(LPCTSTR docname, int index)
Default behavior for updating document title is to pass it to parent frame.
virtual bool CanClose()
Use this function to determine if it is okay to close a window.
Definition of classes TDocument, TView, TWindowView, TStream, TInStream, TOutStream.
#define DECLARE_RESPONSE_TABLE(cls)
@ alTop
Refers to top edge of frame.
@ alRight
Refers to right edge of frame.
@ alBottom
Refers to bottom edge of frame.
@ alLeft
Refers to left edge of frame.
Definition of classes TLayoutMetrics & TLayoutWindow.
Object Windows Library (OWLNext Core)
Definition of class TNoteTab.