GetTitleBarCaption Method

WRAPPER_API const wchar_t *GetTitleBarCaption() const

 

Description

The GetTitleBarCaption method returns the text that is displayed on the title bar of the DataSourcePicker dialog.

 

Example

void DataSourcePicker_GetTitleBarCaption(GeoCalcPBW::DataSourcePicker & editor, HWND newParent)

{

const wchar_t * caption = editor.GetTitleBarCaption();

editor.SetTitleBarCaption(L"DataSourcePicker Dialog");

editor.SetParent(newParent);

GeoCalcPBW::GeoBase::ObjectType objType;

GeoCalcPBW::Serializable * selectedObject = NULL;

GeoCalcPBW::EDialogState retVal = editor.Show(&selectedObject, &objType);

}