Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.programmer.help > #102

Re: An additional menu like PGP menu but icon crashes

From gastacara@macgui.com (Cliff Huylebroeck)
Newsgroups comp.sys.mac.programmer.help
Subject Re: An additional menu like PGP menu but icon crashes
Date 2011-12-27 16:08 +0000
Organization Mac GUI
Message-ID <gastacara-1325002092@macgui.com> (permalink)
References <gastacara-1324395975@macgui.com>

Show all headers | View raw


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.

Back to comp.sys.mac.programmer.help | Previous | NextPrevious in thread | Find similar


Thread

An additional menu like PGP menu but icon crashes gastacara@macgui.com (Cliff Huylebroeck) - 2011-12-20 15:46 +0000
  Re: An additional menu like PGP menu but icon crashes gastacara@macgui.com (Cliff Huylebroeck) - 2011-12-27 16:08 +0000

csiph-web