BCGControlBar Pro for MFC
int CBCGPWorkspace::GetDataVersionMajor ( ) const
inline

Returns the major version of the workspace state saved in the Windows registry.

Returns
The integer value, which contains the major version number.

Use this function to retrieve the major version of the workspace state saved in the Windows registry. It is usually called by serialization code.