View Full Version : Disable Text property in General Tab of CODCompPropSheet dialog

02-08-2012, 02:16 AM
Dear All,

We are using stingray 5.0 in our product. We are having a dialog which has the Objective View for the user to draw their drawing. If the user place the Text control and he clicks the peroperty then we are showing the CODCompPropSheet dialog. In that, there is a "General Tab" and it has Name and Type attributes. We need to disable the Name property. How to do that.

Thanks in advance.

Code to show the CODCompPropSheet dialog

CODCompPropSheet propSheet(GetSelection(), GetCanvasVp(), strTitle, UINT(OD_PROPPAGE_ALL & ~OD_PROPPAGE_EDIT));