MCPcopy Create free account
hub / github.com/WheretIB/nullc / SetStatusBar

Method SetStatusBar

GUI/RichTextarea.cpp:1019–1026  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1017}
1018
1019void RichTextarea::SetStatusBar(HWND status, unsigned int barWidth)
1020{
1021 const int parts = 5;
1022 int miniPart = 64;
1023 int widths[parts] = { barWidth - 4 * miniPart, barWidth - 3 * miniPart, barWidth - 2 * miniPart, barWidth - miniPart, -1 };
1024 areaStatus = status;
1025 SendMessage(areaStatus, SB_SETPARTS, parts, (LPARAM)widths);
1026}
1027
1028// Force redraw
1029void RichTextarea::UpdateArea(HWND wnd)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected