home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!mcsun!sun4nl!spider.research.ptt.nl!sun032!janssen
- From: janssen@sun032.research.ptt.nl (Richard Janssen)
- Subject: Re: help gwl_wndproc
- Message-ID: <1993Jan4.134132.7387@spider.research.ptt.nl>
- Summary: Doing a "subclass" for standard controls.
- Sender: usenet@spider.research.ptt.nl (USEnet News)
- Nntp-Posting-Host: sun032.research.ptt.nl
- Organization: PTT Research, Groningen, the Netherlands
- References: <1993Jan3.3151.3082@dosgate>
- Distribution: comp
- Date: Mon, 4 Jan 1993 13:41:32 GMT
- Lines: 20
-
-
- Here's the real tough cookie in subclassing:
-
- Can you do the same for standard Windows controls??
- And if so, please tell me??
-
- It says in the Windows SDK docs that you cannot use
- GWC_WNDPROC with SetWindowLong for standard controls.
- However, usage of GWL_WNDPROC is not mentioned!!
-
- Still, doing a GetWindowLong & SetWindowLong for a standard
- control gives a General Protection Fault when calling the
- 'old' window procedure through CallWindowProc.
-
- Does anybody have any clues for solving this problem??
-
- Richard Janssen
- R.H.P.Janssen@research.ptt.nl
-
-
-