Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
An additional menu like PGP menu but icon crashes
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Cliff Huylebroeck  
View profile  
 More options Dec 20 2011, 10:46 am
Newsgroups: comp.sys.mac.programmer.help
From: gastac...@macgui.com (Cliff Huylebroeck)
Date: Tue, 20 Dec 2011 15:46:16 +0000 (UTC)
Local: Tues, Dec 20 2011 10:46 am
Subject: An additional menu like PGP menu but icon crashes
I added a menu to the OS 9 Finder between Special and Help, like the PGP
menu.
This works.
It's a PPC appe extension.
When I quit the extension it removes the menu.

Then I tried to replace the menu title with and icon and add an icon to
every item.
This crashes.
Line 1111 exception or something.

Do I have to do something like InitXXX?
Now it doesn't do any toolbox init.

Is there a source code example that does something similar?
(Not sysmenu INIT, that's too old and doesn't do the same.)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cliff Huylebroeck  
View profile  
 More options Dec 27 2011, 11:08 am
Newsgroups: comp.sys.mac.programmer.help
From: gastac...@macgui.com (Cliff Huylebroeck)
Date: Tue, 27 Dec 2011 16:08:14 +0000 (UTC)
Local: Tues, Dec 27 2011 11:08 am
Subject: Re: An additional menu like PGP menu but icon crashes
I found a newer version of sysmenu INIT (1.4).
I changed that.
It works.

An icon can be placed in the title:
Load an icon suite with small icons.
Use a title that starts with character 1 followed by the address of the icon
suite handle when you create the menu in the DrawMenuBar patch.

An icon can be placed in an item in 2 ways:

1) Paste a color icon (cicn resource) into the System.
Its resource ID has to be between 257 and 511, but not 260 or 301-307.
Subtract 256 and then use SetItemIcon when you create the menu in the
DrawMenuBar patch.
This will draw a large icon.

2) Load an icon suite.
Use SetMenuItemIconHandle when you create the menu in the DrawMenuBar patch.
This will draw a small icon.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »