MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / OnSize

Function OnSize

Libraries/PropertyGrid/PropertyList.h:650–664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

648 }
649
650 LRESULT OnSize(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& bHandled)
651 {
652 // Size handler supplied by DJ (thank to this masked site reader)
653 _DestroyInplaceWindow();
654 // Calculate drag position
655 RECT rc = { 0 };
656 GetClientRect(&rc);
657 if( !m_bColumnFixed ) m_iMiddle = (rc.right - rc.left) / 2;
658 m_iPrevious = 0;
659 BOOL bDummy = FALSE;
660 OnSelChange(0, 0, 0, bDummy);
661 //
662 bHandled = FALSE;
663 return 0;
664 }
665
666 LRESULT OnScroll(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& bHandled)
667 {

Callers

nothing calls this directly

Calls 2

OnSelChangeFunction · 0.85
_DestroyInplaceWindowFunction · 0.70

Tested by

no test coverage detected