soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
IToolTipFactory Struct Reference

Interface for Tooltip Factory. More...

#include <stooltip-i.h>

Inheritance diagram for IToolTipFactory:
IObjRef TObjRefImpl< IToolTipFactory >

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.
 
IToolTipCreateToolTip (HWND hHost) PURE
 Creates a tooltip object.
 
void DestroyToolTip (IToolTip *pToolTip) PURE
 Destroys a tooltip object.
 
- 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 Tooltip Factory.

This interface defines the methods for creating and destroying tooltip objects.

Definition at line 111 of file stooltip-i.h.

Member Function Documentation

◆ AddRef()

long IToolTipFactory::AddRef ( )

Increments the reference count of the object.

Returns
long The new reference count.

◆ CreateToolTip()

IToolTip * IToolTipFactory::CreateToolTip ( HWND hHost)

Creates a tooltip object.

Parameters
hHostHandle to the SOUI host window.
Returns
IToolTip* Pointer to the created tooltip object.

Do not use hHost as the owner of the tooltip to avoid potential runtime issues.

◆ DestroyToolTip()

void IToolTipFactory::DestroyToolTip ( IToolTip * pToolTip)

Destroys a tooltip object.

Parameters
pToolTipPointer to the tooltip object to be destroyed.

◆ Release()

long IToolTipFactory::Release ( )

Decrements the reference count of the object.

Returns
long The new reference count.

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