Hello everyone,
I am making my own menus with icons like Office 97's (I don't know if the earlier Offices still uses them, I ue Office 97).
Everything is working very well, but I don't know how to draw a disabled icon. I have an idea on how to write disabled text, but I don't know which system colors I should use to make it compatible with any Windows configuration.
Can anyone give some ideas on how to do it?
Thanks in advance.
Posted on 2002-02-01 22:14:57 by dilau
You have to use DrawState, but it seems that using it correctly is a bit tricky (I never used it). I suggest also to read Paul DiLascia's article on an old issue of MSJ (http://www.microsoft.com/msj/defaultframe.asp?page=/msj/0198/coolmenu.htm). It is MFC oriented, but I'm sure you will equally appreciate it.
Posted on 2002-02-02 04:34:12 by LuHa
as I haven't installed VC++ yet (I can't), could someone compile the 2 samples then send the exe to me. (at 'Thomas-Vidal@wanadoo.fr').

I hope you'll understand, Thanks.

(I like these kind of ownerdrawn menus, I also like the menu with a bitmap on the left ):)
Posted on 2002-02-02 18:08:03 by Vom-bonjour:-()
Thanks Luha to have sent me the files.

But as I've not VC++ installed, an error appears : mfc42d.dll is missing. Have I to install VC++ or is there a package with the main mfc dlls.

Posted on 2002-02-02 19:00:11 by Vom-bonjour:-()
Thanks LuHa. I'll read that article. :)
Posted on 2002-02-03 00:08:45 by dilau