AfxGetResourceHandle

Syntax

HANDLE AfxGetResourceHandle( );

Remarks

Returns a HANDLE to the current instance of the Windows application. Use this handle to access the application's resources directly, for example in calls to the Windows function FindResource.

Note:

Override and reimplement this function if you wish to load your resources from a DLL.

Return Value

A HANDLE to the current instance of the application.