Interface for Tooltip Factory. More...
#include <stooltip-i.h>
Public Member Functions | |
long | AddRef () PURE |
Increments the reference count of the object. | |
long | Release () PURE |
Decrements the reference count of the object. | |
void | OnFinalRelease () PURE |
Final release of the object, performing cleanup if necessary. | |
IToolTip * | CreateToolTip (HWND hHost) PURE |
Creates a tooltip object. | |
void | DestroyToolTip (IToolTip *pToolTip) PURE |
Destroys a tooltip object. | |
![]() | |
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 Tooltip Factory.
This interface defines the methods for creating and destroying tooltip objects.
Definition at line 111 of file stooltip-i.h.
long IToolTipFactory::AddRef | ( | ) |
Increments the reference count of the object.
IToolTip * IToolTipFactory::CreateToolTip | ( | HWND | hHost | ) |
Creates a tooltip object.
hHost | Handle to the SOUI host window. |
Do not use hHost as the owner of the tooltip to avoid potential runtime issues.
void IToolTipFactory::DestroyToolTip | ( | IToolTip * | pToolTip | ) |
Destroys a tooltip object.
pToolTip | Pointer to the tooltip object to be destroyed. |
long IToolTipFactory::Release | ( | ) |
Decrements the reference count of the object.