The Frame Object - HTML2EXE Programming Interface
Introduction
A program have at least one Frame - the Main Frame. A Frame can create other Frames.
Each Frame has a Main HTML View, a Menu-bar, a Too-lbar, a Side-bar and a Status-bar. When a Frame is created, the Host loads the Main View's HTML document and sets the four boars invisible. You should have codes in you Main View HTML to initialize the 4 bars - set their visibilities, contents, size etc.
Properties
Application
| Value |
Object |
| Access |
Get |
| Notes |
|
AutoUpdateCaption
| Value |
BOOL |
| Access |
Get, Put |
| Notes |
|
FrameMenu
| Value |
Object |
| Access |
Get |
| Notes |
|
InputArguments
| Value |
Object |
| Access |
Get |
| Notes |
|
Layout
| Value |
ULONG |
| Access |
Get, Put |
| Notes |
|
MessageHook
| Value |
Object |
| Access |
Get |
| Notes |
|
Name
| Value |
BSTR |
| Access |
Get, Put |
| Notes |
|
OutputArguments
| Value |
Object |
| Access |
Get |
| Notes |
|
OwnerFrame
| Value |
Object |
| Access |
Get, Put |
| Notes |
|
Property
| Value |
VARIANT |
| Arguments: |
|
| Access |
Get, Put |
| Notes |
|
Sidebar
| Value |
Toolbar Object (the left side bar) |
| Access |
Get |
| Notes |
|
Sidebar2
| Value |
Toolbar Object (the right side bar) |
| Access |
Get |
| Notes |
|
SidebarLeft
| Value |
Toolbar Object (the left side bar) |
| Access |
Get |
| Notes |
|
SidebarRight
| Value |
Toolbar Object (the right side bar) |
| Access |
Get |
| Notes |
|
Statusbar
| Value |
Toolbar Object |
| Access |
Get |
| Notes |
|
Style
| Value |
BSTR |
| Access |
Put |
| Notes |
|
System
| Value |
Object |
| Access |
Get |
| Notes |
|
Toolbar
| Value |
Toolbar Object |
| Access |
Get |
| Notes |
|
View
| Value |
Toolbar Object |
| Access |
Get |
| Notes |
|
WaitWindow
| Value |
Object |
| Access |
Get |
| Notes |
|
Window
| Value |
Object |
| Access |
Get |
| Notes |
|
Methods
CaptureMouseMoveFrame
CaptureMouseResizeFrame
| Return Value |
|
| Arguments: |
- ULONG side
- ULONG minWidth (Optional, default(80))
- ULONG minHeight (Optional, default(80))
|
| Notes |
|
CaptureMouseResizeFrame2
| Return Value |
|
| Arguments: |
- ULONG side
- ULONG minWidth (Optional, default(80))
- ULONG minHeight (Optional, default(80))
|
| Notes |
|
Close
CreatePopupMenuObject
| Return Value |
Object |
| Notes |
|
MessageBox
| Return Value |
BSTR |
| Arguments: |
- BSTR txt
- BSTR buttonType (Optional, default("ok"))
- BSTR iconType (Optional, default("information"))
- BSTR caption (Optional, default(""))
|
| Notes |
|
OpenDialogBox
| Return Value |
|
| Arguments: |
- BSTR mainHTML
- VARIANT_BOOL initVisible (Optional, default(-1))
|
| Notes |
|
OpenFrameWindow
| Return Value |
Object |
| Arguments: |
- BSTR mainHTML
- VARIANT_BOOL initVisible (Optional, default(-1))
- VARIANT_BOOL asDesktopChild (Optional, default(0))
- BSTR frameName (Optional, default(""))
|
| Notes |
|
RegisterWindowMessage
| Return Value |
UINT |
| Arguments: |
- BSTR name
- Object callbackFunc
|
| Notes |
|