Oh, maybe I should add the conclusion:

Does this all seem reasonable, and do you think I should commit the changes
to CVS?

- Kim

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Kim Gr�sman
> Sent: den 4 maj 2005 20:48
> To: [email protected]
> Subject: [DQSD-Devel] Patch for the MenuBuilder
> 
> Hey all,
> 
> I finally came up with an interface-preserving fix to the 
> menu builder...
> 
> I've just introduced a CMenuHandleTable class to aid the 
> CMenuBuilder in managing HMENU <-> int mappings. 
> Basically, as soon as I have an HMENU and need an int to 
> return to JScript, I register the handle in the table, and 
> get a cookie back. 
> If I find myself with an int, and need a menu handle to 
> meddle with, I do a lookup in the table to get a HMENU back 
> to operate on.
> 
> As I mentioned last, this is necessary because with 64-bit 
> Windows, casting from HMENU to int, and vice versa, is verboten.
> Now I think we should be able to build this thing with a 
> 64-bit compiler...
> Next step is to see if running it works at all :-)
> 
> Thoughts?



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r 
_______________________________________________
Archive: https://lists.sourceforge.net/lists/listinfo/dqsd-devel

Reply via email to