Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Something like DockPanel Suite in DBP?

Author
Message
Concept Games
18
Years of Service
User Offline
Joined: 20th Nov 2007
Location: Tucson, Arizona
Posted: 2nd Sep 2013 13:56
I have been wondering this for quite sometime but have had yet to really focus on finding a solution. Is there anyway of getting something like DockPanel Suite (http://sourceforge.net/projects/dockpanelsuite/) working in DBP?

I am about to start working on a project that could benefit from such a UI and would like to implement it if possible. Does anyone know of any C++ alternatives?

Thanks!
- Tyler

Hmm...
Sasuke
20
Years of Service
User Offline
Joined: 2nd Dec 2005
Location: Milton Keynes UK
Posted: 2nd Sep 2013 14:41
I just made my own system in DBP because half the stuff I need to do UI plugins or alternatives don't supports so I just made mine on and trimmed the fat.

"Get in the Van!" - Van B
Libervurto
20
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 2nd Sep 2013 19:36
So you want tiled windows? The problem when you say "I want something like x" is that not everyone is familiar with x.



Formerly OBese87.
Stab in the Dark software
Valued Member
23
Years of Service
User Offline
Joined: 12th Dec 2002
Playing: Badges, I don't need no stinkin badges
Posted: 2nd Sep 2013 20:47 Edited at: 2nd Sep 2013 21:00
Yes it is possible.
The link you posted is not the latest version of Dock Panel Suite.

Here is the the latest code on GitHub.
https://github.com/dockpanelsuite

I downloaded this version and tested there demo, it has quite a few bugs that you would first need to fix.
You would need to be familiar with C#.

Next you would need to build it as a C# dll.
Then convert it to a C++ dll for use with DBPro.
Luckily there is a converter.

http://www.virtualdarkarts.com/netdll.html

In order to use this you would need to know how to make a dll in C++ for DBPro. Which can be found on these forums.

We have done this except we used our own dock window code in C#.
Getting it to play nice with DBPro can be tricky.

If you are looking to do this for an in game menu, then this would not be the best solution.
If you are making some sort of game engine editor then this could be your solution.

The bottom line is that you can make C# dlls to work with DBPro.

We first developed our C# dock window code for our own "IDE" text editor for DBPro.
If you click on the banner you can download our "IDE" and see the dock windows in action.

[img][/img]


WindowsXP SP3,Vista,Windows 7 SP1, DBpro v7.7RC7
Stab In The Dark Editor
The coffee is lovely dark and deep,and I have code to write before I sleep.
Concept Games
18
Years of Service
User Offline
Joined: 20th Nov 2007
Location: Tucson, Arizona
Posted: 3rd Sep 2013 00:51
That is exactly the answer I was looking for! I can work with both C# and C++ so that is no problem, I just need to read up on how to make a DBPro plugin as that is something I do not know

Thank you for the quick and spot on reply

And yes, this is for an editor type interface, currently I am using BBB GUI, should be able to get docking working with BBB if I just pass the pointers don't you think? If not, making my own UI plugin should be fun

Hmm...

Login to post a reply

Server time is: 2026-07-07 05:38:41
Your offset time is: 2026-07-07 05:38:41