UrlContext Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the enumeration for the URL context. These values are taken into account in the decision of whether to display a pop-up window.
This enumeration supports a bitwise combination of its member values.
public enum class UrlContext
[System.Flags]
public enum UrlContext
[<System.Flags>]
type UrlContext =
Public Enum UrlContext
- Inheritance
-
UrlContext
- Attributes
Fields
Name | Value | Description |
---|---|---|
None | 0 | Specifies that there is no information. |
Unloading | 1 | Specifies that the page is unloading. |
UserInited | 2 | Specifies whether the call to new window is a direct or indirect result of the user-initiated action (a mouse click or key press). |
UserFirstInited | 4 | Specifies that the call to new window is the first query that results from this user-initiated action. |
OverrideKey | 8 | Specifies that the override key (ALT) was pressed.. |
ShowHelp | 16 | Specifies that the new window attempting to load is the result of a call to the ShowHelp method. |
HtmlDialog | 32 | Specifies that the new window is a dialog box that displays HTML content. |
FromProxy | 64 | Specifies that the NewWindow method is being called through a marshalled Component Object Model (COM) proxy from another thread. |
Remarks
Remarks regarding members:
FromProxy
: In this situation, the method should make a decision and return immediately without performing blocking operations such as showing modal user interface (UI). Lengthy operations will cause the calling thread to appear unresponsive.
ShowHelp
: Help is sometimes displayed in a separate window, and this flag is valuable in those cases.
Unloading
: Some pages load pop-up windows when you leave them rather than when you enter. This flag is used to identify those situations.
UserFirstInited
: Always use this flag in conjunction with NWMF_USERINITED
.