|
|
|
|
|
|
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| -
| Header File
| shlobj.h
| Unicode
| No
| Platform Notes
| None
|
|
|
IShellLink::SetHotkey
[Now Supported on Windows NT]
Sets a hot key for a shell link object.
HRESULT STDMETHODCALLTYPE SetHotkey(
ISHELLLINK FAR *pShlLnk,
|
| WORD wHotkey
|
| );
|
|
Parameters
pShlLnk
Pointer to the IShellLink interface. In C++, this parameter is implicit.
wHotkey
Hot key. The virtual-key code is in the low-order byte, and the modifier flags
are in the high-order byte. The modifier flags can be a combination of the
values specified in the description of the IShellLink::GetHotkey method.
Return Values
Returns NOERROR if successful or an OLE-defined error value otherwise.
Setting a hot key allows the user to activate the object by pressing a
particular combination of keys.
See Also
IShellLink, IShellLink::GetHotkey
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|