MCPcopy Create free account
hub / github.com/mhammond/pywin32 / PyWinObject_FromCWnd

Function PyWinObject_FromCWnd

Pythonwin/win32win.cpp:129–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129PyObject *PyWinObject_FromCWnd(CWnd *pWnd)
130{
131 return (PyObject *) ui_assoc_object::make (UITypeFromCObject(pWnd),
132 pWnd)->GetGoodRet();
133
134}
135CWnd *GetWndPtr(PyObject *self)
136{
137 return (CWnd *)PyCWnd::GetPythonGenericWnd(self);

Callers 2

OnMDIActivateFunction · 0.85
callMethod · 0.85

Calls 1

GetGoodRetMethod · 0.80

Tested by

no test coverage detected