Returns the status of ExecWB method.
[ enOleCmdF = ] Object.QueryStatusWB ( enOleCmdId )
The QueryStatusWB method syntax has the following parts:
Name |
Type |
Description |
Object |
ALog |
ALog control |
enOleCmdId |
enumALogOleCmdId |
An integer specifying the OLECMDID value that specifies the command for which the caller needs status information. |
enOleCmdF |
enumALogOleCmdF |
An integer specifying the OLECMDF value that receives the status of the command. |
enumALogOleCmdId can be one of the following:
Name |
Value |
Description |
alogOleCmdIdOpen |
1 |
Open |
alogOleCmdIdNew |
2 |
New |
alogOleCmdIdSave |
3 |
Save |
alogOleCmdIdSaveAs |
4 |
Save As |
alogOleCmdIdSaveCopyAs |
5 |
Save Copy As |
alogOleCmdIdPrint |
6 |
|
alogOleCmdIdPrinPreview |
7 |
Print Preview |
alogOleCmdIdPageSetup |
8 |
Page Setup |
alogOleCmdIdSpell |
9 |
Spell |
alogOleCmdIdProperties |
10 |
Properties |
alogOleCmdIdCut |
11 |
Cut |
alogOleCmdIdCopy |
12 |
Copy |
alogOleCmdIdPaste |
13 |
Paste |
alogOleCmdIdPasteSpecial |
14 |
Paste Special |
alogOleCmdIdUndo |
15 |
Undo |
alogOleCmdIdRedo |
16 |
Redo |
alogOleCmdIdSelectAll |
17 |
Select All |
alogOleCmdIdClearSelection |
18 |
Clear Selection |
alogOleCmdIdZoom |
19 |
Zoom |
alogOleCmdIdGetZoomRange |
20 |
Get Zoom Range |
alogOleCmdIdUpdateCommands |
21 |
Update Commands |
alogOleCmdIdRefresh |
22 |
Refresh |
alogOleCmdIdStop |
23 |
Stop |
alogOleCmdIdHideToolBars |
24 |
Hide Toolbars |
alogOleCmdIdSetProgressMax |
25 |
Set Progress Max |
alogOleCmdIdSetProgressPos |
26 |
Set Progress Position |
alogOleCmdIdSetProgressText |
27 |
Set Progress Text |
alogOleCmdIdSetTitle |
28 |
Set Title |
alogOleCmdIdSetDownLoadState |
29 |
Set Download State |
alogOleCmdIdStopDownLoad |
30 |
Stop Download |
alogOleCmdIdOnToolBarActivated |
31 |
On Toolbar Activated |
alogOleCmdIdFind |
32 |
Find |
alogOleCmdIdDelete |
33 |
Delete |
alogOleCmdIdHttpEquiv |
34 |
Http Equivalent |
alogOleCmdIdHttpEquivDone |
35 |
Http Equipvalent Done |
alogOleCmdIdEnableInteraction |
36 |
Interaction |
alogOleCmdIdOnUnload |
37 |
On Unload |
alogOleCmdIdPropertyBag2 |
38 |
Property Bag 2 |
alogOleCmdIdPreRefresh |
39 |
Pre-Refresh |
enumALogOleCmdF can be one of the following:
Name |
Value |
Description |
alogOleCmdFSupported |
1 |
Supported |
alogOleCmdFEnabled |
2 |
Enabled |
alogOleCmdFLatched |
4 |
Latched |
aogOleCmdFNinched |
8 |
Ninched. Neither Input Nor CHange is permitted |
Queries the status of a last ExecWB command and returns the status of the command execution.
For more information on the ALog control, see the Microsoft WebBrowser control documentation in the Microsoft web site.
The following example will query the status of the open command:
llog1LogOleCmdF = log1.QueryStatusWB(alogOleCmdIdOpen)