Return to package dfl. www.dprogramming.com

module dfl.base

classes
ColumnClickEventArgs Cursor Cursors DflException DrawItemEventArgs KeyEventArgs LabelEditEventArgs MeasureItemEventArgs MouseEventArgs StringObject WaitHandle
interfaces
IAsyncResult IButtonControl IMessageFilter IWindow
enums
Appearance BorderStyle CharacterCasing ColumnHeaderStyle ContentAlignment DialogResult DrawItemState DrawMode FlatStyle HorizontalAlignment ItemActivation ItemBoundsPortion Keys MouseButtons RightToLeft ScrollBars SortOrder View
structs
Message

Appearance
public enum Appearance: ubyte
{
	NORMAL,
	BUTTON,
}

BorderStyle
public enum BorderStyle: ubyte
{
	NONE,
	FIXED_3D,
	FIXED_SINGLE,
}

CharacterCasing
public enum CharacterCasing: ubyte
{
	NORMAL,
	LOWER,
	UPPER,
}

ColumnClickEventArgs
public class ColumnClickEventArgs: EventArgs
{
public final int column();    [property getter] public this(int col);
}

ColumnHeaderStyle
public enum ColumnHeaderStyle: ubyte
{
	CLICKABLE,
	NONCLICKABLE,
	NONE,
}

ContentAlignment
public enum ContentAlignment: ubyte
{
	TOP_LEFT,
	BOTTOM_CENTER,
	BOTTOM_LEFT,
	BOTTOM_RIGHT,
	MIDDLE_CENTER,
	MIDDLE_LEFT,
	MIDDLE_RIGHT,
	TOP_CENTER,
	TOP_RIGHT,
}

Cursor
public class Cursor
{
public static Rect clip();    [property getter] public static void clip(Rect r);    [property setter] public static Cursor current();    [property getter] public static void current(Cursor cur);    [property setter] public void dispose(); public final void draw(Graphics g, Point pt); public final void drawStretched(Graphics g, Rect r); public final HCURSOR handle();    [property getter] public static void hide(); public override int opEquals(Object o); public int opEquals(Cursor cur); public static void position(Point pt);    [property setter] public static Point position();    [property getter] public static void show(); public this(HCURSOR hcur, bool owned = true); public ~this();
}

Cursors
public class Cursors
{
public static Cursor appStarting();    [property getter] public static Cursor arrow();    [property getter] public static Cursor cross();    [property getter] public static Cursor defaultCursor();    [property getter] public static Cursor hand();    [property getter] public static Cursor help();    [property getter] public static Cursor hSplit();    [property getter] public static Cursor iBeam();    [property getter] public static Cursor no();    [property getter] public static Cursor sizeAll();    [property getter] public static Cursor sizeNESW();    [property getter] public static Cursor sizeNS();    [property getter] public static Cursor sizeNWSE();    [property getter] public static Cursor sizeWE();    [property getter] public static Cursor vSplit();    [property getter] public static Cursor waitCursor();    [property getter]
}

DflException
public class DflException: Exception
{
public this(char[] msg);
}

DialogResult
public enum DialogResult: ubyte
{
	NONE,
	ABORT,
	CANCEL,
	IGNORE,
	NO,
	OK,
	RETRY,
	YES,
	CLOSE,
	HELP,
}

DrawItemEventArgs
public class DrawItemEventArgs: EventArgs
{
public final Color backColor();    [property getter] public final Rect bounds();    [property getter] public void drawBackground(); public void drawFocusRectangle(); public final Font font();    [property getter] public final Color foreColor();    [property getter] public final Graphics graphics();    [property getter] public final int index();    [property getter] public final DrawItemState state();    [property getter] public this(Graphics g, Font f, Rect r, int i, DrawItemState dis); public this(Graphics g, Font f, Rect r, int i, DrawItemState dis, Color fc, Color bc);
}

DrawItemState
public enum DrawItemState: uint
{
	NONE,
	SELECTED,
	DISABLED,
	CHECKED,
	FOCUS,
	DEFAULT,
	HOT_LIGHT,
	NO_ACCELERATOR,
	INACTIVE,
	NO_FOCUS_RECT,
	COMBO_BOX_EDIT,
}

DrawMode
public enum DrawMode: ubyte
{
	NORMAL,
	OWNER_DRAW_FIXED,
	OWNER_DRAW_VARIABLE,
}

FlatStyle
public enum FlatStyle: ubyte
{
	STANDARD,
	FLAT,
	POPUP,
	SYSTEM,
}

HorizontalAlignment
public enum HorizontalAlignment: ubyte
{
	LEFT,
	RIGHT,
	CENTER,
}

IAsyncResult
public interface IAsyncResult
{
public WaitHandle asyncWaitHandle(); public bool completedSynchronously(); public bool isCompleted();    [property getter]
}

IButtonControl
public interface IButtonControl
{
public DialogResult dialogResult(); public void dialogResult(DialogResult); public void notifyDefault(bool); public void performClick();
}

IMessageFilter
public interface IMessageFilter
{
public bool preFilterMessage(inout Message m);
}

ItemActivation
public enum ItemActivation: ubyte
{
	STANDARD,
	ONE_CLICK,
	TWO_CLICK,
}

ItemBoundsPortion
public enum ItemBoundsPortion: ubyte
{
	ENTIRE,
	ICON,
	ITEM_ONLY,
	LABEL,
}

IWindow
public interface IWindow
{
public HWindow handle();    [property getter]
}

KeyEventArgs
public class KeyEventArgs: EventArgs
{
public final bool alt();    [property getter] public final bool control();    [property getter] public final void handled(bool byes);    [property setter] public final bool handled();    [property getter] public final Keys keyCode();    [property getter] public final Keys keyData();    [property getter] public final int keyValue();    [property getter] public final Keys modifiers();    [property getter] public final bool shift();    [property getter] public this(Keys keys);
}

Keys
public enum Keys: uint
{
	NONE,
	SHIFT,
	CONTROL,
	ALT,
	A,
	B,
	C,
	D,
	E,
	F,
	G,
	H,
	I,
	J,
	K,
	L,
	M,
	N,
	O,
	P,
	Q,
	R,
	S,
	T,
	U,
	V,
	W,
	X,
	Y,
	Z,
	D0,
	D1,
	D2,
	D3,
	D4,
	D5,
	D6,
	D7,
	D8,
	D9,
	F1,
	F2,
	F3,
	F4,
	F5,
	F6,
	F7,
	F8,
	F9,
	F10,
	F11,
	F12,
	F13,
	F14,
	F15,
	F16,
	F17,
	F18,
	F19,
	F20,
	F21,
	F22,
	F23,
	F24,
	NUM_PAD0,
	NUM_PAD1,
	NUM_PAD2,
	NUM_PAD3,
	NUM_PAD4,
	NUM_PAD5,
	NUM_PAD6,
	NUM_PAD7,
	NUM_PAD8,
	NUM_PAD9,
	ADD,
	APPS,
	ATTN,
	BACK,
	CANCEL,
	CAPITAL,
	CAPS_LOCK,
	CLEAR,
	CONTROL_KEY,
	CRSEL,
	DECIMAL,
	DEL,
	DELETE,
	PERIOD,
	DOT,
	DIVIDE,
	DOWN,
	END,
	ENTER,
	ERASE_EOF,
	ESCAPE,
	EXECUTE,
	EXSEL,
	FINAL_MODE,
	HANGUL_MODE,
	HANGUEL_MODE,
	HANJA_MODE,
	HELP,
	HOME,
	IME_ACCEPT,
	IME_CONVERT,
	IME_MODE_CHANGE,
	IME_NONCONVERT,
	INSERT,
	JUNJA_MODE,
	KANA_MODE,
	KANJI_MODE,
	LEFT_CONTROL,
	LEFT,
	LINE_FEED,
	LEFT_MENU,
	LEFT_SHIFT,
	LEFT_WIN,
	MENU,
	MULTIPLY,
	NEXT,
	NO_NAME,
	NUM_LOCK,
	OEM8,
	OEM_CLEAR,
	PA1,
	PAGE_DOWN,
	PAGE_UP,
	PAUSE,
	PLAY,
	PRINT,
	PRINT_SCREEN,
	PROCESS_KEY,
	RIGHT_CONTROL,
	RETURN,
	RIGHT,
	RIGHT_MENU,
	RIGHT_SHIFT,
	RIGHT_WIN,
	SCROLL,
	SELECT,
	SEPARATOR,
	SHIFT_KEY,
	SNAPSHOT,
	SPACE,
	SPACEBAR,
	SUBTRACT,
	TAB,
	UP,
	ZOOM,
	BROWSER_BACK,
	BROWSER_FAVORITES,
	BROWSER_FORWARD,
	BROWSER_HOME,
	BROWSER_REFRESH,
	BROWSER_SEARCH,
	BROWSER_STOP,
	LAUNCH_APPLICATION1,
	LAUNCH_APPLICATION2,
	LAUNCH_MAIL,
	MEDIA_NEXT_TRACK,
	MEDIA_PLAY_PAUSE,
	MEDIA_PREVIOUS_TRACK,
	MEDIA_STOP,
	OEM_BACKSLASH,
	OEM_CLOSE_BRACKETS,
	OEM_COMMA,
	OEM_MINUS,
	OEM_OPEN_BRACKETS,
	OEM_PERIOD,
	OEM_PIPE,
	OEM_PLUS,
	OEM_QUESTION,
	OEM_QUOTES,
	OEM_SEMICOLON,
	OEM_TILDE,
	SELECT_MEDIA,
	VOLUME_DOWN,
	VOLUME_MUTE,
	VOLUME_UP,
	KEY_CODE,
	MODIFIERS,
}

LabelEditEventArgs
public class LabelEditEventArgs: EventArgs
{
public final bool cancelEdit();    [property getter] public final void cancelEdit(bool byes);    [property setter] public final int item();    [property getter] public final char[] label();    [property getter] public this(int index); public this(int index, char[] labelText);
}

MeasureItemEventArgs
public class MeasureItemEventArgs: EventArgs
{
public final Graphics graphics();    [property getter] public final int index();    [property getter] public final void itemHeight(int height);    [property setter] public final int itemHeight();    [property getter] public final void itemWidth(int width);    [property setter] public final int itemWidth();    [property getter] public this(Graphics g, int index, int itemHeight); public this(Graphics g, int index);
}

Message
public struct Message
{
public union __anonymous {
public struct __anonymous {
public HWND hWnd; public UINT msg; public WPARAM wParam; public LPARAM lParam;
}

}

public static Message opCall(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); public LRESULT result;

}

MouseButtons
public enum MouseButtons: uint
{
	NONE,
	LEFT,
	RIGHT,
	MIDDLE,
}

MouseEventArgs
public class MouseEventArgs: EventArgs
{
public final MouseButtons button();    [property getter] public final int clicks();    [property getter] public final int delta();    [property getter] public this(MouseButtons button, int clicks, int x, int y, int delta); public final int x();    [property getter] public final int y();    [property getter]
}

RightToLeft
public enum RightToLeft: ubyte
{
	INHERIT,
	YES,
	NO,
}

ScrollBars
public enum ScrollBars: ubyte
{
	NONE,
	HORIZONTAL,
	VERTICAL,
	BOTH,
}

SortOrder
public enum SortOrder: ubyte
{
	NONE,
	ASCENDING,
	DESCENDING,
}

StringObject
public class StringObject: DObject
{
public override int opCmp(Object o); public int opCmp(StringObject s); public override int opEquals(Object o); public int opEquals(StringObject s); public this(char[] str); public override char[] toString(); public char[] value;
}

View
public enum View: ubyte
{
	LARGE_ICON,
	SMALL_ICON,
	LIST,
	DETAILS,
}

WaitHandle
public abstract class WaitHandle
{
public void close(); public void handle(HANDLE h);    [property setter] public HANDLE handle();    [property getter] public this(); public this(HANDLE h, bool owned = true); public static void waitAll(WaitHandle[] handles, DWORD msTimeout); public static void waitAll(WaitHandle[] handles); public static int waitAny(WaitHandle[] handles, DWORD msTimeout); public static int waitAny(WaitHandle[] handles); public void waitOne(); public void waitOne(DWORD msTimeout); public ~this(); public const HANDLE INVALID_HANDLE; public const int WAIT_TIMEOUT;
}