|
-
Oct 12th, 2003, 06:45 AM
#1
Thread Starter
Junior Member
A "menu file explorer" ...
I want to create something like a "menu explorer" to
attach to my application.
I use the vbAccelerator PopupMenu DLL (freeware)
(See links below) to create menu items
and give my menus a fine look. But i have this problem:
The directories are sorted at the startup of my
application thus having two disadvantages:
1st) If the user changes a folder name, deletes something e.t.c
my "menu explorer" won't be updated...
2nd) If i want to create a menu for "C:\" for example,
my application
will try to sort ALL directories subdirectories and files of C:\
at its startup thus taking
months...(or even crash)
I know that a solution is to sort files of a directory and create the
sub menu at the HIGHLIGHT event..
For example: We have a menu with caption "C:\Temp", with a blank subitem. When the user highlights the menu, my application sorts the contents of the directory "C:\Temp", creates the submenu and immediately pops up the submenu...
This is how the windows StartMenu works. Try to drag and drop
a directory (not a shortcut) into the StartMenu and see what happens.
But the particular DLL CAN'T create submenu while the menu is
visible... When i try to use AddMenu commmand in highlight
event my program crashes..Do i do something wrong? In the attachments
i also include another (shareware) ActiveX PopupMenu DLL
(see links below) that does
a fine job soritng directories (!) but has a very simple and boring
graphic interface..
Checkout the samples below or even vist the sites:
vbAccelerator.com
Popup Active X
Can anynone help me?
Can anyone combine the graphic interface of vbAccelerator PopupMenu DLL
with usability that i need...
Any alternative solution is also accepted...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|