From: Arjan v. I. <af...@cs...> - 2005-05-11 12:51:28
|
Hi James, > That worked > out ok, so I added code to correctly enable & disable > menu attributes, such a disabling "Close" when there's > no opened file. > [...] As Daan pointed out, I have written a library for exactly these kind of application. It handles graying out of menu items, undo & redo, title bar updating etcetera. Enclosed you can find the library (2 files) and a small demo that uses it. It solves the problem of the many parameters by putting everything in a big record. Hope this helps, Arjan |