------------------- SET TEXT --------------------
| 353 | } |
| 354 | // ------------------- SET TEXT -------------------- |
| 355 | bool dialog::setText(char *pszStr) |
| 356 | { |
| 357 | if ( this && pszStr ) |
| 358 | { |
| 359 | if ( this->wCtrlType == ctrls::cEDIT && this->pszText) |
| 360 | strcpy_s(this->pszText, 255, pszStr); |
| 361 | else |
| 362 | this->pszText = pszStr; |
| 363 | return true; |
| 364 | } |
| 365 | return false; |
| 366 | } |
| 367 | // ------------------- GET TEXT -------------------- |
| 368 | const char *dialog::getText() const |
| 369 | { |
no outgoing calls
no test coverage detected