Bugger - that doesn't appear to be working for me either at the moment.  I
can't recall me knowing a reason for that but I don't have time at this
instant to dig deeper.

Cheers,

Mark

This one appears to be my fault.  I changed bitmap handles
to be self-closing like PyHANDLE's.  (DeleteObject is called
when the object's refcount goes to 0)
Adding a .Detach at line 168 lets the icon show up again:

       item, extras = PackMENUITEMINFO(text="Menu with icon",
                                       hbmpItem=hbm.Detach(),
                                       wID=1011)


        Roger

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to