示例#1
0
ucstring CUIDialog::windowGetText(int controlId)
{
	ucstring retValue;

	windowGetText(controlId, retValue);
	return retValue;
}
示例#2
0
bool CUIDialog::windowGetValue(int controlId, double &value)
{
	std::string text;

	windowGetText(controlId, text);
	return sscanf(text.c_str(), "%lf", &value) == 1;
}
示例#3
0
void ModelTreeDialog::swapWindowText(char oldChar, char newChar)
{
	std::string text;

	windowGetText(IDC_OPTIONS, text);
	replaceStringCharacter(&text[0], oldChar, newChar);
	windowSetText(IDC_OPTIONS, text);
}
示例#4
0
void CUIDialog::windowGetText(int controlId, std::string &text)
{
	windowGetText(hWindow, controlId, text);
}