UIPermissionWindow UIPermissionWindow UIPermissionWindow UIPermissionWindow Enum

Definition

Specifies the type of windows that code is allowed to use.

public enum class UIPermissionWindow
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public enum UIPermissionWindow
type UIPermissionWindow = 
Public Enum UIPermissionWindow
Inheritance
UIPermissionWindowUIPermissionWindowUIPermissionWindowUIPermissionWindow
Attributes

Fields

AllWindows AllWindows AllWindows AllWindows 3

Users can use all windows and user input events without restriction.

NoWindows NoWindows NoWindows NoWindows 0

Users cannot use any windows or user interface events. No user interface can be used.

SafeSubWindows SafeSubWindows SafeSubWindows SafeSubWindows 1

Users can only use SafeSubWindows for drawing, and can only use user input events for user interface within that subwindow. Examples of SafeSubWindows are a MessageBox, common dialog controls, and a control displayed within a browser.

SafeTopLevelWindows SafeTopLevelWindows SafeTopLevelWindows SafeTopLevelWindows 2

Users can only use SafeTopLevelWindows and SafeSubWindows for drawing, and can only use user input events for the user interface within those top-level windows and subwindows.

Remarks

This enumeration is used by UIPermission.

Applies to

See also