Article View: comp.sys.mac.programmer.help
Article #48Re: GetMenuID returning 0 for dialog popups under 10.2?
From: Bryan Pietrzak
Date: Thu, 06 Feb 2003 19:19
Date: Thu, 06 Feb 2003 19:19
17 lines
2063 bytes
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
Technical Details
Message-ID:
<74288c70.0302061119.12813563@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailReferences:
<BA67B66C.7A48%jbotwick@nc.rr.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10bcce,ad66d918239e01b9 X-Google-Attributes: gid10bcce,public X-Google-Thread: f98ee,ad66d918239e01b9 X-Google-Attributes: gidf98ee,public X-Google-Thread: f635e,ad66d918239e01b9 X-Google-Attributes: gidf635e,public X-Google-Thread: fed41,ad66d918239e01b9 X-Google-Attributes: gidfed41,public X-Google-Thread: 101ec9,ad66d918239e01b9 X-Google-Attributes: gid101ec9,public X-Google-ArrivalTime: 2003-02-06 11:19:17 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: bryanzak@mac.com (Bryan Pietrzak) Newsgroups: comp.sys.mac.programmer.help,comp.sys.mac.programmer.tools,comp.sys.mac.programmer.codewarrior,codewarrior.mac,comp.sys.mac.programmer.misc Subject: Re: GetMenuID returning 0 for dialog popups under 10.2? Date: 6 Feb 2003 11:19:17 -0800 Organization: http://groups.google.com/ Lines: 17 Message-ID: <74288c70.0302061119.12813563@posting.google.com> References: <BA67B66C.7A48%jbotwick@nc.rr.com> NNTP-Posting-Host: 204.26.92.227 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1044559157 22379 127.0.0.1 (6 Feb 2003 19:19:17 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 6 Feb 2003 19:19:17 GMT