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

Method CreateEx

app/net_tools/ui/MeterCtrl.cpp:102–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102BOOL CMeterCtrl::CreateEx(DWORD dwExStyle, LPCTSTR lpszClassName,
103 LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect,
104 CWnd* pParentWnd, UINT nID, LPVOID lpParam)
105{
106 // TODO: �ڴ�����ר�ô����/����û���
107
108 static CString className = AfxRegisterWndClass(CS_HREDRAW | CS_VREDRAW);
109
110 return CWnd::CreateEx(dwExStyle, //WS_EX_CLIENTEDGE | WS_EX_STATICEDGE,
111 lpszClassName, lpszWindowName, dwStyle,
112 rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top,
113 pParentWnd->GetSafeHwnd(), (HMENU) nID);
114
115 //return CWnd::CreateEx(dwExStyle, lpszClassName, lpszWindowName,
116 // dwStyle, rect, pParentWnd, nID, lpParam);
117}
118
119UINT CMeterCtrl::SetPos(UINT nPos)
120{

Callers 1

OnCreateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected