Contents Up Previous Next

HWND functions

This group of functions allows MS Windows programs to perform a few operations on another program's window.

hwnd-find
hwnd-iconize
hwnd-move
hwnd-refresh
hwnd-send-message
hwnd-show
hwnd-quit


hwnd-find

long ( hwnd-find string title)

Searches for a window with the given title, and returns the window handle. Returns zero if none was found.


hwnd-iconize

long ( hwnd-iconize long hwnd optional long iconize=1)

Iconizes or deiconizes the given window.


hwnd-move

long ( hwnd-move long hwnd long x long y long width long height optional long repaint=1)

Moves and resizes the given window.


hwnd-refresh

long ( hwnd-refresh long hwnd optional long erase-background=1)

Refreshes (invalidates) the given window.


hwnd-send-message

long ( hwnd-send-message long hwnd long msg long wparam long lparam)

Sends a Windows message to the window.


hwnd-show

long ( hwnd-show long hwnd optional long show=1)

Shows or hides the given window.


hwnd-quit

long ( hwnd-quit long hwnd)

Sends a WM_CLOSE message to the given window.