Samapico Posted May 18, 2009 Report Posted May 18, 2009 This is what toolbars/menus will look like soon: http://www.vbaccelerator.com/home/vb/Code/Controls/Toolbar/vbAccelerator_Office_Docking_Bar/officeBar.pngSource: http://www.vbaccelerator.com/home/vb/Code/Controls/Toolbar/vbAccelerator_Office_Docking_Bar/article.asp Revamping them is going to take a while though... Quote
RiiStar Posted May 18, 2009 Report Posted May 18, 2009 (edited) Since your bringing that up... Outlook Menubar I've been looking for a similar component to this for my crappy cfg Editor. I think it would work well as a side menu in DCME instead of the tabs and buttons used on the right panel atm... Only a suggestion Edited May 18, 2009 by RiiStar Quote
Samapico Posted May 19, 2009 Author Report Posted May 19, 2009 That Outlook menubar only applies to .NET though Quote
»doc flabby Posted May 19, 2009 Report Posted May 19, 2009 (edited) That Outlook menubar only applies to .NET though Incidentally you can use .NET controls in VB6 via COM. Not something I would recommend as you're waste alot of time learning something totally pointless (the real world uses are fairly limited), and it will be easier to create in pure VB6 Edited May 19, 2009 by doc flabby Quote
Samapico Posted May 20, 2009 Author Report Posted May 20, 2009 This is far from easy to implement... That's what it looks like so far; I'm debating with myself if the selection tools (selection, magic wand, freehand selection, and perhaps LVZ selection??) should be in one button, with a drop-down, like shown on the screenshot, or like it was before; one icon for each.Same for the special shapes (polygon, cogwheel, star)... Took me a while to get the damn tools toolbar to show up. I'm starting to get the hang of this control, the large part of the remaining work will be to type in each and every menu, submenu, etc. Then re-link items to the corresponding function. The final result will be MUCH easier to maintain... I was scared to go change anything in the menus because it was too much of a hassle, especially with the icons we had on them. These icons were pretty much assigned one by one at runtime, by using 0-based indexes to identify each menu. So if you added something, you had to offset every icon assignement.Bleh.Also, toolbar buttons and menu items will be intrinsically linked. It was really annoying to have to keep them synchronized all the time. Quote
Gannon8 Posted May 20, 2009 Report Posted May 20, 2009 Juuuuust wondering, but why not GTK or wxWidgets and implement GTK like the several portable programs out there like Portable Pidgin? I am not sure if you can render the map in a slot, but all the GUI editors I have seen seem to tell me that there is a way. As for the buttons on the side, IDK, but it looks possible. I was just wondering, anyway. Quote
Samapico Posted May 20, 2009 Author Report Posted May 20, 2009 Can those things be implemented in vb6? Quote
Samapico Posted May 31, 2009 Author Report Posted May 31, 2009 YESSSSSSSSSSSSSSSSSSSSSSI DID IT Look at the screenshot earlier in this thread... notice how there's an empty space between the title bar and the 'File' menu thing; that's where the menus normally would be, right? I was having trouble putting the custom new menus there. And that space was needed to have the child form buttons (minimize, maximize, close). But... behold! It works like a charm! Now I can concentrate on re-adding the menu items, and soon each of you will be able to place the toolbars and stuff wherever you want Quote
Samapico Posted May 31, 2009 Author Report Posted May 31, 2009 I also found a flexible and easy to use status bar class... I have some neat things in mind for it Something that will stop people from saying things like "OH, you can do that with this tool???" Quote
Drake7707 Posted May 31, 2009 Report Posted May 31, 2009 How did you solve the problem with the fixed child menu ? Did you put the style to none and made a custom control box for maximizing/restoring/minimizing/closing ? Quote
Samapico Posted May 31, 2009 Author Report Posted May 31, 2009 Nah. The containers I was using were 'vbaccelerator docks' or something like that. They are required for moving the 'office-like toolbars' around, docking and undocking them. They can also dock menus like I was doing. However, there's a different container, the toolbar host, which can (duh) host toolbars, but it doesn't handle dockign/undocking. But this toolbar host has a 'MDItoolbar' setting, which when set to true, adds the min/max/close buttons of the child form. It took me a long time to get used to all these new controls and how they interact with each other, but in the end, they're pretty much all compatible with each other.I'm curious to see if we'll be able to get rid of all the .ocx dependencies... These control use the standard windows DLL's directly, like COMCTL32.DLL, instead of the vb6 activeX COMCTL32.OCX. Quote
Samapico Posted June 21, 2009 Author Report Posted June 21, 2009 How sexy is that? Notice the status bar at the bottom too Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.