CompuServe Thread

IDCMP IAddress

1 messages in this thread
#59650From: Robert AlbrechtJul 31, 1989 12:19 AM
The fact that the address of a menu ISN'T given in the IAddress field has bee quite an annoyance to me, also it wouldn't make sense to give an IAddress for RAWKEY, you can get the address of the menu item through a call to ItemAddress(window->MenuStrip,(long)intuimessage->Code), but only if the Code != MENUNULL. For events such as CLOSEWINDOW, MOUSEMOVE, REFRESHWINDOW, RAWKEY, etc. you can interrogate the intuimessage->IDCMPWindow member to find out more stuff.