Jump to content
SubSpace Forum Network

Recommended Posts

Posted (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 blum.gif

Edited by RiiStar
Posted (edited)

That Outlook menubar only applies to .NET though :D

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 blum.gif

Edited by doc flabby
Posted

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.

Image1.png

Posted

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.

  • 2 weeks later...
Posted

YESSSSSSSSSSSSSSSSSSSSSS

I 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!

new menus.png

 

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 blum.gif

Posted

I also found a flexible and easy to use status bar class... I have some neat things in mind for it :o

Something that will stop people from saying things like "OH, you can do that with this tool???"

Posted

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.

  • 3 weeks later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...