OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
window.h File Reference

Base window class TWindow definition, including HWND encapsulation. More...

#include <owl/private/defs.h>
#include <owl/defs.h>
#include <owl/wsyscls.h>
#include <owl/color.h>
#include <owl/objstrm.h>
#include <owl/clipboar.h>
#include <owl/windowev.h>
#include <owl/applicat.h>
#include <owl/menu.h>
#include <owl/window.rh>
#include <stdarg.h>
#include <utility>
#include <memory>
#include <cstddef>
#include <owl/preclass.h>
#include <owl/posclass.h>

Go to the source code of this file.

Classes

class  owl::TDrawItemBase
 Class will be base class for owner draw items: ListBox,ComboBox,Menu atc. More...
 
class  owl::TDrawItem
 
class  owl::TCommandEnabler
 Base class for an extensible interface for auto enabling/disabling of commands (menu items, tool bar buttons, ...) More...
 
struct  owl::TWindowAttr
 Holds TWindow attributes set during construction of a window. More...
 
class  owl::TWindow
 TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encapsulates many functions that control window behavior and specify window creation and registration attributes. More...
 
class  owl::TWindow::TChildrenIteratorTemplate< T >
 Utility class template used as an iterator type template for TChildrenRangeTemplate. More...
 
class  owl::TWindow::TChildrenRangeTemplate< T >
 Utility class template used as a return type for TWindow::GetChildren. More...
 
class  owl::TXWindow
 A nested class, TXWindow describes an exception that results from trying to create an invalid window. More...
 

Namespaces

namespace  owl
 Object Windows Library (OWLNext Core)
 

Macros

Special background color flags for EvEraseBkgnd processing
#define NoColor   TColor::None
 let DefWindowProc erase
 
#define NoErase   TColor::Transparent
 don't erase, wait for Paint
 

Enumerations

enum  owl::TWindowFlag {
  owl::wfAlias = 0x0001 , owl::wfAutoCreate = 0x0002 , owl::wfFromResource = 0x0004 , owl::wfShrinkToClient = 0x0008 , owl::wfMainWindow = 0x0010 , owl::wfFullyCreated = 0x0020 , owl::wfStreamTop = 0x0040 , owl::wfPredefinedClass = 0x0080 , owl::wfTransfer = 0x0100 , owl::wfUnHidden = 0x0200 ,
  owl::wfUnDisabled = 0x0400 , owl::wfDeleteOnClose = 0x0800 , owl::wfPropagateIdle = 0x1000 , owl::wfModalWindow = 0x2000 , owl::wfDetached = 0x4000 , owl::wfInsertAtEdge = 0x8000
}
 Define bit masks for the internally used flag attributes of TWindow. More...
 
enum  owl::TTransferDirection { owl::tdGetData , owl::tdSetData , owl::tdSizeData }
 The TTransferDirection enum describes the constants that the transfer function uses to determine how to transfer data to and from the transfer buffer. More...
 
enum  owl::TEventStatus { owl::esPartial , owl::esComplete }
 Mixin window event implementation return status. More...
 

Functions

void owl::DoEnableAutoCreate (TWindow *win, void *)
 A TActionFunc defined in window.cpp.
 
TWindowowl::GetWindowPtr (HWND hWnd, const TApplication *app=nullptr)
 Raw function to retrieve a TWindow pointer given an HWND from the a given app, or any app (app==0).
 

Detailed Description

Base window class TWindow definition, including HWND encapsulation.

Definition in file window.h.