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

Method CreateFlowLayoutPanel

lib_acl_cpp/samples/gui_rpc/ui/WndResizer.cpp:1271–1282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

AddChildMethod · 0.45
RemoveChildMethod · 0.45

Tested by

no test coverage detected