Форум АСУ в Україні

форум з автоматизації для викладачів, студентів та спеціалістів
Сьогодні: 28 березня 2024, 11:45

Часовий пояс UTC + 2 годин [ DST ]




Створити нову тему Відповісти  [ 4 повідомлень ] 
Автор Повідомлення
 Тема повідомлення: WebBrowser Control
ПовідомленняДодано: 12 листопада 2017, 14:07 
Офлайн
Викладач

З нами з: 29 листопада 2013, 17:11
Повідомлення: 5033
Reusing the WebBrowser Control


Догори
 Профіль  
 
 Тема повідомлення: Re: WebBrowser Control
ПовідомленняДодано: 14 листопада 2017, 22:19 
Офлайн
Викладач

З нами з: 29 листопада 2013, 17:11
Повідомлення: 5033
Reference for Visual Basic Developers


Догори
 Профіль  
 
 Тема повідомлення: Re: WebBrowser Control
ПовідомленняДодано: 19 листопада 2017, 15:25 
Офлайн
Викладач

З нами з: 29 листопада 2013, 17:11
Повідомлення: 5033
QueryStatusWB
QueryStatusWB method
Queries the object for the status of commands using the IOleCommandTarget interface.
var retval = InternetExplorer.QueryStatusWB(nCmdID);

nCmdID - Long that represents the identifier of the command on which the caller needs status information. This will be one of the OLECMDIDvalues.

Returns an unsigned long integer that is one of the OLECMDFvalues.
0x1 OLECMDF_SUPPORTED The command is supported by this object.
0x2 OLECMDF_ENABLED The command is available and enabled.
0x4 OLECMDF_LATCHED The command is an on-off toggle and is currently on.
0x8 OLECMDF_NINCHED Reserved for future use.
0x10 OLECMDF_INVISIBLE The command is hidden.
0x20 OLECMDF_DEFHIDEONCTXTMENU The command is hidden on the context menu.


Remarks: The WebBrowser object delegates this method to the top-level frame. If no frame exists, it returns E_FAIL.

Наприклад для OLECMDID:
OLECMDID_PRINT - File menu, Print command
OLECMDID_PRINTPREVIEW - File menu, Print Preview command


Догори
 Профіль  
 
 Тема повідомлення: Re: WebBrowser Control
ПовідомленняДодано: 19 листопада 2017, 15:39 
Офлайн
Викладач

З нами з: 29 листопада 2013, 17:11
Повідомлення: 5033
ExecWB
ExecWB method

object.ExecWB(cmdID, cmdexecopt, pvaIn, pvaOut)
cmdID [in] - A Long that represents the identifier of the command to execute. For more information on command identifiers, see OLECMDID Help.
cmdexecopt [in] - Type: OLECMDEXECOPTAn OLECMDEXECOPT value that specifies the command options.
pvaIn [in, optional] - A Variant used for specifying command input arguments.
pvaOut [in, out, optional] - A Variant used for specifying command output arguments.


Догори
 Профіль  
 
Відображати повідомлення за:  Сортувати за  
Створити нову тему Відповісти  [ 4 повідомлень ] 

Часовий пояс UTC + 2 годин [ DST ]



Хто зараз онлайн

Зараз переглядають цей форум: Немає зареєстрованих користувачів і 1 гість


Ви не можете створювати нові теми у цьому форумі
Ви не можете відповідати на теми у цьому форумі
Ви не можете редагувати ваші повідомлення у цьому форумі
Ви не можете видаляти ваші повідомлення у цьому форумі
Ви не можете додавати файли у цьому форумі

Знайти:
Вперед:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Вы можете бесплатно создать форум PHPBB2 на MyBB2.ru, Также возможно создать форум бесплатно PHPBB3 на Getbb.ru
Український переклад © 2005-2007 Українська підтримка phpBB