INameSpaceTreeControlEvents::OnGetToolTip method (shobjidl.h)
Enables you to provide a tooltip.
Syntax
HRESULT OnGetToolTip(
[in] IShellItem *psi,
[out] LPWSTR pszTip,
[in] int cchTip
);
Parameters
[in] psi
Type: IShellItem*
Pointer to the IShellItem that contains the tooltip.
[out] pszTip
Type: LPWSTR
When this method returns, contains the text of the tooltip.
[in] cchTip
Type: int
The size of the tooltip in characters.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
If this method returns S_OK, the client provides its own tooltip. Otherwise the INameSpaceTreeControl will extract one.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl.h |
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για