OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
decmdifr.h
Go to the documentation of this file.
1//----------------------------------------------------------------------------
2// ObjectWindows
3// Copyright (c) 1992, 1996 by Borland International, All Rights Reserved
4//
5/// \file
6/// Definition of TDecoratedMDIFrame class
7//----------------------------------------------------------------------------
8
9#if !defined(OWL_DECMDIFR_H)
10#define OWL_DECMDIFR_H
11
12#include <owl/private/defs.h>
13#if defined(BI_HAS_PRAGMA_ONCE)
14# pragma once
15#endif
16
17#include <owl/mdi.h>
18#include <owl/decframe.h>
19#include <memory>
20
21namespace owl {
22
23#include <owl/preclass.h>
24
25/// \addtogroup decor
26/// @{
27/// \class TDecoratedMDIFrame
28// ~~~~~ ~~~~~~~~~~~~~~~~~~
29/// Derived from both TMDIFrame and TDecoratedFrame, TDecoratedMDIFrame is an MDI
30/// frame that supports decorated child windows.
31/// TDecorated MDIFrame supports custom toolbars. You can insert one set of
32/// decorations (for example, toolbars and rulers) into a decorated frame. When a
33/// different set of tools is needed, you can remove the previous set and reinsert
34/// another set of decorations. However, be sure to remove all of the unwanted
35/// decorations from the adjusted sides (that is, the top, left, bottom, and right)
36/// before reinserting a new set.
37//
39 public TDecoratedFrame {
40 public:
41
45 std::unique_ptr<TMDIClient> clientWnd = nullptr,
46 bool trackMenuSelection = false,
47 TModule* = 0);
48
50 const tstring& title,
51 TResId menu,
52 std::unique_ptr<TMDIClient> clientWnd = nullptr,
53 bool trackMenuSelection = false,
54 TModule* module = 0);
55
56#if defined(OWL5_COMPAT)
57
61 bool trackMenuSelection = false,
62 TModule* module = 0);
63
65 const tstring& title,
66 TResId menu,
68 bool trackMenuSelection = false,
69 TModule* module = 0);
70
71#endif
72
73 virtual TResult DefWindowProc(TMsgId, TParam1, TParam2);
74
75 private:
76 // Hidden to prevent accidental copying or assignment
77 //
80
83};
84/// @}
85
87
88#include <owl/posclass.h>
89
91
92
93} // OWL namespace
94
95
96#endif // OWL_DECMDIFR_H
97
TDecoratedFrame automatically positions its client window (you must supply a client window) so that i...
Definition decframe.h:74
Derived from both TMDIFrame and TDecoratedFrame, TDecoratedMDIFrame is an MDI frame that supports dec...
Definition decmdifr.h:39
Multiple Document Interface (MDI) client windows (represented by a TMDIClient object) manage the MDI ...
Definition mdi.h:37
Multiple Document Interface (MDI) frame windows, represented by TMDIFrame, are overlapped windows tha...
Definition mdi.h:122
ObjectWindows dynamic-link libraries (DLLs) construct an instance of TModule, which acts as an object...
Definition module.h:75
Definition of class TDecoratedFrame, a TFrameWindow that can manage decorations around the client win...
#define DECLARE_RESPONSE_TABLE(cls)
Definition eventhan.h:436
#define DECLARE_STREAMABLE_OWL(cls, ver)
Definition objstrm.h:1529
#define DECLARE_STREAMABLE_INLINES(cls)
Definition objstrm.h:1538
Definition of TMDIClient and TMDIFrame classes.
Object Windows Library (OWLNext Core)
Definition animctrl.h:22
TDecoratedMDIFrame TDecoratedMdiFrame
Definition decmdifr.h:90
UINT TMsgId
Message ID type.
Definition dispatch.h:53
LPARAM TParam2
Second parameter type.
Definition dispatch.h:55
WPARAM TParam1
First parameter type.
Definition dispatch.h:54
std::string tstring
Definition defs.h:79
#define _OWLCLASS
Definition defs.h:338