MCPcopy Create free account
hub / github.com/acl-dev/acl / CreateFlowLayoutPanel

Method CreateFlowLayoutPanel

app/net_tools/ui/WndResizer.cpp:1276–1287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1274
1275
1276BOOL CWndResizer::CreateFlowLayoutPanel(LPCTSTR panelName, const CRect * prcPanel)
1277{
1278 if (FindPanelByName(&root, panelName) != NULL)
1279 {
1280 return FALSE;
1281 }
1282
1283 CPanel * pPanel = new CFlowLayoutPanel(prcPanel);
1284 pPanel->Name = panelName;
1285 return root.AddChild(pPanel);
1286
1287}
1288BOOL CWndResizer::CreateFlowLayoutPanel(LPCTSTR panelName, const CUIntArray * parrID, BOOL setAsChildren)
1289{
1290 ASSERT(m_pHookedWnd != NULL);

Callers

nothing calls this directly

Calls 2

AddChildMethod · 0.45
RemoveChildMethod · 0.45

Tested by

no test coverage detected