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

Method HitTestReply

src/windows/MessageList.cpp:1179–1187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1177}
1178
1179void MessageList::HitTestReply(POINT pt, BOOL& hit)
1180{
1181 auto msg = FindMessageByPointReplyRect(pt);
1182
1183 if (msg == m_messages.end() || msg->m_msg->m_type != MessageType::REPLY || !PtInRect(&msg->m_refMsgRect, pt))
1184 return;
1185
1186 hit = TRUE;
1187}
1188
1189void MessageList::HitTestAuthor(POINT pt, BOOL& hit)
1190{

Callers 1

WndProcMethod · 0.80

Calls 1

endMethod · 0.45

Tested by

no test coverage detected