MCPcopy Create free account
hub / github.com/TranslucentTB/TranslucentTB / GetTaskbarInfo

Method GetTaskbarInfo

ExplorerTAP/taskbarappearanceservice.cpp:324–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324std::optional<TaskbarAppearanceService::TaskbarInfo> TaskbarAppearanceService::GetTaskbarInfo(HWND taskbar)
325{
326 for (const auto& [handle, info] : m_Taskbars)
327 {
328 if (GetAncestor(info.window, GA_PARENT) == taskbar)
329 {
330 return info;
331 }
332 }
333
334 return std::nullopt;
335}
336
337void TaskbarAppearanceService::RestoreDefaultControlFill(const ControlInfo<wux::Shapes::Shape> &info)
338{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected