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

Method CreateEx

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

Source from the content-addressed store, hash-verified

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

Callers 1

OnCreateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected