MacTrove  — Classic Macintosh Archive
 
 Home Software Hardware Docs Magazines Forums Search
Search:   Software, forums, magazines & more

Wdef Patch 21 C

File wdef-patch-21-c.hqx
Size 18.0 KB
Category Development
↓ Download wdef-patch-21-c.hqx

Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute corrections, and join the community chat.

About

Hi, netters WDEFPatch is an Apple sample code snippet that shows how to add in a clean way a new behaviour to an existing WDEF. It adds a new part in the window title bar that, when clicked, is reported to the application. I implemented the tracking of that part. In case you downloaded the improved WDEFPatch (originally from Steve Falkenburg), in the meantime I discovered a funny quirk in the system software WDEF. (at least, sys 7's). I found it when adding a zoom box to the window. Falkenburg's had not, neither did my original improvement. It can only be the system's misbehaviour but luckily a workaround could be found very easily (and is clean). I included the two apps. The one without workaround and one with it. Read the source for details. Then laugh when you see what happens. I feel my new knowledge can be useful also to others. Enclosed is a binhexed-compactpro archive. Roberto Avanzi.

MacTrove — Classic Macintosh Archive — Full site | Software | Search
Classic version — compatible with older browsers.