MCPcopy Create free account
hub / github.com/DiscordMessenger/dm / Create

Method Create

src/windows/MessageList.cpp:5009–5022  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5007}
5008
5009MessageList* 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
5024void MessagePollData::Update()
5025{

Callers

nothing calls this directly

Calls 1

UpdateBackgroundBrushMethod · 0.80

Tested by

no test coverage detected