| public class Control: IWin32Window
{
public static class ControlCollection
{
public void add(Control ctrl);
public bool contains(Control ctrl);
public int count(); [property getter]
public int indexOf(Control ctrl);
public final bool isReadOnly(); [property getter]
public bool isSynchronized(); [property getter]
public int opApply(int delegate(inout Control) dg);
public Control opIndex(int i); [property getter]
protected final Control owner(); [property getter]
public void remove(Control ctrl);
public void removeAt(int i);
public this(Control owner);
}
public void allowDrop(bool byes); [property setter]
public bool allowDrop(); [property getter]
public Color backColor(); [property getter]
public void backColor(Color c); [property setter]
public final int bottom(); [property getter]
public final Rect bounds(); [property getter]
public final void bounds(Rect r); [property setter]
public final void bringToFront();
public final bool canFocus(); [property getter]
public final bool canSelect(); [property getter]
public final bool capture(); [property getter]
public final void capture(bool cyes); [property setter]
public final bool causesValidation(); [property getter]
public final void causesValidation(bool vyes); [property setter]
public final Rect clientRectangle(); [property getter]
public final Size clientSize(); [property getter]
public final void clientSize(Size sz); [property setter]
public final bool contains(Control ctrl);
public final bool containsFocus(); [property getter]
public void contextMenu(ContextMenu menu); [property setter]
public ContextMenu contextMenu(); [property getter]
public final ControlCollection controls(); [property getter]
public final void createControl();
protected ControlCollection createControlsInstance();
public final bool created(); [property getter]
public final Graphics createGraphics();
protected void createHandle();
protected void createParams(inout CreateParams cp);
public Cursor cursor(); [property getter]
public void cursor(Cursor cur); [property setter]
public static Color defaultBackColor(); [property getter]
public static Font defaultFont(); [property getter]
public static Color defaultForeColor(); [property getter]
protected Size defaultSize(); [property getter]
public void defWndProc(inout Message msg);
public final void delayInvoke(void function() fn);
protected void destroyHandle();
public Rect displayRectangle(); [property getter]
public void dispose();
protected final void dispose(bool managedToo);
public DockStyle dock(); [property getter]
public void dock(DockStyle ds); [property setter]
public final void enabled(bool byes); [property setter]
public final bool enabled(); [property getter]
public final bool focus();
public bool focused(); [property getter]
public void font(Font f); [property setter]
public Font font(); [property getter]
public void foreColor(Color c); [property setter]
public Color foreColor(); [property getter]
public static Control fromChildHandle(HWND hwChild);
public static Control fromHandle(HWND hw);
public final Control getChildAtPoint(Point pt);
public final Control getNextControl(Control ctrl, bool forward);
protected final bool getStyle(ControlStyles flag);
protected final bool getTopLevel();
public final HWND handle(); [property getter]
public final bool hasChildren(); [property getter]
public final int height(); [property getter]
public final void height(int h); [property setter]
public final void hide();
protected void initLayout();
public final void invalidate(bool andChildren);
public final void invalidate();
public final void invalidate(Rect r);
public final void invalidate(Region rgn, bool andChildren);
public final void invalidate(Rect r, bool andChildren);
public final void invalidate(Region rgn);
public final Object invoke(Object delegate(Object[]) dg, Object[] args);
public bool invokeRequired(); [property getter]
public final bool isHandleCreated();
public static bool isMnemonic(char charCode, char[] text);
public final void left(int l); [property setter]
public final int left(); [property getter]
public final void location(Point pt); [property setter]
public final Point location(); [property getter]
public static Keys modifierKeys(); [property getter]
public static MouseButtons mouseButtons(); [property getter]
public static Point mousePosition(); [property getter]
public final void name(char[] txt); [property setter]
public final char[] name(); [property getter]
protected void onBackColorChanged(EventArgs ea);
protected void onCausesValidationChanged(EventArgs ea);
protected void onClick(EventArgs ea);
protected void onContextMenuChanged(EventArgs ea);
protected void onCursorChanged(EventArgs ea);
protected void onDisposed(EventArgs ea);
protected void onDockChanged(EventArgs ea);
protected void onDoubleClick(EventArgs ea);
protected void onEnabledChanged(EventArgs ea);
protected void onEnter(EventArgs ea);
protected void onFontChanged(EventArgs ea);
protected void onForeColorChanged(EventArgs ea);
protected void onGotFocus(EventArgs ea);
protected void onHandleCreated(EventArgs ea);
protected void onHandleDestroyed(EventArgs ea);
protected void onHelpRequested(HelpEventArgs hea);
protected void onInvalidated(InvalidateEventArgs iea);
protected void onKeyDown(KeyEventArgs kea);
protected void onKeyPress(KeyEventArgs kea);
protected void onKeyUp(KeyEventArgs kea);
protected void onLayout(LayoutEventArgs lea);
protected void onLeave(EventArgs ea);
protected void onLocationChanged(EventArgs ea);
protected void onLostFocus(EventArgs ea);
protected void onMouseDown(MouseEventArgs mea);
protected void onMouseEnter(MouseEventArgs mea);
protected void onMouseHover(MouseEventArgs mea);
protected void onMouseLeave(MouseEventArgs mea);
protected void onMouseMove(MouseEventArgs mea);
protected void onMouseUp(MouseEventArgs mea);
protected void onMouseWheel(MouseEventArgs mea);
protected void onMove(EventArgs ea);
protected void onNotifyMessage(Message msg);
protected void onPaint(PaintEventArgs pea);
protected void onPaintBackground(PaintEventArgs pea);
protected void onParentChanged(EventArgs ea);
protected void onResize(EventArgs ea);
protected void onRightToLeftChanged(EventArgs ea);
protected void onSizeChanged(EventArgs ea);
protected void onSystemColorsChanged(EventArgs ea);
protected void onTextChanged(EventArgs ea);
protected void onValidated(EventArgs ea);
protected void onValidating(CancelEventArgs cea);
protected void onVisibleChanged(EventArgs ea);
public int opEquals(Control ctrl);
public override int opEquals(Object o);
public final Control parent(); [property getter]
public final void parent(Control c); [property setter]
public final Point pointToClient(Point pt);
public final Point pointToScreen(Point pt);
public bool preProcessMessage(inout Message msg);
public final Rect rectangleToClient(Rect r);
public final Rect rectangleToScreen(Rect r);
public void refresh();
public final Region region(); [property getter]
public final void region(Region rgn); [property setter]
public void resetBackColor();
public void resetCursor();
public void resetFont();
public void resetForeColor();
public void resetRightToLeft();
public void resetText();
protected final bool resizeRedraw(); [property getter]
protected final void resizeRedraw(bool byes); [property setter]
public final void resumeLayout();
public final void resumeLayout(bool byes);
public final int right(); [property getter]
public void rightToLeft(bool byes); [property setter]
public bool rightToLeft(); [property getter]
protected void select(bool directed, bool forward);
public final void select();
public final void sendToBack();
public final void setBounds(int x, int y, int width, int height, BoundsSpecified specified);
public final void setBounds(int x, int y, int width, int height);
protected void setBoundsCore(int x, int y, int width, int height, BoundsSpecified specified);
protected void setClientSizeCore(int width, int height);
protected final void setStyle(ControlStyles flag, bool value);
protected void setVisibleCore(bool byes);
public final void show();
public final Size size(); [property getter]
public final void size(Size sz); [property setter]
public static bool supportsMouseTracking(); [property getter]
public final void suspendLayout();
public final int tabIndex(); [property getter]
public final bool tabStop(); [property getter]
public final void tabStop(bool byes); [property setter]
public final Object tag(); [property getter]
public final void tag(Object o); [property setter]
public char[] text(); [property getter]
public void text(char[] txt); [property setter]
public this(Control cparent, char[] text);
public this(char[] text);
public this();
public this(char[] text, int left, int top, int width, int height);
public this(Control cparent, char[] text, int left, int top, int width, int height);
public final int top(); [property getter]
public final void top(int t); [property setter]
public final Control topLevelControl(); [property getter]
public override char[] toString();
public final void update();
protected final void updateStyles();
public final void visible(bool byes); [property setter]
public final bool visible(); [property getter]
public final int width(); [property getter]
public final void width(int w); [property setter]
protected void wndProc(inout Message msg);
public ~this();
public EventHandler backColorChanged;
public EventHandler causesValidationChanged;
public UICuesEventHandler changeUICues;
public EventHandler click;
public EventHandler contextMenuChanged;
public ControlEventHandler controlAdded;
public ControlEventHandler controlRemoved;
public EventHandler cursorChanged;
public EventHandler disposed;
public EventHandler dockChanged;
public EventHandler doubleClick;
public DragEventHandler dragDrop;
public DragEventHandler dragEnter;
public EventHandler dragLeave;
public DragEventHandler dragOver;
public EventHandler enabledChanged;
public EventHandler enter;
public EventHandler fontChanged;
public EventHandler foreColorChanged;
public GiveFeedbackEventHandler giveFeedback;
public EventHandler gotFocus;
public EventHandler handleCreated;
public EventHandler handleDestroyed;
public HelpEventHandler helpRequested;
public InvalidateEventHandler invalidated;
public KeyEventHandler keyDown;
public KeyEventHandler keyPress;
public KeyEventHandler keyUp;
public LayoutEventHandler layout;
public EventHandler leave;
public EventHandler locationChanged;
public EventHandler lostFocus;
public MouseEventHandler mouseDown;
public MouseEventHandler mouseEnter;
public MouseEventHandler mouseHover;
public MouseEventHandler mouseLeave;
public MouseEventHandler mouseMove;
public MouseEventHandler mouseUp;
public MouseEventHandler mouseWheel;
public EventHandler move;
public PaintEventHandler paint;
public EventHandler parentChanged;
public QueryContinueDragEventHandler queryContinueDrag;
public EventHandler resize;
public EventHandler rightToLeftChanged;
public EventHandler sizeChanged;
public EventHandler systemColorsChanged;
public EventHandler textChanged;
public EventHandler validated;
public CancelEventHandler validating;
public EventHandler visibleChanged;
}
|