BCGControlBar Pro for MFC
void CBCGPBaseVisualObject::SetEditFlags ( UINT  nFlags)
inline

Sets editing flags.

Parameters
nFlagsThe object editing flags. See remarks for more information about these flags

The edit flags are relevant only if the parent container's edit mode was activated (CBCGPVisualContainer::EnableEditMode was called with bEnable=TRUE). nFlags is a combination of the following values:

  • BCGP_EDIT_NOMOVE: the object cannot be moved
  • BCGP_EDIT_NOSIZE: the object's size cannot be changed
  • BCGP_EDIT_SIZE_LOCK_ASPECT_RATIO: the objects width/height proportion cannot be changed when users resizes this object.
  • BCGP_EDIT_NO_NORMALIZE_RECT: don't normalize the object's bounding rectangle after move/size action.
  • BCGP_EDIT_NO_KEYBOARD: no keyboard interaction actions are allowed for this object.