Discussion:
Dynamically loading menus
(too old to reply)
Gutless Umbrella Carrying Sissy
2012-06-04 20:37:09 UTC
Permalink
VB6:

In dymanically loading menus, is there any way to load them as a
submenu of another dynamically loaded menu?

As in, I have an array called "Category", which starts at design time
as a single element of (0). There is a sub menu called "Item," also
an array with a single element of (0).

Loading additional menu entries for Category is easy. But is there
any way to load Item(1) and make it a submenu of Category(1), rather
than Category(0)?
--
Terry Austin

"Terry Austin: like the polio vaccine, only with more asshole."
-- David Bilek

Jesus forgives sinners, not criminals.
Deanna Earley
2012-06-06 09:48:08 UTC
Permalink
Post by Gutless Umbrella Carrying Sissy
In dymanically loading menus, is there any way to load them as a
submenu of another dynamically loaded menu?
As in, I have an array called "Category", which starts at design time
as a single element of (0). There is a sub menu called "Item," also
an array with a single element of (0).
Loading additional menu entries for Category is easy. But is there
any way to load Item(1) and make it a submenu of Category(1), rather
than Category(0)?
Last time I tried to do this (too many years ago) I couldn't find any
native VB6 way.
The only solution was Win32 menus but I ended up reworking the
UI/requirements to avoid it altogether.
--
Deanna Earley (***@icode.co.uk)
i-Catcher Development Team
http://www.icode.co.uk/icatcher/

iCode Systems

(Replies direct to my email address will be ignored.
Please reply to the group.)
Gutless Umbrella Carrying Sissy
2012-06-06 15:23:23 UTC
Permalink
Post by Deanna Earley
Post by Gutless Umbrella Carrying Sissy
In dymanically loading menus, is there any way to load them as
a submenu of another dynamically loaded menu?
As in, I have an array called "Category", which starts at
design time as a single element of (0). There is a sub menu
called "Item," also an array with a single element of (0).
Loading additional menu entries for Category is easy. But is
there any way to load Item(1) and make it a submenu of
Category(1), rather than Category(0)?
Last time I tried to do this (too many years ago) I couldn't
find any native VB6 way.
That's certainly the conclusion I got from Google.
Post by Deanna Earley
The only solution was Win32 menus but I ended up reworking the
UI/requirements to avoid it altogether.
And that's the direction I'm heading. Nice to know I didn't miss
anything.
--
Terry Austin

"Terry Austin: like the polio vaccine, only with more asshole."
-- David Bilek

Jesus forgives sinners, not criminals.
Farnsworth
2012-06-06 15:51:47 UTC
Permalink
Post by Gutless Umbrella Carrying Sissy
In dymanically loading menus, is there any way to load them as a
submenu of another dynamically loaded menu?
As in, I have an array called "Category", which starts at design time
as a single element of (0). There is a sub menu called "Item," also
an array with a single element of (0).
Loading additional menu entries for Category is easy. But is there
any way to load Item(1) and make it a submenu of Category(1), rather
than Category(0)?
Download the following VB5/6 source library, and check out CPopupMenu.cls,
and "cpopupmenu" demo.

http://sourceforge.net/projects/codebox/
Gutless Umbrella Carrying Sissy
2012-06-06 16:17:27 UTC
Permalink
Post by Farnsworth
Post by Gutless Umbrella Carrying Sissy
In dymanically loading menus, is there any way to load them as
a submenu of another dynamically loaded menu?
As in, I have an array called "Category", which starts at
design time as a single element of (0). There is a sub menu
called "Item," also an array with a single element of (0).
Loading additional menu entries for Category is easy. But is
there any way to load Item(1) and make it a submenu of
Category(1), rather than Category(0)?
Download the following VB5/6 source library, and check out
CPopupMenu.cls, and "cpopupmenu" demo.
http://sourceforge.net/projects/codebox/
I'm a little skeptical there. There's no need for an msi file for
code samples, and the link to "VBBox CodeBox Framework Web Site" goes
to a web site peddling weight loss snake oil. WFT?
--
Terry Austin

"Terry Austin: like the polio vaccine, only with more asshole."
-- David Bilek

Jesus forgives sinners, not criminals.
Farnsworth
2012-06-06 16:56:25 UTC
Permalink
Post by Gutless Umbrella Carrying Sissy
Post by Farnsworth
Post by Gutless Umbrella Carrying Sissy
In dymanically loading menus, is there any way to load them as
a submenu of another dynamically loaded menu?
As in, I have an array called "Category", which starts at
design time as a single element of (0). There is a sub menu
called "Item," also an array with a single element of (0).
Loading additional menu entries for Category is easy. But is
there any way to load Item(1) and make it a submenu of
Category(1), rather than Category(0)?
Download the following VB5/6 source library, and check out
CPopupMenu.cls, and "cpopupmenu" demo.
http://sourceforge.net/projects/codebox/
I'm a little skeptical there. There's no need for an msi file for
code samples, and the link to "VBBox CodeBox Framework Web Site" goes
to a web site peddling weight loss snake oil. WFT?
There is a ZIP version of the same files. Here is a direct link to the page
that shows it:

http://sourceforge.net/projects/codebox/files/codebox/codebox-v2.0/

You normally get to it by clicking on "Files" tab, then "codebox", followed
by "codebox-v2.0". It has all the API written in an easy to use class. The
web site that was describing the library went offline long time ago, here is
the link to the site on the Internet Archive:

http://wayback.archive.org/web/*/http://www.vbbox.com/

Here is some documentation, scroll to the very end to "Framework Contents".
This is the last version of the documentation that seems to be archived.
Later the author used a DB based format, similar to web forums, so it was
not archived:

http://web.archive.org/web/20030622091449/http://www.vbbox.com/codebox/index.htm
Gutless Umbrella Carrying Sissy
2012-06-06 17:51:25 UTC
Permalink
Post by Farnsworth
Post by Gutless Umbrella Carrying Sissy
Post by Farnsworth
Post by Gutless Umbrella Carrying Sissy
In dymanically loading menus, is there any way to load them
as a submenu of another dynamically loaded menu?
As in, I have an array called "Category", which starts at
design time as a single element of (0). There is a sub menu
called "Item," also an array with a single element of (0).
Loading additional menu entries for Category is easy. But is
there any way to load Item(1) and make it a submenu of
Category(1), rather than Category(0)?
Download the following VB5/6 source library, and check out
CPopupMenu.cls, and "cpopupmenu" demo.
http://sourceforge.net/projects/codebox/
I'm a little skeptical there. There's no need for an msi file
for code samples, and the link to "VBBox CodeBox Framework Web
Site" goes to a web site peddling weight loss snake oil. WFT?
There is a ZIP version of the same files. Here is a direct link
http://sourceforge.net/projects/codebox/files/codebox/codebox-v2.
0/
You normally get to it by clicking on "Files" tab, then
"codebox", followed by "codebox-v2.0". It has all the API
written in an easy to use class. The web site that was
describing the library went offline long time ago, here is the
http://wayback.archive.org/web/*/http://www.vbbox.com/
Here is some documentation, scroll to the very end to "Framework
Contents". This is the last version of the documentation that
seems to be archived. Later the author used a DB based format,
http://web.archive.org/web/20030622091449/http://www.vbbox.com/co
debox/index.htm
The documentation seems nearly non-existant, and some of the stuff
doesn't work, but the pop-up menu demo does. I should be able to
figure it out from there. Thanks.
--
Terry Austin

"Terry Austin: like the polio vaccine, only with more asshole."
-- David Bilek

Jesus forgives sinners, not criminals.
Loading...