MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / GetClientExtent

Method GetClientExtent

scintilla/win32/PlatWin.cxx:2683–2686  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2681}
2682
2683Point ListBoxX::GetClientExtent() const {
2684 PRectangle rc = const_cast<ListBoxX*>(this)->GetClientPosition();
2685 return Point(rc.Width(), rc.Height());
2686}
2687
2688void ListBoxX::CentreItem(int n) {
2689 // If below mid point, scroll up to centre, but with more items below if uneven

Callers

nothing calls this directly

Calls 4

PointClass · 0.85
GetClientPositionMethod · 0.80
WidthMethod · 0.80
HeightMethod · 0.45

Tested by

no test coverage detected