| 532 | } |
| 533 | |
| 534 | void Win32Window::setWindowTitle(const char* titleChar) |
| 535 | { |
| 536 | #ifdef _WIN64 |
| 537 | SetWindowTextA(m_data->m_hWnd, titleChar); |
| 538 | #else |
| 539 | #ifdef UNICODE |
| 540 | DWORD dwResult; |
| 541 | SendMessageTimeoutA(m_data->m_hWnd, WM_SETTEXT, 0, |
| 542 | reinterpret_cast<LPARAM>(titleChar), |
| 543 | SMTO_ABORTIFHUNG, 2000, &dwResult); |
| 544 | #else |
| 545 | DWORD dwResult; |
| 546 | SendMessageTimeout(m_data->m_hWnd, WM_SETTEXT, 0, |
| 547 | reinterpret_cast<LPARAM>(titleChar), |
| 548 | SMTO_ABORTIFHUNG, 2000, &dwResult); |
| 549 | |
| 550 | #endif |
| 551 | #endif |
| 552 | } |
| 553 | |
| 554 | void Win32Window::createWindow(const b3gWindowConstructionInfo& ci) |
| 555 | { |
no outgoing calls
no test coverage detected