Welcome Guest.   Make a donation to an author on the site November 28, 2014, 09:42:38 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Free DonationCoder.com Member Kit: Submit Request.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Request for a stand-alone menu bar, that is capable of displaying sub-menus  (Read 1866 times)
hymself
Supporting Member
**
Posts: 2


View Profile Give some DonationCredits to this forum member
« on: April 03, 2012, 01:31:40 AM »

I need a stand-alone menu bar that can show sub-menus like any windows program. The options on sub-menus need to come for text (.txt) file(s). Selecting the last option on any sub-menu or sub-sub-menus does not acutally need to do any action / launch any program.

This menu bar is needed for training / teaching purpose. The whole and sole purpose is to customize this menu bar, to reflect the options available in a program that the students are currently going to work with.

Once they are done with first program, the text files would be replaced with new files containing options to be displayed for next program that students are going to learn.

Here is an exmple.. the Program Launcher from Hiren's boot cd:
http://www.novem-it.com/d..._drivers_screenshot_4.png

http://imageshack.us/phot...s/697/20091207144319.png/

Thanks in advance.

Logged
mouser
First Author
Administrator
*****
Posts: 33,705



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: April 03, 2012, 01:35:25 AM »

That sounds easy enough.  One question I have though, you say "The options on sub-menus need to come for text (.txt) file(s)".

Does that mean it's not ok to have one file specify the entire contents of the menu inlcuding submenus?  if not then how do you build the menu out of multiple files?

Logged
hymself
Supporting Member
**
Posts: 2


View Profile Give some DonationCredits to this forum member
« Reply #2 on: April 03, 2012, 01:40:12 AM »

Thanks for quick response.

Sure.. all the options can come from a single file.. that is exactly how those menus in HBCD are made...
My only concern in that case would be that that text file should be easy to create... like CSV kind of format.. possibly having the sub-menu options listed on as many lines as many sub-menus are to be displayed.

That text file in case of HBCD program launcher is quite cluttered...

Thanks for quick repy again.
Logged
Target
Honorary Member
**
Posts: 1,414



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #3 on: April 03, 2012, 01:44:34 AM »

we did something similar here, though that was intended as a prompt rather than a menu

is this like what you were looking for?
Logged

"Look wise, say nothing, and grunt. Speech was given to conceal thought" - Sir William Osler
Edvard
Coding Snacks Author
Charter Honorary Member
***
Posts: 2,625



View Profile Give some DonationCredits to this forum member
« Reply #4 on: April 03, 2012, 01:53:21 AM »

What this reminds me of, is like when you have an empty project in a visual IDE, and you just build the window and the menu parts, but don't have any commands associated with the UI elements yet.
Perhaps the product could be exactly that; an empty (command-less) window with menubar, but the menubar content gets populated according to a plain text config file.
XML would work very well for this, but CSV would be easier to deal with, I agree.
Logged

All children left unattended will be given a mocha and a puppy.
c.gingerich
Supporting Member
**
Posts: 497



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #5 on: April 17, 2012, 04:49:06 PM »

If you are still in need for an app, I made this real quick for you (or anyone who need it). It's called Menu Snack. It just reads a menu.txt file in the same folder as Menu Snack.exe.

Open the menu.txt file in the Menu Snack.zip file attached for more info. Hope it is what you needed.


* Menu Snack.zip (465.77 KB - downloaded 49 times.)
Logged

mouser
First Author
Administrator
*****
Posts: 33,705



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #6 on: April 17, 2012, 05:04:34 PM »

That looks like just what he wanted.  thumbs up
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.026s | Server load: 0.08 ]