wpCnrSetEmphasis - Remarks

This method provides a way to change the visual emphasis of an object. Visual emphasis can be used to give the user feedback as to the state of the object. For example, when a folder is opened on the desktop, in-use emphasis is added to the folder icon. The Workplace Shell accomplishes this by calling wpCnrSetEmphasis on the object.

This method is called automatically to set and reset the CRA_INUSE emphasis state during the processing of the wpAddToObjUseList and wpDeleteFromObjUseList methods, respectively.

This method is valid only for objects inserted into a container control using wpCnrInsertObject wpclsInsertMultipleObjects.

This method sends CM_SETRECORDEMPHASIS to the container. The CRA_* flags specified for the ulEmphasisAttr parameter are the same as those used for CM_SETRECORDEMPHASIS


[Back: wpCnrSetEmphasis - Parameters]
[Next: wpCnrSetEmphasis - Usage]