IPropertyDescription::GetDefaultColumnWidth method

Gets the default column width of the property in a list view.

Syntax


HRESULT GetDefaultColumnWidth(
  [out]  DWORD *pcxChars
);

Parameters

pcxChars [out]

Type: DWORD*

A pointer to the column width value, in characters.

Return value

Type: HRESULT

Always returns S_OK.

Remarks

The values retrieved by this method are originally set through the defaultColumnWidth attribute of the displayInfo element in the property's .propdesc file.

If no value is set in the .propdesc file or if the method fails, the value pointed to by pcxChars is 20 characters.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Propsys.h

IDL

Propsys.idl

See also

IPropertyDescription
Property Description Schema

 

 

Community Additions

ADD
Show:
© 2014 Microsoft