Control

Control class.

class Control : DObject , IWindow {}

Constructors

this
this()

Construct a new Control instance.

this
this(Dstring text)
Undocumented in source.
this
this(Control cparent, Dstring text)
Undocumented in source.
this
this(Dstring text, int left, int top, int width, int height)
Undocumented in source.
this
this(Control cparent, Dstring text, int left, int top, int width, int height)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

beginInvoke
deprecated alias beginInvoke = delayInvoke
Undocumented in source.
controlFont
deprecated alias controlFont = defaultFont
Undocumented in source.
dockChanged
alias dockChanged = hasLayoutChanged
Undocumented in source.
locationChanged
alias locationChanged = move
Undocumented in source.
onDockChanged
alias onDockChanged = onHasLayoutChanged
Undocumented in source.
onLocationChanged
alias onLocationChanged = onMove
Undocumented in source.
onSizeChanged
alias onSizeChanged = onResize
Undocumented in source.
sizeChanged
alias sizeChanged = resize
Undocumented in source.
zIndexDown
deprecated alias zIndexDown = sendBackOne
Undocumented in source.
zIndexUp
deprecated alias zIndexUp = bringUpOne
Undocumented in source.

Classes

ControlCollection
class ControlCollection
Undocumented in source.
SafeCursor
class SafeCursor
Undocumented in source.

Enums

CBits
enum CBits
Undocumented in source.

Functions

_classStyle
LONG _classStyle()
Undocumented in source. Be warned that the author may not have intended to support it.
_classStyle
void _classStyle(LONG cl)
Undocumented in source. Be warned that the author may not have intended to support it.
_createHandle
void _createHandle()
Undocumented in source. Be warned that the author may not have intended to support it.
_crecreate
void _crecreate()
Undocumented in source. Be warned that the author may not have intended to support it.
_defWndProc
void _defWndProc(Message msg)
Undocumented in source. Be warned that the author may not have intended to support it.
_destroying
void _destroying()
Undocumented in source. Be warned that the author may not have intended to support it.
_disableVisualStyle
void _disableVisualStyle()
Undocumented in source. Be warned that the author may not have intended to support it.
_fetchBounds
Rect _fetchBounds()
Undocumented in source. Be warned that the author may not have intended to support it.
_fetchClassLong
LONG _fetchClassLong()
Undocumented in source. Be warned that the author may not have intended to support it.
_fetchClientSize
Size _fetchClientSize()
Undocumented in source. Be warned that the author may not have intended to support it.
_fixAmbient
void _fixAmbient(_FixAmbientOld* oldinfo)
Undocumented in source. Be warned that the author may not have intended to support it.
_fixRtol
void _fixRtol(RightToLeft val)
Undocumented in source. Be warned that the author may not have intended to support it.
_hasSelStyle
bool _hasSelStyle()
Undocumented in source. Be warned that the author may not have intended to support it.
_processKeyEventArgs
bool _processKeyEventArgs(Message msg)
Undocumented in source. Be warned that the author may not have intended to support it.
_processMnemonic
bool _processMnemonic(dchar charCode)
Undocumented in source. Be warned that the author may not have intended to support it.
_rtype
int _rtype()
Undocumented in source. Be warned that the author may not have intended to support it.
_selectNextControl
void _selectNextControl(Form ctrltoplevel, Control ctrl, bool forward, bool tabStopOnly, bool nested, bool wrap)
Undocumented in source. Be warned that the author may not have intended to support it.
_selectThisControl
void _selectThisControl()
Undocumented in source. Be warned that the author may not have intended to support it.
_venabled
void _venabled(bool byes)
Undocumented in source. Be warned that the author may not have intended to support it.
_wantTabKey
bool _wantTabKey()
Undocumented in source. Be warned that the author may not have intended to support it.
_wmKillFocus
void _wmKillFocus()
Undocumented in source. Be warned that the author may not have intended to support it.
_wmSetFocus
void _wmSetFocus()
Undocumented in source. Be warned that the author may not have intended to support it.
_wndProc
void _wndProc(Message msg)
Undocumented in source. Be warned that the author may not have intended to support it.
alayout
void alayout(Control ctrl, bool vcheck)
Undocumented in source. Be warned that the author may not have intended to support it.
bringToFront
void bringToFront()
Undocumented in source. Be warned that the author may not have intended to support it.
bringUpOne
void bringUpOne()
Undocumented in source. Be warned that the author may not have intended to support it.
causesValidation
deprecated bool causesValidation()
Undocumented in source. Be warned that the author may not have intended to support it.
causesValidation
deprecated void causesValidation(bool vyes)
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(Control ctrl)
Undocumented in source. Be warned that the author may not have intended to support it.
createChildren
void createChildren()
Undocumented in source. Be warned that the author may not have intended to support it.
createClassHandle
deprecated void createClassHandle(Dstring className)
Undocumented in source. Be warned that the author may not have intended to support it.
createControl
void createControl()
Undocumented in source. Be warned that the author may not have intended to support it.
createControlsInstance
ControlCollection createControlsInstance()
Undocumented in source. Be warned that the author may not have intended to support it.
createGraphics
Graphics createGraphics()

Returns a new Graphics object for this control, creating the control handle if necessary.

createHandle
void createHandle()
Undocumented in source. Be warned that the author may not have intended to support it.
createParams
void createParams(CreateParams cp)
Undocumented in source. Be warned that the author may not have intended to support it.
defWndProc
void defWndProc(Message msg)
Undocumented in source. Be warned that the author may not have intended to support it.
defwproc
LRESULT defwproc(UINT msg, WPARAM wparam, LPARAM lparam)
Undocumented in source. Be warned that the author may not have intended to support it.
delayInvoke
void delayInvoke(void function(Control, size_t[]) fn, size_t[] params)
Undocumented in source. Be warned that the author may not have intended to support it.
delayInvoke
void delayInvoke(void function() fn)

Asynchronously calls a function after the window message queue processes its current messages. It is generally not safe to pass references to the delayed function. Exceptions are not propagated to the caller.

deleteThisBackgroundBrush
void deleteThisBackgroundBrush()
Undocumented in source. Be warned that the author may not have intended to support it.
destroyHandle
void destroyHandle()
Undocumented in source. Be warned that the author may not have intended to support it.
disable
void disable()
Undocumented in source. Be warned that the author may not have intended to support it.
disableVisualStyle
void disableVisualStyle(bool byes)
Undocumented in source. Be warned that the author may not have intended to support it.
dispose
void dispose(bool disposing)
Undocumented in source. Be warned that the author may not have intended to support it.
dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
doDragDrop
DragDropEffects doDragDrop(Data obj, DragDropEffects allowedEffects)
Undocumented in source. Be warned that the author may not have intended to support it.
doDragDrop
DragDropEffects doDragDrop(dfl.data.IDataObject dataObj, DragDropEffects allowedEffects)

Perform a drag/drop operation.

doHide
void doHide()
Undocumented in source. Be warned that the author may not have intended to support it.
doShow
void doShow()
Undocumented in source. Be warned that the author may not have intended to support it.
enable
void enable()
Undocumented in source. Be warned that the author may not have intended to support it.
enableVisualStyle
deprecated void enableVisualStyle(bool byes)
Undocumented in source. Be warned that the author may not have intended to support it.
findForm
Form findForm()
Undocumented in source. Be warned that the author may not have intended to support it.
focus
bool focus()
Undocumented in source. Be warned that the author may not have intended to support it.
getAutoScaleSize
Size getAutoScaleSize()
Undocumented in source. Be warned that the author may not have intended to support it.
getAutoScaleSize
Size getAutoScaleSize(Font f)
Undocumented in source. Be warned that the author may not have intended to support it.
getChildAtPoint
Control getChildAtPoint(Point pt)
Undocumented in source. Be warned that the author may not have intended to support it.
getStyle
bool getStyle(ControlStyles flag)
Undocumented in source. Be warned that the author may not have intended to support it.
getTopLevel
bool getTopLevel()
Undocumented in source. Be warned that the author may not have intended to support it.
hide
void hide()
Undocumented in source. Be warned that the author may not have intended to support it.
initLayout
void initLayout()
Undocumented in source. Be warned that the author may not have intended to support it.
invalidate
void invalidate(Region rgn, bool andChildren)
Undocumented in source. Be warned that the author may not have intended to support it.
invalidate
void invalidate(Region rgn)
Undocumented in source. Be warned that the author may not have intended to support it.
invalidate
void invalidate(Rect r, bool andChildren)
Undocumented in source. Be warned that the author may not have intended to support it.
invalidate
void invalidate(Rect r)
Undocumented in source. Be warned that the author may not have intended to support it.
invalidate
void invalidate(bool andChildren)
Undocumented in source. Be warned that the author may not have intended to support it.
invalidate
void invalidate()
Undocumented in source. Be warned that the author may not have intended to support it.
invoke
void invoke(void delegate() dg)
Undocumented in source. Be warned that the author may not have intended to support it.
invoke
Object invoke(Object delegate(Object[]) dg, Object[] args)

Synchronously calls a delegate in this Control's thread. This function is thread safe and exceptions are propagated to the caller.

mustWndProc
void mustWndProc(Message msg)
Undocumented in source. Be warned that the author may not have intended to support it.
onBackColorChanged
void onBackColorChanged(EventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onCausesValidationChanged
deprecated void onCausesValidationChanged(EventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onClick
void onClick(EventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onContextMenuChanged
void onContextMenuChanged(EventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onControlAdded
void onControlAdded(ControlEventArgs cea)
Undocumented in source. Be warned that the author may not have intended to support it.
onControlRemoved
void onControlRemoved(ControlEventArgs cea)
Undocumented in source. Be warned that the author may not have intended to support it.
onCursorChanged
void onCursorChanged(EventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onDisposed
void onDisposed(EventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onDoubleClick
void onDoubleClick(EventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onDragDrop
void onDragDrop(DragEventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onDragEnter
void onDragEnter(DragEventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onDragLeave
void onDragLeave(EventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onDragOver
void onDragOver(DragEventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onEnabledChanged
void onEnabledChanged(EventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onFontChanged
void onFontChanged(EventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onForeColorChanged
void onForeColorChanged(EventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onGiveFeedback
void onGiveFeedback(GiveFeedbackEventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onGotFocus
void onGotFocus(EventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onHandleCreated
void onHandleCreated(EventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onHandleDestroyed
void onHandleDestroyed(EventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onHasLayoutChanged
void onHasLayoutChanged(EventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onHelpRequested
void onHelpRequested(HelpEventArgs hea)
Undocumented in source. Be warned that the author may not have intended to support it.
onInvalidated
deprecated void onInvalidated(InvalidateEventArgs iea)
Undocumented in source. Be warned that the author may not have intended to support it.
onKeyDown
void onKeyDown(KeyEventArgs kea)
Undocumented in source. Be warned that the author may not have intended to support it.
onKeyPress
void onKeyPress(KeyPressEventArgs kea)
Undocumented in source. Be warned that the author may not have intended to support it.
onKeyUp
void onKeyUp(KeyEventArgs kea)
Undocumented in source. Be warned that the author may not have intended to support it.
onLayout
void onLayout(LayoutEventArgs lea)
Undocumented in source. Be warned that the author may not have intended to support it.
onLostFocus
void onLostFocus(EventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseDown
void onMouseDown(MouseEventArgs mea)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseEnter
void onMouseEnter(MouseEventArgs mea)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseHover
void onMouseHover(MouseEventArgs mea)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseLeave
void onMouseLeave(MouseEventArgs mea)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseMove
void onMouseMove(MouseEventArgs mea)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseUp
void onMouseUp(MouseEventArgs mea)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseWheel
void onMouseWheel(MouseEventArgs mea)
Undocumented in source. Be warned that the author may not have intended to support it.
onMove
void onMove(EventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onMoving
void onMoving(MovingEventArgs cea)
Undocumented in source. Be warned that the author may not have intended to support it.
onNotifyMessage
deprecated void onNotifyMessage(Message msg)
Undocumented in source. Be warned that the author may not have intended to support it.
onPaint
void onPaint(PaintEventArgs pea)
Undocumented in source. Be warned that the author may not have intended to support it.
onPaintBackground
void onPaintBackground(PaintEventArgs pea)
Undocumented in source. Be warned that the author may not have intended to support it.
onParentChanged
void onParentChanged(EventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onQueryContinueDrag
void onQueryContinueDrag(QueryContinueDragEventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onReflectedMessage
void onReflectedMessage(Message m)
Undocumented in source. Be warned that the author may not have intended to support it.
onResize
void onResize(EventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onRightToLeftChanged
void onRightToLeftChanged(EventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onSizing
void onSizing(SizingEventArgs cea)
Undocumented in source. Be warned that the author may not have intended to support it.
onSystemColorsChanged
void onSystemColorsChanged(EventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onTextChanged
void onTextChanged(EventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
onVisibleChanged
void onVisibleChanged(EventArgs ea)
Undocumented in source. Be warned that the author may not have intended to support it.
opCmp
int opCmp(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
opCmp
int opCmp(Control ctrl)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
Dequ opEquals(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
Dequ opEquals(Control ctrl)
Undocumented in source. Be warned that the author may not have intended to support it.
performLayout
void performLayout(Control affectedControl)
Undocumented in source. Be warned that the author may not have intended to support it.
performLayout
void performLayout()
Undocumented in source. Be warned that the author may not have intended to support it.
pointOverVisibleChild
HWND pointOverVisibleChild(Point pt)
Undocumented in source. Be warned that the author may not have intended to support it.
pointToClient
Point pointToClient(Point pt)

Converts a screen Point to a client Point.

pointToScreen
Point pointToScreen(Point pt)

Converts a client Point to a screen Point.

preProcessMessage
bool preProcessMessage(Message msg)
Undocumented in source. Be warned that the author may not have intended to support it.
prepareDc
void prepareDc(HDC hdc)
Undocumented in source. Be warned that the author may not have intended to support it.
processKeyEventArgs
bool processKeyEventArgs(Message msg)
Undocumented in source. Be warned that the author may not have intended to support it.
processMnemonic
bool processMnemonic(dchar charCode)
Undocumented in source. Be warned that the author may not have intended to support it.
recalcEntire
void recalcEntire()
Undocumented in source. Be warned that the author may not have intended to support it.
recreateHandle
void recreateHandle()
Undocumented in source.
rectangleToClient
Rect rectangleToClient(Rect r)

Converts a screen Rectangle to a client Rectangle.

rectangleToScreen
Rect rectangleToScreen(Rect r)

Converts a client Rectangle to a screen Rectangle.

redraw
void redraw()
Undocumented in source. Be warned that the author may not have intended to support it.
redrawEntire
void redrawEntire()
Undocumented in source. Be warned that the author may not have intended to support it.
refresh
void refresh()
Undocumented in source. Be warned that the author may not have intended to support it.
resetBackColor
void resetBackColor()
Undocumented in source. Be warned that the author may not have intended to support it.
resetCursor
void resetCursor()
Undocumented in source. Be warned that the author may not have intended to support it.
resetFont
void resetFont()
Undocumented in source. Be warned that the author may not have intended to support it.
resetForeColor
void resetForeColor()
Undocumented in source. Be warned that the author may not have intended to support it.
resetRightToLeft
void resetRightToLeft()
Undocumented in source. Be warned that the author may not have intended to support it.
resetText
void resetText()
Undocumented in source. Be warned that the author may not have intended to support it.
resumeLayout
void resumeLayout()
Undocumented in source. Be warned that the author may not have intended to support it.
resumeLayout
void resumeLayout(bool byes)
Undocumented in source. Be warned that the author may not have intended to support it.
select
void select()
Undocumented in source. Be warned that the author may not have intended to support it.
select
void select(bool directed, bool forward)
Undocumented in source. Be warned that the author may not have intended to support it.
selectNextControl
void selectNextControl(Control ctrl, bool forward, bool tabStopOnly, bool nested, bool wrap)
Undocumented in source. Be warned that the author may not have intended to support it.
sendBackOne
void sendBackOne()
Undocumented in source. Be warned that the author may not have intended to support it.
sendToBack
void sendToBack()
Undocumented in source. Be warned that the author may not have intended to support it.
setBounds
void setBounds(int x, int y, int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.
setBounds
void setBounds(int x, int y, int width, int height, BoundsSpecified specified)
Undocumented in source. Be warned that the author may not have intended to support it.
setBoundsCore
void setBoundsCore(int x, int y, int width, int height, BoundsSpecified specified)
Undocumented in source. Be warned that the author may not have intended to support it.
setClientSizeCore
void setClientSizeCore(int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.
setDFL095
deprecated void setDFL095()
Undocumented in source. Be warned that the author may not have intended to support it.
setStyle
void setStyle(ControlStyles flag, bool value)
Undocumented in source. Be warned that the author may not have intended to support it.
setVisibleCore
void setVisibleCore(bool byes)
Undocumented in source. Be warned that the author may not have intended to support it.
show
void show()
Undocumented in source. Be warned that the author may not have intended to support it.
suspendLayout
void suspendLayout()
Undocumented in source. Be warned that the author may not have intended to support it.
tabIndex
deprecated int tabIndex()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
Dstring toString()
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.
updateStyles
void updateStyles()
Undocumented in source. Be warned that the author may not have intended to support it.
vchanged
void vchanged()
Undocumented in source. Be warned that the author may not have intended to support it.
wndProc
void wndProc(Message msg)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

_compat
enum _compat;
Undocumented in source.
_compat
enum _compat;
Undocumented in source.

Properties

_clicking
bool _clicking [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
_clicking
bool _clicking [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
_compat
CCompat _compat [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
_defaultCursor
Cursor _defaultCursor [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
_exStyle
LONG _exStyle [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
_exStyle
LONG _exStyle [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
_handlecreated
bool _handlecreated [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
_handlecreated
bool _handlecreated [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
_style
LONG _style [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
_style
LONG _style [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
allowDrop
bool allowDrop [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
allowDrop
bool allowDrop [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
areChildrenCreated
bool areChildrenCreated [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
backColor
Color backColor [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
backColor
Color backColor [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
bottom
int bottom [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
bounds
Rect bounds [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
bounds
Rect bounds [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
canFocus
bool canFocus [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
canSelect
bool canSelect [@property getter]
Undocumented in source.
capture
bool capture [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
capture
bool capture [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
clientRectangle
Rect clientRectangle [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
clientSize
Size clientSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
clientSize
Size clientSize [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
containsFocus
bool containsFocus [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
contextMenu
ContextMenu contextMenu [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
contextMenu
ContextMenu contextMenu [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
controls
ControlCollection controls [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
created
bool created [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
cursor
Cursor cursor [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
cursor
Cursor cursor [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
defaultBackColor
Color defaultBackColor [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
defaultFont
ControlFont defaultFont [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
defaultFont
Font defaultFont [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
defaultFont
Font defaultFont [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
defaultForeColor
Color defaultForeColor [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
defaultSize
Size defaultSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
displayRectangle
Rect displayRectangle [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
dock
DockStyle dock [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
dock
DockStyle dock [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
enabled
bool enabled [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
enabled
bool enabled [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
focused
bool focused [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
font
Font font [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
font
Font font [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
foreColor
Color foreColor [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
foreColor
Color foreColor [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
handle
HWindow handle [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
hasChildren
bool hasChildren [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
hasLayout
bool hasLayout [@property getter]

Get or set whether or not this control currently has its bounds managed. Fires onHasLayoutChanged as needed.

hasLayout
bool hasLayout [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
hbrBg
HBRUSH hbrBg [@property setter]
Undocumented in source.
hbrBg
HBRUSH hbrBg [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
height
int height [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
height
int height [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
invokeRequired
bool invokeRequired [@property getter]

Returns true if the window does not belong to the current thread.

isHandleCreated
bool isHandleCreated [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
killing
bool killing [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
killing
bool killing [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
left
int left [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
left
int left [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
location
Point location [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
location
Point location [@property setter]

Property: get or set the X and Y location of the control.

menter
bool menter [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
menter
bool menter [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
modifierKeys
Keys modifierKeys [@property getter]

Currently depressed modifier keys.

mouseButtons
MouseButtons mouseButtons [@property getter]

Currently depressed mouse buttons.

mousePosition
Point mousePosition [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
name
Dstring name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
name
Dstring name [@property setter]

Property: get or set the name of this control used in code.

needCalcSize
bool needCalcSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
needCalcSize
bool needCalcSize [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
owned
bool owned [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
owned
bool owned [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
ownedbg
bool ownedbg [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
ownedbg
bool ownedbg [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
parent
Control parent [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
parent
Control parent [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
recreatingHandle
bool recreatingHandle [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
region
Region region [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
region
Region region [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
resizeRedraw
bool resizeRedraw [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
resizeRedraw
bool resizeRedraw [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
right
int right [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
rightToLeft
RightToLeft rightToLeft [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
rightToLeft
RightToLeft rightToLeft [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
rightToLeft
deprecated bool rightToLeft [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
Size size [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
Size size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
supportsMouseTracking
bool supportsMouseTracking [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
szdraw
bool szdraw [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
szdraw
bool szdraw [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
tabStop
bool tabStop [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
tabStop
bool tabStop [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
tag
Object tag [@property setter]

Property: get or set additional data tagged onto the control.

tag
Object tag [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
text
Dstring text [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
text
Dstring text [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
top
int top [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
top
int top [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
topLevelControl
Control topLevelControl [@property getter]

Returns the topmost Control related to this control.

visible
bool visible [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
visible
bool visible [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
width
int width [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
width
int width [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
zIndex
int zIndex [@property getter]
Undocumented in source.

Static functions

_dlgselnext
void _dlgselnext(Form dlg, HWND hwcursel, bool forward, bool tabStopOnly, bool selectableOnly, bool nested, bool wrap, HWND hwchildrenof)
Undocumented in source. Be warned that the author may not have intended to support it.
eachGoodChildHandle
void eachGoodChildHandle(HWND hwparent, bool delegate(HWND hw) callback, bool nested)
Undocumented in source. Be warned that the author may not have intended to support it.
fromChildHandle
Control fromChildHandle(HWND hwChild)

Returns the Control instance from one of its window handles, or null if none.

fromHandle
Control fromHandle(HWND hw)

Returns the Control instance from its window handle, or null if none.

isMnemonic
bool isMnemonic(dchar charCode, Dstring text)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

_FixAmbientOld
struct _FixAmbientOld
Undocumented in source.

Variables

_ctrlname
Dstring _ctrlname;
Undocumented in source.
_disallowLayout
uint _disallowLayout;
Undocumented in source.
_hbrBg
HBRUSH _hbrBg;
Undocumented in source.
backColorChanged
Event!(Control, EventArgs) backColorChanged;
backc
Color backc;
Undocumented in source.
cbits
CBits cbits;
Undocumented in source.
ccollection
ControlCollection ccollection;
Undocumented in source.
click
Event!(Control, EventArgs) click;
cmenu
ContextMenu cmenu;
Undocumented in source.
contextMenuChanged
Event!(Control, EventArgs) contextMenuChanged;
controlAdded
Event!(Control, ControlEventArgs) controlAdded;
controlRemoved
Event!(Control, ControlEventArgs) controlRemoved;
ctrlStyle
ControlStyles ctrlStyle;
Undocumented in source.
cursorChanged
Event!(Control, EventArgs) cursorChanged;
disposed
Event!(Control, EventArgs) disposed;
doubleClick
Event!(Control, EventArgs) doubleClick;
dragDrop
Event!(Control, DragEventArgs) dragDrop;
dragEnter
Event!(Control, DragEventArgs) dragEnter;
dragLeave
Event!(Control, EventArgs) dragLeave;
dragOver
Event!(Control, DragEventArgs) dragOver;
droptarget
DropTarget droptarget;
Undocumented in source.
enabledChanged
Event!(Control, EventArgs) enabledChanged;
fontChanged
Event!(Control, EventArgs) fontChanged;
foreColorChanged
Event!(Control, EventArgs) foreColorChanged;
forec
Color forec;
Undocumented in source.
giveFeedback
Event!(Control, GiveFeedbackEventArgs) giveFeedback;
gotFocus
Event!(Control, EventArgs) gotFocus;
handleCreated
Event!(Control, EventArgs) handleCreated;
handleDestroyed
Event!(Control, EventArgs) handleDestroyed;
hasLayoutChanged
Event!(Control, EventArgs) hasLayoutChanged;
helpRequested
Event!(Control, HelpEventArgs) helpRequested;
hwnd
HWND hwnd;
Undocumented in source.
keyDown
Event!(Control, KeyEventArgs) keyDown;
keyPress
Event!(Control, KeyPressEventArgs) keyPress;
keyUp
Event!(Control, KeyEventArgs) keyUp;
layout
Event!(Control, LayoutEventArgs) layout;
ldlgcode
DWORD ldlgcode;
Undocumented in source.
lostFocus
Event!(Control, EventArgs) lostFocus;
mouseDown
Event!(Control, MouseEventArgs) mouseDown;
mouseEnter
Event!(Control, MouseEventArgs) mouseEnter;
mouseHover
Event!(Control, MouseEventArgs) mouseHover;
mouseLeave
Event!(Control, MouseEventArgs) mouseLeave;
mouseMove
Event!(Control, MouseEventArgs) mouseMove;
mouseUp
Event!(Control, MouseEventArgs) mouseUp;
mouseWheel
Event!(Control, MouseEventArgs) mouseWheel;
move
Event!(Control, EventArgs) move;
moving
Event!(Control, MovingEventArgs) moving;
otag
Object otag;
Undocumented in source.
paint
Event!(Control, PaintEventArgs) paint;
parentChanged
Event!(Control, EventArgs) parentChanged;
queryContinueDrag
Event!(Control, QueryContinueDragEventArgs) queryContinueDrag;
resize
Event!(Control, EventArgs) resize;
rightToLeftChanged
Event!(Control, EventArgs) rightToLeftChanged;
rtol
RightToLeft rtol;
Undocumented in source.
sdock
DockStyle sdock;
Undocumented in source.
sizing
Event!(Control, SizingEventArgs) sizing;
systemColorsChanged
Event!(Control, EventArgs) systemColorsChanged;
textChanged
Event!(Control, EventArgs) textChanged;
visibleChanged
Event!(Control, EventArgs) visibleChanged;
wclassStyle
LONG wclassStyle;
Undocumented in source.
wclientsz
Size wclientsz;
Undocumented in source.
wcurs
Cursor wcurs;
Undocumented in source.
wexstyle
LONG wexstyle;
Undocumented in source.
wfont
Font wfont;
Undocumented in source.
wparent
Control wparent;
Undocumented in source.
wrect
Rect wrect;
Undocumented in source.
wregion
Region wregion;
Undocumented in source.
wstyle
LONG wstyle;
Undocumented in source.
wtext
Dstring wtext;
Undocumented in source.

Inherited Members

From IWindow

handle
HWindow handle [@property getter]
Undocumented in source.

Meta