| 101 | |
| 102 | |
| 103 | unsigned nana::progress_ex::value(unsigned val) |
| 104 | { |
| 105 | if(std::this_thread::get_id() == main_thread_id || !parent_hwnd) |
| 106 | return progress::value(val); |
| 107 | else |
| 108 | { |
| 109 | SendMessage(parent_hwnd, WM_PROGEX_VALUE, reinterpret_cast<WPARAM>(this), val); |
| 110 | return progress::value(); |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | |
| 115 | void nana::progress_ex::render_text(paint::graphics &graph, const std::string &text) |
no test coverage detected