DefWindowPro() [modified]
-
Hi, Can I override DefWindowPro() in my MFC application, plz give me hint or steps to do this.
modified on Monday, March 16, 2009 4:49 AM
-
Hi, Can I override DefWindowPro() in my MFC application, plz give me hint or steps to do this.
modified on Monday, March 16, 2009 4:49 AM
I'm sure you mean override. The signature of the
DefWindowProc
function of theCWnd
class is as followsvirtual LRESULT DefWindowProc(
UINT message,
WPARAM wParam,
LPARAM lParam
);So you simply create a function with the same name in your class that is derived from
CWnd
.«_Superman_» I love work. It gives me something to do between weekends.
-
Hi, Can I override DefWindowPro() in my MFC application, plz give me hint or steps to do this.
modified on Monday, March 16, 2009 4:49 AM
Overwrite?
Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )
-
Hi, Can I override DefWindowPro() in my MFC application, plz give me hint or steps to do this.
modified on Monday, March 16, 2009 4:49 AM