|
-
October 7th, 1999, 12:19 PM
#1
Dynamic Multi-level menus at runtime from ini file?
I need to create a dynamic menu at runtime from an ini file. I can structure the ini any way I want, but I need to have it dynamically produce multi-level menu items. I have tried some API stuff, but nothing seems to produce a clean solution.
URGENT
-
October 15th, 1999, 12:16 PM
#2
Re: Dynamic Multi-level menus at runtime from ini file?
Hello!
I think you need:
1.To the form add global menu item mnuItem1 (as "File").
2.To global item add second level item mnuItem2 (as "Open") and set Index property of item to 0.
3.Use follow code for creating new second level items.
mnuItem2(0).Caption = "Your item 1"
Load mnuItem2(1)
mnuItem2(1).Caption = "Your item 2"
Best regards.
-
October 16th, 1999, 04:26 AM
#3
Re: Dynamic Multi-level menus at runtime from ini file?
You could post the code where you are having trouble.
Or You could check the Articles section of CodeGuru, Vb section.
http://codeguru.developer.com/vb/Con...nu/index.shtml
Sure there are some fine links, i have seen.
RK
-
December 27th, 1999, 05:54 AM
#4
Re: Dynamic Multi-level menus at runtime from ini file?
We're looking for tools and programming languages for an application. Ower first question is exactly, how can we create dynamic multi-level menus from an ini.file or from the application itself. If you or anyone else has solved this probelm with visual basic, we would be very glad to get some information about that.
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
|