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

Implementation of TWindow. More...

#include <owl/pch.h>
#include <owl/defs.h>
#include <owl/window.h>
#include <owl/applicat.h>
#include <owl/appdict.h>
#include <owl/scroller.h>
#include <owl/gdiobjec.h>
#include <owl/menu.h>
#include <owl/framewin.h>
#include <owl/commctrl.h>
#include <owl/shellitm.h>
#include <owl/tooltip.h>
#include <stdlib.h>
#include <stdio.h>
#include <owl/registry.h>
#include <owl/hlpmanag.h>
#include <array>
#include <vector>
#include <algorithm>

Go to the source code of this file.

Namespaces

namespace  owl
 Object Windows Library (OWLNext Core)
 

Macros

#define OWL_RTTI_MSGCACHE
 
#define TYPE_UNIQUE_ID(t)   reinterpret_cast<UINT_PTR>(typeid(t).name())
 
#define LOCKCACHE
 

Functions

 owl::DIAG_DECLARE_GROUP (OwlMsg)
 
 owl::DIAG_DEFINE_GROUP_INIT (OWL_INI, OwlWin, 1, 0)
 
 owl::DIAG_DEFINE_GROUP_INIT (OWL_INI, OwlCmd, 1, 0)
 
void owl::SetCreationWindow (TWindow *w)
 
TWindowowl::GetCreationWindow ()
 
 owl::_OWLDATA (uint) GetWindowPtrMsgId
 
 owl::EV_WM_CTLCOLORBTN (EvCtlColor)
 
 owl::EV_WM_CTLCOLORDLG (EvCtlColor)
 
 owl::EV_WM_CTLCOLOREDIT (EvCtlColor)
 
 owl::EV_WM_CTLCOLORLISTBOX (EvCtlColor)
 
 owl::EV_WM_CTLCOLORSCROLLBAR (EvCtlColor)
 
 owl::EV_WM_CTLCOLORSTATIC (EvCtlColor)
 
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).
 
TDrawItemowl::ItemData2DrawItem (ULONG_PTR data)
 Handles WM_DRAWITEM message (for owner draw controls & menus) by forwarding message to control itself.
 
void owl::DoEnableAutoCreate (TWindow *win, void *)
 A TActionFunc defined in window.cpp.
 

Variables

bool gBatchMode = false
 
 owl::EV_WM_MOVE
 
 owl::EV_WM_CREATE
 
 owl::EV_WM_QUERYENDSESSION
 
 owl::EV_WM_ENDSESSION
 
 owl::EV_WM_CONTEXTMENU
 
 owl::EV_WM_MOUSEWHEEL
 
 owl::EV_WM_MOUSEHWHEEL
 

Detailed Description

Implementation of TWindow.

This defines the basic behavior of all Windows.

Definition in file window.cpp.

Macro Definition Documentation

◆ OWL_RTTI_MSGCACHE

#define OWL_RTTI_MSGCACHE

Definition at line 69 of file window.cpp.

◆ TYPE_UNIQUE_ID

#define TYPE_UNIQUE_ID ( t)    reinterpret_cast<UINT_PTR>(typeid(t).name())

Definition at line 70 of file window.cpp.

Variable Documentation

◆ gBatchMode

bool gBatchMode = false

Definition at line 72 of file window.cpp.