Contents Index Topic Contents | ||
Previous Topic: IShellLink::SetDescription Next Topic: IShellLink::SetIconLocation |
IShellLink::SetHotkey
HRESULT STDMETHODCALLTYPE SetHotkey( WORD wHotkey );Sets a hot key for a shell link object.
- Returns NOERROR if successful, or an OLE-defined error value otherwise.
- wHotkey
- New 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.
Setting a hot key allows the user to activate the object by pressing a particular combination of keys.
See also IShellLink
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.