🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.mac.programmer.help
2 messages
2 total messages Started by Jason Botwick Thu, 06 Feb 2003 11:51
GetMenuID returning 0 for dialog popups under 10.2?
#47
Author: Jason Botwick
Date: Thu, 06 Feb 2003 11:51
12 lines
2016 bytes
When I call PMPrintDialog (or PMSessionPrintDialog) under OS 10.2.x, and
then handle the Carbon event generated when someone clicks on the "Printer"
popup, GetMenuID returns 0. Under 10.1.x, with the exact same code,
GetMenuID returns 128.

Is this a known behavior?

Is there some other way to determine that a menu event was generated from a
dialog popup so that I can ignore the event with an eventNotHandledErr?

Tks,
J 
Re: GetMenuID returning 0 for dialog popups under 10.2?
#48
Author: Bryan Pietrzak
Date: Thu, 06 Feb 2003 19:19
17 lines
2063 bytes
Jason Botwick <jbotwick@nc.rr.com> wrote in message news:<BA67B66C.7A48%jbotwick@nc.rr.com>...
> When I call PMPrintDialog (or PMSessionPrintDialog) under OS 10.2.x, and
> then handle the Carbon event generated when someone clicks on the "Printer"
> popup, GetMenuID returns 0. Under 10.1.x, with the exact same code,
> GetMenuID returns 128.
> 
> Is this a known behavior?
> 
> Is there some other way to determine that a menu event was generated from a
> dialog popup so that I can ignore the event with an eventNotHandledErr?

you may want to ask this on the carbon-development mailing hosted by
Apple (see http://lists.apple.com). That is the single best place to
ask carbon related questions -- there are a lot of Apple folks on the
list as well.

Bryan
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads