Hide

SftDirectory 3.5 - ActiveX File/Folder Control

Display
Print

MouseIcon Sample (C++)

This sample illustrates working with icons.

This is not an executable sample, so a complete project is not provided. These statements are intended to show the syntax used.

ISftDirectoryPtr vDir1 = m_Dir1.GetControlUnknown();
HICON hIcon = LoadIcon(NULL, MAKEINTRESOURCE(IDI_WINLOGO));
vDir1->put_MouseIconH((OLE_HANDLE)hIcon);
vDir1->put_MousePointer(sftCustom);

Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.