ucstring CUIDialog::windowGetText(int controlId) { ucstring retValue; windowGetText(controlId, retValue); return retValue; }
bool CUIDialog::windowGetValue(int controlId, double &value) { std::string text; windowGetText(controlId, text); return sscanf(text.c_str(), "%lf", &value) == 1; }
void ModelTreeDialog::swapWindowText(char oldChar, char newChar) { std::string text; windowGetText(IDC_OPTIONS, text); replaceStringCharacter(&text[0], oldChar, newChar); windowSetText(IDC_OPTIONS, text); }
void CUIDialog::windowGetText(int controlId, std::string &text) { windowGetText(hWindow, controlId, text); }