79757104

Date: 2025-09-05 19:39:31
Score: 2
Natty:
Report link

case WM_WINDOWPOSCHANGING: {

WINDOWPOS* p_wnd_pos = reinterpret_cast<WINDOWPOS*>(_l_param);

if (nullptr != p_wnd_pos) {

p_wnd_pos->cx = {desired_width};

p_wnd_pos->cy = {desired_height};

}

return 0; // important: returned result means the message is handled;

} break;

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ebontrop