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

Method Create

lib_acl_cpp/samples/gui_rpc/ui/MeterCtrl.cpp:86–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86BOOL CMeterCtrl::Create(LPCTSTR lpszWindowName, DWORD dwStyle,
87 const RECT& rect, CWnd* pParentWnd, HMENU nID)
88{
89 // TODO: �ڴ�����ר�ô����/����û���
90 static CString className = AfxRegisterWndClass(CS_HREDRAW | CS_VREDRAW);
91
92 return CWnd::CreateEx(WS_EX_STATICEDGE, //WS_EX_CLIENTEDGE | WS_EX_STATICEDGE,
93 className, lpszWindowName, dwStyle,
94 rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top,
95 pParentWnd->GetSafeHwnd(), (HMENU) nID);
96
97// return CWnd::Create(lpszClassName, lpszWindowName, dwStyle,
98// rect, pParentWnd, nID, pContext);
99}
100
101BOOL CMeterCtrl::CreateEx(DWORD dwExStyle, LPCTSTR lpszClassName,
102 LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect,

Callers 1

OnInitDialogMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected