Table of Contents

OpenInsight 10 Presentation Server Object Model

Introduction

Introduction

Starting the Presentation Server

The System Monitor

Image format support in OpenInsight 10

Image transparency - Color-keying and Alpha-blending

Presentation Server Interface

Presentation Server Interface

Create Dialog function

Dialog Box function

End Dialog subroutine

End Window subroutine

Exec Method function

Forward Event subroutine

Get EventStatus function

Get Property function

IsEventContext function

Post Event subroutine

Send Event function

Set EventStatus function

Set Property function

Set Property Only function

SetDebugger function

Start MDIChild function

Start Window function

Yield subroutine

Presentation Server Types

Presentation Server Types

Common Properties

Common Properties

@ (User-defined) property (Common)

ALLOWFOCUS property (Common)

EXECMETHOD property (Common)

INTERNALOBJECT property (Common)

MISC property (Common)

REPOSTYPE property (Common)

TYPE property (Common)

TYPECLASS property (Common)

UDPLIST property (Common)

Common Methods

Common Methods

GETUDP Method (Common Methods)

QUALIFYEVENT Method (Common)

SETUDP Method (Common Methods)

CLIPBOARD Object

CLIPBOARD Object

CLIPBOARD Properties

CLIPBOARD Properties

FORMATLIST property (CLIPBOARD)

TEXT Property (Clipboard)

CLIPBOARD Methods

CLIPBOARD Methods

EMPTY Method (Clipboard)

GETDATA Method (Clipboard)

SETDATA Method (Clipboard)

FILESYSTEM Object

FILESYSTEM Object

FILESYSTEM Properties

FILESYSTEM Properties

CURRENTDIR Property (Filesystem)

DRIVELIST Property (Filesystem)

FILEOPRESULT Property (Filesystem)

SYSTEMDIR Property (Filesystem)

TEMPDIR Property (Filesystem)

WINDOWSDIR Property (Filesystem)

FILESYSTEM Methods

FILESYSTEM Methods

CHOOSEDIR Method (Filesystem)

CHOOSEFILE Method (Filesystem)

COPYDIR Method (Filesystem)

COPYFILES Method (Filesystem)

DELETEFILES Method (Filesystem)

DIREXISTS Method (Filesystem)

FILEEXISTS Method (Filesystem)

GETABSOLUTEPATH Method (Filesystem)

GETLONGPATH Method (Filesystem)

GETRELATIVEPATH Method (Filesystem)

GETSHORTPATH Method (Filesystem)

GETSPECIALDIR Method (Filesystem)

MAKEDIR Method (Filesystem)

MOVEDIR Method (Filesystem)

MOVEFILES Method (Filesystem)

REMOVEDIR Method (Filesystem)

RENAMEDIR Method (Filesystem)

RENAMEFILE Method (Filesystem)

SYSTEM Object

SYSTEM Object

SYSTEM Properties

SYSTEM Properties

ASYNCCURSORPOS property (System)

ASYNCKEYSTATE property (System)

AUTOEXEC property (System)

BLOCKEVENTS property (System)

CHARMAP property (System)

CMDLINE property (System)

COMCTLVERSION property (System)

CONFIGFILE property (System)

CONFIGINFO property (System)

COUNTER property (System)

CURSOR property (System)

CURSORPOS property (System)

CUSTOMCOLORS property (System)

DELIMCOUNT property (System)

DEVMODE property (System)

DEVSYSTEM property (System)

DPI property (System)

DPIAWARE property (System)

DPIMONITOR property (System)

DRAGSOURCE property (System)

DROPTARGET property (System)

DWMCOLORS property (System)

ENVVARLIST property (System)

EXITCODE property (System)

FOCUS property (System)

FOCUSSTYLES property (System)

FONTLIST property (System)

IDLEPROC property (System)

IDLEPROCQUEUE property (System)

INTERACTIVE property (System)

KEYSTATE property (System)

LOGININFO property (System)

MESSAGEFONT property (System)

METRICS property (System)

MODAL property (System)

MODULEFILENAME property (System)

MONITORLIST property (System)

MOUSECAPTURED property (System)

PREVFOCUS property (System)

PROCESSID property (System)

QUERYEND property (System)

RECEIVER property (System)

RUNMODE property (System)

SERVERNAME property (System)

SHOWACCELERATORS property (System)

SHUTDOWN property (System)

SIZE property (System)

STATUSFONT property (System)

SUPPRESSAUTODESTROY property (System)

TASKBARID property (System)

THEMED property (System)

TIMEZONE property (System)

TYPES property (System)

UTF8 property (System)

VERSION property (System)

VISIBLE property (System)

WIN64 property (System)

WINCOUNT property (System)

WINDOWGHOSTING property (System)

SYSTEM Methods

SYSTEM Methods

ADDIDLEPROC Method (System)

ALPHACOLOR Method (System)

ARRAY2LIST Method (System)

BEEP Method (System)

CHOOSECOLOR Method (System)

CHOOSEDIR Method (System)

CHOOSEFILE Method (System)

CHOOSEFONT Method (System)

CREATE Method (System)

CREATEGUID Method (System)

DARKENCOLOR Method (System)

DESTROY Method (System)

FINDEXE Method (System)

FLUSH Method (System)

GETENVVAR Method (System)

GETIMAGEINFO Method (System)

HANDLEBYCURSOR Method (System)

LIGHTENCOLOR Method (System)

LIST2ARRAY Method (System)

LOGEVENT Method (System)

MAPWINDOWPOINTS Method (System)

MIXCOLORS Method (System)

OBJECTBYCURSOR Method (System)

OBJECTID Method (System)

OBJECTLIST Method (System)

OLEGETPICTUREPROPS Method (System)

OLEIUNKNOWNRELEASE Method (System)

OLELOADPICTURE Method (System)

POSTWINMSG Method (System)

SENDWINMSG Method (System)

SETCURSOR Method (System)

SETENVVAR Method (System)

TEXTRECT Method (System)

SYSTEMMONITOR Object

SYSTEMMONITOR Object

SYSTEMMONITOR Properties

SYSTEMMONITOR Properties

SYSTEMMONITOR Methods

SYSTEMMONITOR Methods

Common GUI

Common GUI Properties

Common GUI Properties

CHILDWINDOW property (GUI)

CURSOR property (GUI)

ENABLED property (GUI)

PARENTFRAME property (GUI)

PSSTYLE property (GUI)

PSSTYLE_N property (GUI)

PSSTYLEEX property (GUI)

PSSTYLEEX_N property (GUI)

VISIBLE property (GUI)

Common GUI Methods

Common GUI Methods

QUALIFYWINMSG Method (GUI)

Common GUI Events

Common GUI Events

The Image API

The Image API

Image API Properties

Image API Properties

ALIGN property (Image)

AUTOSCALE property (Image)

COLORKEY property (Image)

COUNT property (Image)

FILENAME property (Image)

FILENAMES property (Image)

ANIMATE Control

Animate Control

ANIMATE Control Properties

ANIMATE Properties

AUTOPLAY property (Animate)

CENTER property (Animate)

CLIPNAME property (Animate)

REPETITIONS property (Animate)

STARTFRAME property (Animate)

STOPFRAME property (Animate)

TRANSPARENT property (Animate)

ANIMATE Control Methods

ANIMATE Methods

PLAY Method (Animate)

STOP method (Animate)

Checkbox Control

CHECKBOX Control

CHECKBOX Properties

CHECKBOX Properties

CLICKCHECKONLY property (Checkbox)

COLORDROPDOWN Control

COLORDROPDOWN Control

COLORDROPDOWN Control Properties

COLORDROPDOWN Properties

COLOR property (COLORDROPDOWN Control)

COMBOBOX Control

COMBOBOX Control

COMBOBOX Control Properties

COMBOBOX Properties

ACCEPTENTER Property (Combobox)

COMBOBOX Control Methods

INITSTORAGE Method (Combobox)

EDITBOX Control

EDITBOX Control

EDITBOX Properties

ACCEPTENTER property (Editbox)

ACCEPTTAB property (Editbox)

EDITLINE Control

EDITLINE Control

EDITLINE Properties

ACCEPTENTER property (Editline)

EDITTABLE Control

EDITTABLE Control

EDITTABLE Control Properties

EDITTABLE Properties

ALLOWROWDELETE property (EDITTABLE)

ALLOWROWINSERT property (EDITTABLE)

CANCOPY property (EditTable)

CANCUT property (EditTable)

CANPASTE property (EditTable)

CARETPOS property (EDITTABLE)

MAXROWLIMIT property (EDITTABLE)

MINROWLIMIT property (EDITTABLE)

LISTBOX Control

LISTBOX Control

LISTBOX Control Properties

LISTBOX Properties

CHECKBOXES property (LISTBOX)

CHECKEDLIST property (LISTBOX)

CHECKEDLISTTEXT property (LISTBOX)

LIST property (LISTBOX)

LISTTEXT property (LISTBOX)

SELECTIONSTYLE property (Listbox)

SELLIST property (LISTBOX)

SELLISTTEXT property (LISTBOX)

LISTBOX Control Methods

LISTBOX Methods

ENDEDIT Method (Listbox)

INITSTORAGE Method (Listbox)

SELECTALL Method (Listbox)

LISTBOX Events

LISTBOX Events

CHANGED Event (Listbox)

CHAR Event (Listbox)

PROPERTYGRID Control

PROPERTYGRID Control

PROPERTYGRID Control Properties

PROPERTYGRID Properties

AUTOEXPAND property (PropertyGrid)

COLWIDTH property (PropertyGrid)

DESCRIPTIONDRAWHTML property (PropertyGrid)

EMPTYTEXT property (PropertyGrid)

EDITORHANDLE property (PropertyGrid)

ENABLED property (PropertyGrid)

LIST property (PropertyGrid)

LISTX property (PropertyGrid)

PROPERTYNAMES property (PropertyGrid)

PROPERTYNAMESX property (PropertyGrid)

OPTIONSKEY property (PropertyGrid)

ROWHEIGHT property (PropertyGrid)

ROWSTRIPE property (PropertyGrid)

SELNAME property (PropertyGrid)

SELPOS property (PropertyGrid)

SELPOSX property (PropertyGrid)

SHOWCATEGORIES property (PropertyGrid)

SHOWDESCRIPTION property (PropertyGrid)

SHOWTOOLTIPS property (PropertyGrid)

VALUE property (PropertyGrid)

VALUES property (PropertyGrid)

PROPERTYGRID Control Methods

PROPERTYGRID methods

ADD method (Property Grid)

BEGINEDIT method (PropertyGrid)

COPY method (PropertyGrid)

CUT method (PropertyGrid)

COLLAPSE method (PropertyGrid)

DELETE method (PropertyGrid)

DROPDOWN method (PropertyGrid)

ENDEDIT method (PropertyGrid)

EXPAND method (PropertyGrid)

PASTE method (PropertyGrid)

POSBYCLIENTCURSOR method (PropertyGrid)

POSBYCURSOR method (PropertyGrid)

POSBYNAME method (PropertyGrid)

PROPERTYBYPOS method (PropertyGrid)

SCREENSIZEBYNAME method (PropertyGrid)

SELECTALL method (PropertyGrid)

SIZEBYNAME method (PropertyGrid)

UNDO method (PropertyGrid)

VALUEBYNAME method (PropertyGrid)

VALUEBYPOS method (PropertyGrid)

PROPERTYGRID Control Events

PROPERTYGRID Events

PROPCHANGED event (PropertyGrid)

PROPOPTIONS event (PropertyGrid)

SELPROPCHANGED event (PropertyGrid)

RADIOGROUP Control

RADIOGROUP Control

RADIOGROUP Properties

BUTTONS property (RadioGroup)

TABCONTROL Control

TABCONTROL Control

TABCONTROL Properties

VALUES property (TabControl)

TREELISTBOX Control

TREELISTBOX Control

TREELISTBOX Properties

VALUES property (TreeListBox)

WINDOW Object

WINDOW Object

WINDOW Properties

WINDOW Properties

AUTOCOMPOSITED property (Window)

DESTROYFLAG property (Window)

DPI property (Window)

DPISCALING property (Window)

DWMANIMATION property (Window)

ICON property (Window)

INITIALPOSITION property (Window)

HELPBUTTON property (Window)

RESIZEALWAYS property (WINDOW)

SAVEWARN property (Window)

TASKBARBUTTON property (Window)

TOPMOST property (Window)

WINDOW Methods

WINDOW Methods

CENTER method (Window)

GETFOCUSEDCONTROL Method (Window)

MDITILE Method (WINDOW)

Appendix A - Concatenating Properties

Appendix A - Concatenating Properties

Appendix B - Object Notation Syntax

Appendix B - Object Notation Syntax

Appendix C - Event Handling

Appendix C - Event Handling

Appendix D - Promoted Events

Appendix D - Promoted Events

Appendix E - Synchronous Events

Appendix E - Synchronous Events

Appendix F - Event Type Information

Appendix F - Event Type Information

Appendix G - Method Type Information

Appendix G - Method Type Information

Appendix H - Property Type Information

Appendix H - Property Type Information

Appendix I - UTF8 processing

Appendix I - UTF8 processing

Appendix J - System Icons

Appendix J - System Icons

Appendix K - High-DPI Programming

Appendix K - High-DPI Programming

OpenInsight and High-DPI

OpenInsight and Direct2D

Appendix L - Drag and Drop

Appendix L - Drag and Drop

Appendix M - The DRAWHTML Property

Appendix M - The DRAWHTML Property