Describes window listener. You may set it to window to receive notifications about events happend to window or system. Form sets listener to associated window. What each event means is pretty clear from it name, so we don't provide additional description here. You may have a look at form service. There are corresponding notifications with descriptions.
You can find more information in comments below.
class IWindowListener : public virtual IWindowListenerOnMessage
{
public:
virtual void OnCreate() = 0;
virtual void OnDestroy() = 0;
virtual void OnActivate(const MESSAGE_WINDOW_ACTIVATE &m) = 0;
virtual void OnDeactivate() = 0;
virtual void OnSetFocus() = 0;
virtual void OnKillFocus() = 0;
virtual void OnEnable() = 0;
virtual void OnDisable() = 0;
virtual void OnClose(CLOSE_ACTION &action) = 0;
virtual void OnShow() = 0;
virtual void OnHide() = 0;
virtual void OnActivateApp() = 0;
virtual void OnDeactivateApp() = 0;
virtual void OnMove(const MESSAGE_POSITION &m) = 0;
virtual void OnRestore(const MESSAGE_SIZE &m) = 0;
virtual void OnMinimize(const MESSAGE_SIZE &m) = 0;
virtual void OnMaximize(const MESSAGE_SIZE &m) = 0;
virtual void OnResizing(const MESSAGE_WINDOW_RESIZING &m) = 0;
virtual void OnMoving(const MESSAGE_RECT &m) = 0;
virtual void OnEnterSizeMove() = 0;
virtual void OnExitSizeMove() = 0;
virtual void OnKeyDown(const MESSAGE_KEY &m) = 0;
virtual void OnKeyUp(const MESSAGE_KEY &m) = 0;
virtual void OnChar(const MESSAGE_CHAR &m) = 0;
virtual void OnDeadChar(const MESSAGE_CHAR &m) = 0;
virtual void OnHScroll(const MESSAGE_WINDOW_SCROLL &m) = 0;
virtual void OnVScroll(const MESSAGE_WINDOW_SCROLL &m) = 0;
virtual void OnGestureZoom(const MESSAGE_POSITION &m) = 0;
virtual void OnGesturePan(const MESSAGE_POSITION &m) = 0;
virtual void OnGestureRotate(const MESSAGE_POSITION &m) = 0;
virtual void OnGestureTwoFingerTap(const MESSAGE_POSITION &m) = 0;
virtual void OnGesturePressAndTap(const MESSAGE_POSITION &m) = 0;
virtual void OnGestureNotify() = 0;
virtual void OnMouseMove(const MESSAGE_MOUSE &m) = 0;
virtual void OnLeftMouseButtonDown(const MESSAGE_MOUSE &m) = 0;
virtual void OnLeftMouseButtonUp(const MESSAGE_MOUSE &m) = 0;
virtual void OnLeftMouseButtonDoubleClick(const MESSAGE_MOUSE &m) = 0;
virtual void OnRightMouseButtonDown(const MESSAGE_MOUSE &m) = 0;
virtual void OnRightMouseButtonUp(const MESSAGE_MOUSE &m) = 0;
virtual void OnRightMouseButtonDoubleClick(const MESSAGE_MOUSE &m) = 0;
virtual void OnMiddleMouseButtonDown(const MESSAGE_MOUSE &m) = 0;
virtual void OnMiddleMouseButtonUp(const MESSAGE_MOUSE &m) = 0;
virtual void OnMiddleMouseButtonDoubleClick(const MESSAGE_MOUSE &m) = 0;
virtual void OnMouseVerticalWheel(const MESSAGE_MOUSE_WHEEL &m) = 0;
virtual void OnMouseHorizontalWheel(const MESSAGE_MOUSE_WHEEL &m) = 0;
virtual void OnMouseHover(const MESSAGE_MOUSE &m) = 0;
virtual void OnMouseLeave() = 0;
virtual void OnLoseCapture() = 0;
virtual void OnPaint(const MESSAGE_RECT &m) = 0;
virtual void OnQueryEndSession(bool &restricted) = 0;
virtual void OnQueryOpen(bool &restricted) = 0;
virtual void OnEndSession(const MESSAGE_END_SESSION &m) = 0;
virtual void OnDeviceModeChange() = 0;
virtual void OnTimeChange() = 0;
virtual void OnInputLanguageChangeRequest(bool &restricted) = 0;
virtual void OnInputLanguageChange() = 0;
virtual void OnDisplayChange(const MESSAGE_SIZE &m) = 0;
virtual void OnThemeChanged() = 0;
virtual void OnClipboardUpdate() = 0;
virtual void OnDropFiles(const MESSAGE_DROP_FILES &m, bool accepted) = 0;
virtual void OnTouch(const MESSAGE_TOUCH &m) = 0;
};
Namespace: | nitisa |
Include: | Nitisa/Interfaces/IWindow.h |