SetIncludeList Method

WRAPPER_API void SetIncludeList(const std::vector<wstring>& includeList)

 

Description

An interface for passing a lists of strings to the DatumShiftPicker (via DatumShiftPreferencesEx), the DataSourceEditor, or the DataSourcePicker. This strings will be a list of GC codes to include, in determining what objects to display/return.

 

Example

void DataSourceEditor_SetIncludeList(GeoCalcPBW::DataSourceEditor & editor, std::vector<wstring>& includeList, HWND newParent)

{

const wchar_t * caption = editor.GetTitleBarCaption();

editor.SetTitleBarCaption(L"DataSourceEditor Dialog");

editor.SetIncludeList(includeList);

editor.SetParent(newParent);

editor.Show();

}