Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CobaltFusion/DebugViewPP
/ SelectColor
Function
SelectColor
Libraries/PropertyGrid/ColorCombo.h:91–97 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
89
}
90
91
BOOL SelectColor(COLORREF clr)
92
{
93
ATLASSERT(::IsWindow(m_hWnd));
94
int iItem = FindColor(clr);
95
if( iItem == -1 ) return FALSE;
96
return SetCurSel(iItem);
97
}
98
99
COLORREF GetSelectedColor() const
100
{
Callers
nothing calls this directly
Calls
2
FindColor
Function · 0.85
SetCurSel
Function · 0.85
Tested by
no test coverage detected