The Window Object - HTML2EXE Programming Interface
Properties
ActiveWindow
| Value |
ULONG (window handle of the active window) |
| Access |
Get |
| Notes |
SDK Keywords: GetActiveWindow, SetActiveWindow
|
ClassName
| Value |
BSTR |
| Access |
Get |
| Notes |
SDK Keyword: GetClassName
|
ClientHeight
| Value |
ULONG (height of the window's client area) |
| Access |
Get, Put |
| Notes |
|
ClientWidth
| Value |
ULONG (width of the window's client area) |
| Access |
Get, Put |
| Notes |
|
DesktopWindow
| Value |
ULONG (handle of the desktop window) |
| Access |
Get |
| Notes |
SDK Keyword: GetDesktopWindow
|
Enable
| Value |
BOOL |
| Access |
Get, Put |
| Notes |
Enable or disable the window
SDK Keyword: EnableWindow
|
ExtStyles
| Value |
ULONG (window ext. styles) |
| Access |
Get, Put |
| Notes |
SDK Kewords: GetWindowLong, SetWindowLong
|
FocusWindow
| Value |
ULONG (handle of the window which has the input focus) |
| Access |
Get |
| Notes |
SDK Keywords: GetFocus, SetFocus
|
ForegroundWindow
| Value |
ULONG (handle of the foreground window) |
| Access |
Get |
| Notes |
SDK Keywords: GetForegroundWindow, SetForegroundWindow
|
Handle
| Value |
ULONG (window handle) |
| Access |
Get, Put |
| Notes |
|
Height
| Value |
ULONG (height of the window) |
| Access |
Get, Put |
| Notes |
SDK Keywords: GetWindowRect, MoveWindow
|
ProcessID
| Value |
ULONG (Process ID of the window) |
| Access |
Get |
| Notes |
SDK Keyword: GetWindowThreadProcessId
|
Styles
| Value |
ULONG (window styles) |
| Access |
Get, Put |
| Notes |
SDK Kewords: GetWindowLong, SetWindowLong
|
ThreadID
| Value |
ULONG (thread id of the window) |
| Access |
Get |
| Notes |
SDK Keyword: GetWindowThreadProcessId
|
Visible
| Value |
BOOL (visibility of the window) |
| Access |
Get, Put |
| Notes |
SDK Keywords: IsWindowVisible, ShowWindow
|
Width
| Value |
ULONG (width of the window) |
| Access |
Get, Put |
| Notes |
SDK Keywords: GetWindowRect, MoveWindow
|
WindowState
| Value |
ULONG |
| Access |
Get |
| Notes |
|
WindowText
| Value |
BSTR (window text) |
| Access |
Get, Put |
| Notes |
SDK Keywords: SetWindowText, GetWindowText
|
X
| Value |
long (horz window position) |
| Access |
Get, Put |
| Notes |
SDK Keyword: GetWindowRect
|
Y
| Value |
long (vert. window position) |
| Access |
Get, Put |
| Notes |
SDK Keyword: GetWindowRect
|
Methods
CenterWindow
| Return Value |
|
| Arguments: |
- Object windowObj (Optional, default(0))
|
| Notes |
MFC/ATL Keyword: CenterWindow
|
ClickToActivate
| Return Value |
VARIANT_BOOL (success or fail) |
| Notes |
Active a window by mimic clicking its titlebar area.
|
IsWindow
MaximizeWindow
ModifyStyle
| Return Value |
|
| Arguments: |
- ULONG stylesToRemove
- ULONG stylesToAdd
|
| Notes |
MFC/ATL Keyword: ModifyStyle
|
ModifyStyleEx
| Return Value |
|
| Arguments: |
- ULONG exStylesToRemove
- ULONG exStylesToAdd
|
| Notes |
MFC/ATL Keyword: ModifyStyleEx
|
MoveBy
| Return Value |
|
| Arguments: |
|
| Notes |
Move a window by relative position
|
PostMessage
| Return Value |
VARIANT_BOOL |
| Arguments: |
- ULONG msg
- ULONG wParam
- ULONG lparam
|
| Notes |
SDK Keyword: PostMessage
|
RedrawWindow
| Return Value |
|
| Notes |
SDK Keyword: RedrawWindow
|
SendMessage
| Return Value |
long |
| Arguments: |
- ULONG msg
- ULONG wParam
- ULONG lparam
|
| Notes |
SDK Keyword: SendMessage
|
SendMessageCallback
| Return Value |
VARIANT_BOOL |
| Arguments: |
- ULONG msg
- ULONG wparam
- ULONG lparam
- Object callbackFunc
|
| Notes |
|
SendMessageTimeout
| Return Value |
VARIANT |
| Arguments: |
- ULONG msg
- ULONG wparam
- ULONG lparam
- ULONG flags
- ULONG timeout
|
| Notes |
SDK Keyword: SendMessageTimeout
|
SetFocus
| Return Value |
|
| Notes |
SDK Keyword: SetFocus
|
SetForegroundWindow
| Return Value |
|
| Notes |
SDK Keyword: SetForegroundWindow
|
SetLayeredWindowAttributes
| Return Value |
VARIANT_BOOL |
| Arguments: |
- unsigned char red
- unsigned char green
- unsigned char blue
- unsigned char alpha
- VARIANT_BOOL useColorKey
- VARIANT_BOOL useAlpha
|
| Notes |
SDK Keyword: SetLayeredWindowAttributes
|
SetWindowPos
| Return Value |
|
| Arguments: |
- ULONG hWndInsertAfter
- long x
- long y
- long cx
- long cy
- ULONG flags
|
| Notes |
SDK Keyword: SetWindowPos
|
SetWindowRgn
| Return Value |
|
| Arguments: |
|
| Notes |
- SDK Keyword: SetWindowRgn
- See Region object.
|
ShowWindow
| Return Value |
|
| Arguments: |
|
| Notes |
SDK Keyword: ShowWindow
|
SwitchToThisWindow
| Return Value |
|
| Arguments: |
- BOOL fAltTab (Optional, default(0))
|
| Notes |
SDK Keyword: SwitchToThisWindow
|
UpdateWindow
| Return Value |
|
| Notes |
SDK Keyword: UpdateWindow
|