a comment too

This commit is contained in:
Mike Griese 2021-11-16 13:10:46 -06:00
parent fd2f584019
commit e24f4d5638

View file

@ -172,6 +172,8 @@ LRESULT NonClientIslandWindow::_InputSinkMessageHandler(UINT const message,
case HTCAPTION:
{
// Pass caption-related nonclient messages to the parent window.
// Make sure to do this for the HTTOP, which is the top resize
// border, so we can resize the window on the top.
auto parentWindow{ GetHandle() };
return SendMessage(parentWindow, message, wparam, lparam);
}
@ -223,7 +225,8 @@ LRESULT NonClientIslandWindow::_InputSinkMessageHandler(UINT const message,
// should change its visual state.
//
// If it's not in a caption button, then just forward the message along
// to the root HWND.
// to the root HWND. Make sure to do this for the HTTOP, which is the
// top resize border.
switch (wparam)
{
case HTTOP: