soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
IRealWndHandler Interface Reference

Interface for handling real window operations. More...

#include <SRealWndHandler-i.h>

Inheritance diagram for IRealWndHandler:
IObjRef TObjRefImpl< IRealWndHandler > TObjRefImpl2< IRealWndHandler, DefRealWndHandler >

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.
 
- Public Member Functions inherited from IObjRef
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.
 

Detailed Description

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.

Member Function Documentation

◆ AddRef()

long IRealWndHandler::AddRef ( )

Increment the reference count.

Returns
long - Current reference count.

Implemented in TObjRefImpl< IRealWndHandler >.

◆ OnFinalRelease()

void IRealWndHandler::OnFinalRelease ( )

◆ OnRealWndCreate()

HWND IRealWndHandler::OnRealWndCreate ( IWindow * pRealWnd)

Create a real window.

Parameters
pRealWnd- Pointer to the window interface.
Returns
HWND - Handle to the created window.

This method is called when a real window is created.

◆ OnRealWndDestroy()

void IRealWndHandler::OnRealWndDestroy ( IWindow * pRealWnd)

Destroy a real window.

Parameters
pRealWnd- Pointer to the window interface.

This method is called when a real window is destroyed.

◆ OnRealWndInit()

BOOL IRealWndHandler::OnRealWndInit ( IWindow * pRealWnd)

Initialize a real window.

Parameters
pRealWnd- Pointer to the window interface.
Returns
BOOL - FALSE if the system should handle the initialization, TRUE if the user should handle it.

This method is called to initialize a real window.

◆ OnRealWndPosition()

BOOL IRealWndHandler::OnRealWndPosition ( IWindow * pRealWnd,
const RECT * rcWnd )

Adjust the position of a real window.

Parameters
pRealWnd- Pointer to the window interface.
rcWnd- New position and size of the window.
Returns
BOOL - FALSE if SOUI should handle the position adjustment, TRUE if the user should manage it.

This method is called to adjust the position and size of a real window.

◆ Release()

long IRealWndHandler::Release ( )

Decrement the reference count.

Returns
long - Current reference count.

Implemented in TObjRefImpl< IRealWndHandler >.


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