| 5007 | } |
| 5008 | |
| 5009 | MessageList* MessageList::Create(HWND hwnd, LPRECT pRect) |
| 5010 | { |
| 5011 | MessageList* newThis = new MessageList; |
| 5012 | int width = pRect->right - pRect->left, height = pRect->bottom - pRect->top; |
| 5013 | |
| 5014 | newThis->m_hwnd = CreateWindowEx( |
| 5015 | WS_EX_CLIENTEDGE, T_MESSAGE_LIST_CLASS, NULL, WS_CHILD | WS_VISIBLE | WS_VSCROLL, |
| 5016 | pRect->left, pRect->top, width, height, hwnd, (HMENU)CID_MESSAGELIST, g_hInstance, newThis |
| 5017 | ); |
| 5018 | |
| 5019 | newThis->UpdateBackgroundBrush(); |
| 5020 | |
| 5021 | return newThis; |
| 5022 | } |
| 5023 | |
| 5024 | void MessagePollData::Update() |
| 5025 | { |
nothing calls this directly
no test coverage detected