CMFCToolBar::LoadParameters

Loads global toolbar options from the Windows registry.

static BOOL LoadParameters(
   LPCTSTR lpszProfileName=NULL 
);

Parameters

  • [in] lpszProfileName
    Specifies the relative path of the Windows registry key.

Return Value

Nonzero if the method succeeds; otherwise 0.

Remarks

This method loads global parameters such as the menu animation type, the menu shadow style, and whether to display large icons from the Windows registry.

The CWinAppEx::LoadState method calls this method as a part of the initialization process of the application.

Requirements

Header: afxtoolbar.h

See Also

Reference

CMFCToolBar Class

Hierarchy Chart

CWinAppEx::LoadState