# CWindowNotification Class Reference

Holds information about a change in window position. More...

`#include <xsi_viewnotification.h>`

List of all members.

## Public Member Functions
| CWindowNotification ()
| ~CWindowNotification ()
void | GetPosition (INT &x, INT &y, INT &width, INT &height) const
XSI::siWindowChangeState | GetWindowState () const

## Detailed Description

Holds information about a change in window position.

See also:
  ViewContext, Custom Display Host

## Constructor & Destructor Documentation

CWindowNotification | ( |  | ) |

Default constructor.

~CWindowNotification | ( |  | ) |

Default destructor.

## Member Function Documentation

void GetPosition | ( | INT & | x,
|  | INT & | y,
|  | INT & | width,
|  | INT & | height |
| ) |  |  | const

Returns the coordinates of the window in screen space

Parameters:

  | x | Position of the X coordinate
  | y | Position of the Y coordinate
  | width | Width of the window
  | height | Height of the window

XSI::siWindowChangeState GetWindowState | ( |  | ) | const

Returns the state of the window for which the notification was sent

Returns:
  siWindowChangeState the window state

The documentation for this class was generated from the following file:

- xsi_viewnotification.h