iota.etc.window

Undocumented in source.

Public Imports

iota.etc.vers
public import iota.etc.vers;
Undocumented in source.

Members

Aliases

WindowH
alias WindowH = HWND

Implements Window handles for GUI apps.

WindowH
alias WindowH = void*
Undocumented in source.

Enums

MessageWindowType
enum MessageWindowType
Undocumented in source.
WindowStyleIDs
enum WindowStyleIDs

Window style identifiers. These can be supplied to the createWindow function in an array, then the desired window will be created.

Functions

addWindowRef
WindowH addWindowRef(WindowH ext)

Adds a non-library created window handle to its references to cooperation with the library.

createWindow
WindowH createWindow(io_str_t title, int x, int y, int width, int height, WindowH parent, uint[] styleIDs)

Creates a window and returns its handle, while also saving its reference for later and to safe and automatic deallocation.

getActiveWindowH
WindowH getActiveWindowH()

Returns the handle of the currently active Window.

wndprocCallback
LRESULT wndprocCallback(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)

As of now, this works as a dummy function. If more functionality needed in the future, then it might become part of a class.

Variables

allAppWindows
WindowH[] allAppWindows;

Used for automatic reference counting for window handles.

Meta