CMFCAcceleratorKey::Format

Translates the ACCEL structure to its associated string value.

void Format(
   CString& str 
) const;

Parameters

  • [out] str
    A reference to a CString object where the method writes the translated shortcut key.

Remarks

This method retrieves the string format of the associated shortcut key. You can set the string format of a CMFCAcceleratorKey object using either the constructor or the method CMFCAcceleratorKey::SetAccelerator.

Requirements

Header: afxacceleratorkey.h

See Also

Reference

CMFCAcceleratorKey Class

Hierarchy Chart