Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>loadaccelerators()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
LoadAccelerators()
Load an accelerator table resource
------------------------------------------------------------------------------

Syntax
LoadAccelerators( <hInst>, <nId> | <cAccel> )   -->   hAccel

Arguments
<hInst> is the handle of the instance of the application (as
returned by the _GetInstance() function), or a handle of a DLL
(as returned by the LoadLibrary() function).  The default is the
current application.

<nId> is a number identifying the numeric id of an accelerator
resource.

<cAccel> is the name of an accelerator resource.

Returns
If successful, the handle to the accelerator table is returned
as a non-zero number.  Otherwise, zero (0) is returned.

Description
This function can be used to fetch accelerator tables from
resource files.

There is no function to destroy an accelerator table; Windows
frees them automatically.

Example
hAccel = LoadAccelerators( hInst, "myaccel" )
SetAccelerator( hAccel )


See Also: ACCELERATORS AKEY SetAccelerator()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson