10#if !defined(OWL_PSVIEW_H)
14#if defined(BI_HAS_PRAGMA_ONCE)
40 auto CanClose() ->
bool override;
44 auto GetViewName() ->
LPCTSTR override;
45 auto GetWindow() ->
TWindow*
override;
47 using TView::SetDocTitle;
68 return _T(
"PaneSplitter View");
73 (Doc->NextView(
this) ||
74 Doc->NextView(
nullptr) !=
this ||
83 return static_cast<TWindow*
>(
this);
88inline bool TPaneSplitterView::VnIsWindow(
HWND hWnd){
An abstract base class, TDocument is the base class for all document objects and serves as an interfa...
TPaneSplitter is a class that acts as a container for child windows (called panes) and splitters (pan...
auto CanClose() -> bool override
static LPCTSTR StaticName()
auto SetDocTitle(LPCTSTR docname, int index) -> bool override
auto GetWindow() -> TWindow *override
auto GetViewName() -> LPCTSTR override
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.
bool IsChild(HWND hWnd) const
Returns true if the window is a child window or a descendant window of this window.
virtual bool CanClose()
Use this function to determine if it is okay to close a window.
HWND GetHandle() const
Returns the handle of the window.
Definition of classes TDocument, TView, TWindowView, TStream, TInStream, TOutStream.
#define DECLARE_RESPONSE_TABLE(cls)
Object Windows Library (OWLNext Core)