> Anyway, here is a question for the list: > > I have been using menu toolbox calls like this: > > CALL APPENDMENU(FN GETMHANDLE(_theMenuID),"temp") > > This would add an item called "temp" to the menu whose resource ID was _theMenuID. > The question part is, apparently the GETMHANDLE part of that gets a > handle to the menu. It is sort of an inline way to feed the handle to > the APPENDMENU procedure. But what happens to that handle after the > call?? It's not like I have the address of the handle in a long, so I > can't really dispose of it, can I? Does the compiler make code that > disposes of it, or does that handle just hang around until my app quits? You cannot dispose a menu handle if you've stuck it into the menubar! What would happen when the user tried to select an item from a disposed menu?? You would crash, that's what. Its safe to leave this like it is unless you plan on adding/removing the menu dynamically. It will be killed by FB's internal ExitToShell call when you app quits. -Derek ---------------- http://www2.hawaii.edu/~dereksmi ----------------