Enum WindowState
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
Describes whether a window is occluded.
D2D1_WINDOW_STATE
public enum WindowState
Fields
None = 0
The window is not occluded.
Occluded = 1
The window is occluded.
Remarks
If the window was occluded the last time EndDraw() was called, the next time the device context calls CheckWindowState(), it returns Occluded regardless of the current window state. If you want to use CheckWindowState to check the current window state, call CheckWindowState after every EndDraw call and ignore its return value. This will ensure that your next call to CheckWindowState state returns the actual window state.