1. Menu Compiler

Hello again,

I was wondering how people feel about using a menu compiler.

The input file is a text file with the names of the menu items,
and the output is a file suitable for inclusion into your library.

The input file has two-space indentations for sub menu items:

File
__New
__Open
__Save

(like that without the underscores)

The menu text file (somewhat like a script) is dragged into
the compiler, where it is read and converted into commands like
"AddMenuItem()"
or something like that.

The whole menu gets done (complete with skeletal events) in a matter 
of minutes, even with quite a few menu items.

Of course there is '&' and '+' prefixing too.


Any ideas/comments/likes/dislikes?

Take care for now,
Al

new topic     » topic index » view message » categorize

2. Re: Menu Compiler

----- Original Message -----=20
From: "Al Getz" <Xaxo at aol.com>
To: "EUforum" <EUforum at topica.com>
Subject: Menu Compiler


>=20
>=20
> Hello again,
>=20
> I was wondering how people feel about using a menu compiler.
>=20
> The input file is a text file with the names of the menu items,
> and the output is a file suitable for inclusion into your library.
>=20
> The input file has two-space indentations for sub menu items:
>=20
> File
> __New
> __Open
> __Save
>=20
> (like that without the underscores)
>=20
> The menu text file (somewhat like a script) is dragged into
> the compiler, where it is read and converted into commands like
> "AddMenuItem()"
> or something like that.
>=20
> The whole menu gets done (complete with skeletal events) in a matter=20
> of minutes, even with quite a few menu items.
>=20
> Of course there is '&' and '+' prefixing too.
>=20
>=20
> Any ideas/comments/likes/dislikes?
>=20
The win32lib library already has a MakeMenu() routine. But now that I =
look at it, I can see that its very poorly documented. I'll fix that up =
now.
--=20
Derek

new topic     » goto parent     » topic index » view message » categorize

3. Menu Compiler

> From: Al Getz <Xaxo at aol.com>
> Subject: Menu Compiler
> 
> 
> Hello again,
> 
> I was wondering how people feel about using a menu compiler.
> 
> The input file is a text file with the names of the menu items,
> and the output is a file suitable for inclusion into your library.
> 
> The input file has two-space indentations for sub menu items:
> 
> File
> __New
> __Open
> __Save
> 
> (like that without the underscores)
> 
> The menu text file (somewhat like a script) is dragged into
> the compiler, where it is read and converted into commands like
> "AddMenuItem()"
> or something like that.
> 
> The whole menu gets done (complete with skeletal events) in a matter 
> of minutes, even with quite a few menu items.
> 
> Of course there is '&' and '+' prefixing too.
> 
> 
> Any ideas/comments/likes/dislikes?
> 
> Take care for now,
> Al

Does it allow icons in menu items or vertical bars? Could be a nice 
addition (heard that it was somewhat tough).

CChris

new topic     » goto parent     » topic index » view message » categorize

4. Re: Menu Compiler

Al,

You might also want to check out Judith's IDE, it has a menu editor in it.

Dan Moyer

----- Original Message ----- 
From: "Al Getz" <Xaxo at aol.com>
To: "EUforum" <EUforum at topica.com>
Subject: RE: Menu Compiler


> 
> 
> Hello again Bernie and Derek,
> 
> I'll have to take a look at your implementations.
> I think 'MakeMenu()' is kinda cool, if it's not 
> too hard to use when dealing with the id's and all.
> 
> I was thinking a little more in terms of a compiler,
> but i guess i'll have to talk more about this once
> i submit it for the archive.
> 
> Take care for now,
> Al
> 
> 
> 
> TOPICA - Start your own email discussion group. FREE!
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu