Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
WinSetAccelTable (1.2)
◄Function Group► ◄Overview► ◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_WINACCELERATORS
BOOL WinSetAccelTable(hab, haccel, hwndFrame)
HAB hab; /* handle of the anchor block */
HACCEL haccel; /* handle of the accelerator table */
HWND hwndFrame; /* handle of the frame window */
The WinSetAccelTable function sets the window or queue accelerator table.
Parameter Description
────────────────────────────────────────────────────────────────────────────
hab Identifies the anchor block.
haccel Identifies the accelerator table. If haccel is NULL, the effect
of this function is to remove any accelerator table in effect for
the window or queue.
hwndFrame Identifies the frame window. If hwndFrame is NULL, the queue
accelerator table is set. Otherwise, the window accelerator table
is set, by sending the WM_SETACCELTABLE message to hwndFrame.
Return Value
The return value is TRUE if the function is successful or FALSE if an error
occurs.
See Also
WinCreateAccelTable, WinLoadAccelTable, WM_SETACCELTABLE
♦