Aaron Ardiri writes:
>Hal Mueller writes:
>> "don't do what the source does", "the source will lie and mislead
>> you", "use only the documented API's" :P
>>
>> Razzing aside, is passing 0 to MenuEraseStatus() something that is
>> reasonably expected to continue to work?
Well, uh, if you READ THE DOCUMENTATION!!!!! it says
MenuEraseStatus [...]
MenuP Pointer to a MenuBarType data structure, or NULL for
the current menu.
> normally "0" in my books is NULL.. is it a known fact that
> 0 will always represent the current menu? if so, why have the
> MenuGetActiveMenu() call?
Perhaps there are other circumstances in which one might want to
know which is the active menu...
John ":-)"