MCPcopy Create free account
hub / github.com/derceg/explorerplusplus / SetMainMenuImages

Method SetMainMenuImages

Explorer++/Explorer++/MainMenu.cpp:86–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void Explorerplusplus::SetMainMenuImages()
87{
88 HMENU mainMenu = GetMenu(m_hContainer);
89 UINT dpi = m_dpiCompat.GetDpiForWindow(m_hContainer);
90
91 for (const auto &mapping : MAIN_MENU_IMAGE_MAPPINGS)
92 {
93 ResourceHelper::SetMenuItemImage(mainMenu, mapping.first, m_iconResourceLoader.get(), mapping.second, dpi, m_menuImages);
94 }
95}
96
97void Explorerplusplus::SetGoMenuName(HMENU hMenu, UINT uMenuID, UINT csidl)
98{

Callers

nothing calls this directly

Calls 2

GetDpiForWindowMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected