Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

CFrameWnd::LoadAccelTable 

Call to load the specified accelerator table.


BOOL LoadAccelTable(
   LPCTSTR lpszResourceName 
);

Parameters

lpszResourceName

Identifies the name of the accelerator resource. Use MAKEINTRESOURCE if the resource is identified with an integer ID.

Nonzero if the accelerator table was successfully loaded; otherwise 0.

Only one table can be loaded at a time.

Accelerator tables loaded from resources are freed automatically when the application terminates.

If you call LoadFrame to create the frame window, the framework loads an accelerator table along with the menu and icon resources, and a subsequent call to this member function is then unnecessary.

Community Additions

ADD
Show:
© 2015 Microsoft