OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Implementation of the TOcControl Class and helpers These class encapsulate the hosting of OCX controls... More...
#include <ocf/pch.h>
#include <ocf/ocstorag.h>
#include <ocf/ocdoc.h>
#include <ocf/ocapp.h>
#include <ocf/ocview.h>
#include <ocf/occtrl.h>
#include <ocf/autodefs.h>
#include <ocf/automacr.h>
Go to the source code of this file.
Namespaces | |
namespace | ocf |
Object Component Framework (COM encapsulation) | |
Typedefs | |
typedef HRESULT(PASCAL * | ocf::REGPROC) () |
Functions | |
ocf::EXPOSE_PROPRW_ID (DISPID_AMBIENT_BACKCOLOR, BackColor, TAutoLong, _T("!BackColor"), _T("@BackColor_"), 0) EXPOSE_PROPRW_ID(DISPID_AMBIENT_FORECOLOR | |
RAYK - help contexts? | |
ocf::_T ("!ForeColor") | |
ocf::_T ("@ForeColor_") | |
ocf::EXPOSE_PROPRW_ID (DISPID_AMBIENT_LOCALEID, LocaleID, TAutoLong, _T("!LocaleID"), _T("@LocaleID_"), 0) EXPOSE_PROPRW_ID(DISPID_AMBIENT_TEXTALIGN | |
ocf::_T ("!TextAlign") | |
ocf::_T ("@TextAlign_") | |
ocf::EXPOSE_PROPRW_ID (DISPID_AMBIENT_MESSAGEREFLECT, MessageReflect, TAutoBool, _T("!MessageReflect"), _T("@MsgReflect_"), 0) EXPOSE_PROPRW_ID(DISPID_AMBIENT_USERMODE | |
ocf::_T ("!UserMode") | |
ocf::_T ("@UserMode_") | |
ocf::EXPOSE_PROPRW_ID (DISPID_AMBIENT_UIDEAD, UIDead, TAutoBool, _T("!UIDead"), _T("@UIDead_"), 0) EXPOSE_PROPRW_ID(DISPID_AMBIENT_SHOWGRABHANDLES | |
ocf::_T ("!ShowGrabHandles") | |
ocf::_T ("@GrabHdl_") | |
ocf::EXPOSE_PROPRW_ID (DISPID_AMBIENT_SHOWHATCHING, ShowHatching, TAutoBool, _T("!ShowHatching"), _T("@ShowHat_"), 0) EXPOSE_PROPRW_ID(DISPID_AMBIENT_DISPLAYASDEFAULT | |
ocf::_T ("!DisplayAsDefault") | |
ocf::_T ("@DispDef_") | |
ocf::EXPOSE_PROPRW_ID (DISPID_AMBIENT_SUPPORTSMNEMONICS, SupportsMnemonics, TAutoBool, _T("!SupportsMnemonics"), _T("@Mnemonics_"), 0) EXPOSE_PROPRW_ID(DISPID_AMBIENT_DISPLAYNAME | |
ocf::_T ("!DisplayName") | |
ocf::_T ("@DispName_") | |
ocf::EXPOSE_PROPRW_ID (DISPID_AMBIENT_SCALEUNITS, ScaleUnits, TAutoString, _T("!ScaleUnits"), _T("@ScaleUnits_"), 0) EXPOSE_PROPRW_ID(DISPID_AMBIENT_FONT | |
ocf::_T ("!Font") | |
ocf::_T ("@Font_") | |
ocf::END_AUTOCLASS (TOcxView, tfNormal, _T("TOcxView"), _T("@TOcxView_"), 0) EXPOSE_PROPRO_ID(0x80010008L | |
ocf::_T ("!Parent") | |
ocf::EXPOSE_PROPRW_ID (0x80010007L, Visible, TAutoBool, _T("!Visible"), _T("!Visible"), 0) EXPOSE_PROPRW_ID(0x80010037L | |
ocf::_T ("!Cancel") | |
ocf::_T ("@Cancel_") | |
ocf::EXPOSE_PROPRW_ID (0x80010038L, Default, TAutoBool, _T("!Default"), _T("@Default_"), 0) EXPOSE_PROPRW_ID(0x80010000L | |
ocf::_T ("!Name") | |
ocf::_T ("@ObjName_") | |
ocf::EXPOSE_PROPRW_ID (0x80010100L, Left, TAutoLong, _T("!Left"), _T("!Left"), 0) EXPOSE_PROPRW_ID(0x80010101L | |
ocf::_T ("!Top") | |
ocf::EXPOSE_PROPRW_ID (0x80010102L, Width, TAutoLong, _T("!Width"), _T("!Width"), 0) EXPOSE_PROPRW_ID(0x80010103L | |
ocf::_T ("!Height") | |
ocf::END_AUTOCLASS (TOcControl, tfNormal, _T("TOcControl"), _T("@TOcControl_"), 0) EXPOSE_METHOD_ID(DISPID_CLICK | |
ocf::_T ("!Click") | |
ocf::_T ("@Click_") | |
ocf::EXPOSE_METHOD_ID (DISPID_DBLCLICK, DblClick, TAutoLong, _T("!DblClick"), _T("@DblClick_"), 0) EXPOSE_METHOD_ID(DISPID_MOUSEDOWN | |
ocf::_T ("!MouseDown") | |
ocf::_T ("@MouseDown_") | |
ocf::EXPOSE_METHOD_ID (DISPID_MOUSEUP, MouseUp, TAutoLong, _T("!MouseUp"), _T("@MouseUp_"), 0) EXPOSE_METHOD_ID(DISPID_MOUSEMOVE | |
ocf::_T ("!MouseMove") | |
ocf::_T ("@MouseMove_") | |
ocf::EXPOSE_METHOD_ID (DISPID_KEYDOWN, KeyDown, TAutoLong, _T("!KeyDown"), _T("@KeyDown_"), 0) EXPOSE_METHOD_ID(DISPID_KEYUP | |
ocf::_T ("!KeyUp") | |
ocf::_T ("@KeyUp_") | |
ocf::EXPOSE_METHOD_ID (DISPID_ERROREVENT, ErrorEvent, TAutoLong, _T("!ErrorEvent"), _T("&ErrorEvent_"), 0) EXPOSE_METHOD_ID(DISPID_CATCH_ALL | |
ocf::_T ("!CustomEvent") | |
ocf::_T ("@CustomEvent_") | |
ocf::END_AUTOCLASS (TOcControlEvent, tfNormal, _T("TOcControlEvent"), _T("@TOcCtrlEvent_"), 0) ObjectPtr GetControlView(ObjectPtr ctl) | |
HRESULT | ocf::OcRegisterControl (TCHAR *ocxPath) |
HRESULT | ocf::OcUnregisterControl (CLSID ClassId) |
Implementation of the TOcControl Class and helpers These class encapsulate the hosting of OCX controls...
Definition in file occtrl.cpp.