Interface for handling real window operations. More...
#include <SRealWndHandler-i.h>
Public Member Functions | |
long | AddRef () PURE |
Increment the reference count. | |
long | Release () PURE |
Decrement the reference count. | |
void | OnFinalRelease () PURE |
Final release of the object. | |
HWND | OnRealWndCreate (IWindow *pRealWnd) PURE |
Create a real window. | |
void | OnRealWndDestroy (IWindow *pRealWnd) PURE |
Destroy a real window. | |
BOOL | OnRealWndInit (IWindow *pRealWnd) PURE |
Initialize a real window. | |
BOOL | OnRealWndPosition (IWindow *pRealWnd, const RECT *rcWnd) PURE |
Adjust the position of a real window. | |
![]() | |
long | AddRef () PURE |
Increases the reference count. | |
long | Release () PURE |
Decreases the reference count. | |
void | OnFinalRelease () PURE |
Called when the reference count reaches zero and the object is about to be released. | |
Interface for handling real window operations.
This interface defines methods for creating, destroying, initializing, and managing the position of real windows.
Definition at line 29 of file SRealWndHandler-i.h.
long IRealWndHandler::AddRef | ( | ) |
Increment the reference count.
Implemented in TObjRefImpl< IRealWndHandler >.
void IRealWndHandler::OnFinalRelease | ( | ) |
Final release of the object.
Implemented in TObjRefImpl2< IRealWndHandler, DefRealWndHandler >, and TObjRefImpl< IRealWndHandler >.
HWND IRealWndHandler::OnRealWndCreate | ( | IWindow * | pRealWnd | ) |
Create a real window.
pRealWnd | - Pointer to the window interface. |
This method is called when a real window is created.
void IRealWndHandler::OnRealWndDestroy | ( | IWindow * | pRealWnd | ) |
Destroy a real window.
pRealWnd | - Pointer to the window interface. |
This method is called when a real window is destroyed.
BOOL IRealWndHandler::OnRealWndInit | ( | IWindow * | pRealWnd | ) |
Initialize a real window.
pRealWnd | - Pointer to the window interface. |
This method is called to initialize a real window.
BOOL IRealWndHandler::OnRealWndPosition | ( | IWindow * | pRealWnd, |
const RECT * | rcWnd ) |
Adjust the position of a real window.
pRealWnd | - Pointer to the window interface. |
rcWnd | - New position and size of the window. |
This method is called to adjust the position and size of a real window.
long IRealWndHandler::Release | ( | ) |
Decrement the reference count.
Implemented in TObjRefImpl< IRealWndHandler >.