MCPcopy Create free account
hub / github.com/Squirrel/Squirrel.Windows / SizeToImage

Function SizeToImage

src/Setup/wtl90/atlctrlx.h:264–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262 }
263
264 BOOL SizeToImage()
265 {
266 ATLASSERT(::IsWindow(m_hWnd) && m_ImageList.m_hImageList != NULL);
267 int cx = 0;
268 int cy = 0;
269 if(!m_ImageList.GetIconSize(cx, cy))
270 return FALSE;
271 return ResizeClient(cx, cy);
272 }
273
274// Overrideables
275 void DoPaint(CDCHandle dc)

Callers 2

SetImageListFunction · 0.85
InitFunction · 0.85

Calls 1

GetIconSizeMethod · 0.80

Tested by

no test coverage detected