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.

Work in Progress / FREE Windows GUI DLL for DarkBASIC Pro

Author
Message
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 13th Jan 2007 12:29 Edited at: 26th Oct 2007 00:28
Free Windows GUI DLL: Update


IF YOU HAVE ANY QUESTIONS ABOUT WINGUI, ASK AT THE LINK BELOW!
Aex.Uni Forums

"Keys"
= Completed
= Still working on (WIP)
= Completed, however, not working, or not completed

Features added:
Window handling
Buttons
Combo box
Checkbox
Radiobox
Group box
Labels
Progress bars
Trackbars (Sliders)
DBP Window Handling
Window style handling
Text retrieving
Editboxes
File Requesters
Messageboxes
Tabs
Menubars - 95%
Treeviews - 30%
MDI Windows
Rich Editbox
Syntax Highlighting box
Toolbars
Statusbars
Context Menus
Up-Down boxes
Window Skinning

INI-File


DarkBASIC Pro (.DBA) Source Example



NEWS
NEW!
WinGUI rebuilt! Executable output is now smaller, and functions work more efficiently! MSVC++ is required though

Old.
Windows will NOW work within the MAIN DBP WINDOW

Now more than 1 window can succesfully be made! Functions fixed.

WinGUI goes Open Source!!!

Text can now finally be correctly retrieved!!


Downloads!
WinGUI .DLL in a .RAR, latest version (10-20-07)


Cheers,

-db

Ok, VERY IMPORTANT MESSAGE.

READ THIS MESSAGE BEFORE CONTINUING YOUR USE OF THE WINGUI PLUGIN!
WinGUI is now under the GPL (GNU General Public License). The main reason for this is because I am starting to see people making additions to WinGUI's source, without distributing the source (Not Brendy boy, he is doing what I intended. ). Anyways, this is where you can read up on the license: GNU General Public License

If you do not agree to this, you MUST stop the use of WinGUI, or any future WinGUI packages until you do agree to the license.

What this means for developers?
You MUST distribute the modified source of the plugin if you have made changes.

For reference, here is the GNU General Public License


DBP, $80. DBP's plugins, $320. Watching DBP Crash, Priceless.
NG Website Aex.Uni forums

Attachments

Login to view attachments
Oolite
18
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Middle of the West
Posted: 13th Jan 2007 12:44
Nice..
I can see this coming in handy for a lot of people if you keep it free.

Roxas
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 13th Jan 2007 19:56
Keep it up!!

I have no soul.. I nobody.. I have no heart.. I have felt in the darkness.. Im the darkness.. Whatever..
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 13th Jan 2007 20:26 Edited at: 23rd Apr 2007 09:49
Thank you.

I will.

I am looking for suggestions though because I probably dont know all of the types of GUI components there are, and giving me ideas will help me make this a better, free, plugin.

-db


There is a very fine line between hobby and mental illness.

Attachments

Login to view attachments
Roxas
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 13th Jan 2007 20:50 Edited at: 13th Jan 2007 20:52
So how 'bout those desktop alerts? Did you solve them?

(and could those old win 98 visuals customize to xp or something own? )

I have no soul.. I nobody.. I have no heart.. I have felt in the darkness.. Im the darkness.. Whatever..
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 13th Jan 2007 20:52
Nope. Looking into them though.

If Sergey K (I think it's Sergey K) would like to make a friendly donation though, I could add it rather quickly.

-db

GameDeveloper, make your own games with a drag-and-drop interface. Basically t3dgm+fpsc editor combined.
http://forum.thegamecreators.com/?m=forum_view&t=86045&b=8&p=2
Roxas
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 13th Jan 2007 21:00
Hehee.. The donation could be possible..

I have no soul.. I nobody.. I have no heart.. I have felt in the darkness.. Im the darkness.. Whatever..
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 13th Jan 2007 21:11
Well I hope so. I cant seem to find anything that will explain how to do one of those desktop alerts in C++.

-db

GameDeveloper, make your own games with a drag-and-drop interface. Basically t3dgm+fpsc editor combined.
http://forum.thegamecreators.com/?m=forum_view&t=86045&b=8&p=2
Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 13th Jan 2007 21:12
Sergey made his one with Delphi,so he doesnt know it in C++...

Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 13th Jan 2007 21:30
Damn it!

Well, if delphi can still create windows similiar to C++, then the code would still help.

-db

GameDeveloper, make your own games with a drag-and-drop interface. Basically t3dgm+fpsc editor combined.
http://forum.thegamecreators.com/?m=forum_view&t=86045&b=8&p=2
Roxas
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 13th Jan 2007 21:33
Ok i talked just whit Gogetax and he has forget all about programming because he is working hard in army..

But he says:
Desktop alert making isn't hard
all you need to know is how to get the desktop size (so you can post the alert box right near the clock at the desktop)

I have no soul.. I nobody.. I have no heart.. I have felt in the darkness.. Im the darkness.. Whatever..
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 13th Jan 2007 21:34 Edited at: 13th Jan 2007 21:35
hey,
ya need to know how to do those stuff:
- get desktop size (X,Y) `for the alert position
- class `for the alert form
- colouring `to make the alert look good

thats all..


nice dll btw, lots of commands

MyNewSite:http://gogetax.com
Forums(About BLO and more):http://gogetax.com/forum
H4ck1d
18
Years of Service
User Offline
Joined: 27th Dec 2005
Location: Yes
Posted: 13th Jan 2007 21:46
This looks like a really great plugin! Keep it up, it looks like it will be really useful! Just 2 questions - will you be able to set the icon of the window? And also, one of the commands is to set window text - does that allow you to set the font of the gui in the window?

-H4ck1d

Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 13th Jan 2007 21:56
i belive that only your window's settings are able to change the font of the window title..

MyNewSite:http://gogetax.com
Forums(About BLO and more):http://gogetax.com/forum
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 13th Jan 2007 22:47
Alright then. It is just like creating a window. Now all I need is to figure out what the class is called, and we have ourselves a desktop alert.

@H4ck1d
No. Im afraid that does not set the font of the gadget. Another command will be made for that (Forgot all about that, thanks for reminding me). What that will do is set the text of the window. So for a normal window (EG, the dbp window), the title text will be set. For say, a button, if the text on it was "OK", and you wanted to change it to "Okay", you would use gui_setWindowText. And so on.

-db

NOTE: All the commands were used in the example above, when running it, only the various GUI components will be shown.

GameDeveloper, make your own games with a drag-and-drop interface. Basically t3dgm+fpsc editor combined.
http://forum.thegamecreators.com/?m=forum_view&t=86045&b=8&p=2
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 13th Jan 2007 23:57
Ah, screw it. Here you all go, the DLL. I'm not offering help with it at this time, I will later tonight when I have updated it more. I was planning to release it when I ported everything I wanted over, but oh well. You already have the INI file there, so I might as well just give the DLL itself.

Here you all go.

-db

GameDeveloper, make your own games with a drag-and-drop interface. Basically t3dgm+fpsc editor combined.
http://forum.thegamecreators.com/?m=forum_view&t=86045&b=8&p=2

Attachments

Login to view attachments
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 14th Jan 2007 05:11 Edited at: 14th Jan 2007 05:16
UPDATE

= Completed
= Still working on (WIP)
= Completed, however, not working, or not completed

Features added:
Trackbar (Known as a slider)
Editbox

Features for Trackbar:
Create a trackbar
Set minimum, and maximum positions
Retrieve minimum, and maximum positions
Set, and Retrieve the current position of the slider

Features for Editbox:
Create an editbox
Normal editbox style
Password editbox style
Digits-Only (AKA Numbers Only) editbox style
Multiple Lines for an editbox
Retrieve text from the editbox

INI File



!!! Download in bottom right corner !!!

If you need any help, please post.

REMEMBER: This is a FREE plugin.

All I ask is that you notify me if you downloaded it, either by email, or by posting.

-db

[edit]
I also have labels, which are basically just pieces of text.

There was another reason for this edit, I cant seem to remember it.
[/edit]

GameDeveloper, make your own games with a drag-and-drop interface. Basically t3dgm+fpsc editor combined.
http://forum.thegamecreators.com/?m=forum_view&t=86045&b=8&p=2

Attachments

Login to view attachments
Roxas
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 14th Jan 2007 09:06
Tehee this comes usefull ^^

I have no soul.. I nobody.. I have no heart.. I have felt in the darkness.. Im the darkness.. Whatever..
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 14th Jan 2007 09:14 Edited at: 14th Jan 2007 09:15
Glad you like it.

-db

PS: Does anyone have any suggestions? The ability to set fonts for windows is being added right now. Adding more editbox functions is also being done. And I have plans to add in a Treeview.

[edit]
Custom drawing functions are being added! Such as drawing a line on the window, or a box, or whatever. This is all accomplished through the GDI. I might add in support for GDI+ later.
[/edit]

GameDeveloper, make your own games with a drag-and-drop interface. Basically t3dgm+fpsc editor combined.
http://forum.thegamecreators.com/?m=forum_view&t=86045&b=8&p=2
Roxas
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 14th Jan 2007 09:16
Ill first test it with my (m)morpg level editior and then ill give my feedback

I have no soul.. I nobody.. I have no heart.. I have felt in the darkness.. Im the darkness.. Whatever..
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 14th Jan 2007 09:21
Thank you.

I did mention that you cant receive strings from the editbox, didnt I? Well, i'm fixing that. The program crashes when I use that, so I made it return either an empty string, or "Function is not working properly", or I just left it alone... One of the 3.

-db

GameDeveloper, make your own games with a drag-and-drop interface. Basically t3dgm+fpsc editor combined.
http://forum.thegamecreators.com/?m=forum_view&t=86045&b=8&p=2
Roxas
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 14th Jan 2007 09:25
Hmm can you add buttons in dbpro aplication or do you just need to make new window with gui commandS?

I have no soul.. I nobody.. I have no heart.. I have felt in the darkness.. Im the darkness.. Whatever..
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 14th Jan 2007 09:36
Ah. Well, see, here's the problem. The buttons and what-ever can be made into the same window as dbp, however, they are not drawn because dbp takes over that task, and so, you may need to manually update them. Oh, but I just realised I forgot to make the gui_updateWindow command.

Anyways, if you turn syncing on, and dont use sync, the problem might be fixed, as for now, just go ahead and put everything in a differant window. I will see what I can do.

-db

GameDeveloper, make your own games with a drag-and-drop interface. Basically t3dgm+fpsc editor combined.
http://forum.thegamecreators.com/?m=forum_view&t=86045&b=8&p=2
Roxas
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 14th Jan 2007 09:43
ok because i really need drawn in dbp window ^^

I have no soul.. I nobody.. I have no heart.. I have felt in the darkness.. Im the darkness.. Whatever..
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 14th Jan 2007 09:52
Well. I just added the command. It didnt work. Perhaps if I could get it to be drawn in front of the DBP window, then my problems would be over! So, i'll see what exactly I can do (Perhaps a single command to bring all the child windows of the main dbp window to the front of the dbp window would help... What to do... What to do...

-db

GameDeveloper, make your own games with a drag-and-drop interface. Basically t3dgm+fpsc editor combined.
http://forum.thegamecreators.com/?m=forum_view&t=86045&b=8&p=2
Roxas
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 14th Jan 2007 10:00
Or it could make "hidden window" whic is button itself always positioned in manual selected position lol

I have no soul.. I nobody.. I have no heart.. I have felt in the darkness.. Im the darkness.. Whatever..
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 14th Jan 2007 10:04
Im afraid that didnt make any sense.

-db

GameDeveloper, make your own games with a drag-and-drop interface. Basically t3dgm+fpsc editor combined.
http://forum.thegamecreators.com/?m=forum_view&t=86045&b=8&p=2
Roxas
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 14th Jan 2007 10:06
hehee i know but try get something..

I have no soul.. I nobody.. I have no heart.. I have felt in the darkness.. Im the darkness.. Whatever..
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 14th Jan 2007 10:19
Ok... I'll try.

Make the dbp window hidden?

Position a button in a manually selected position?

I dont think that makes much sense either.

-db

GameDeveloper, make your own games with a drag-and-drop interface. Basically t3dgm+fpsc editor combined.
http://forum.thegamecreators.com/?m=forum_view&t=86045&b=8&p=2
Roxas
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 14th Jan 2007 10:25
Yeah i think so too.. It was stupid idea.

I have no soul.. I nobody.. I have no heart.. I have felt in the darkness.. Im the darkness.. Whatever..
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 14th Jan 2007 10:42
This reminds me of something I saw on south park. And I am not calling you stupid, I just think it was funny.

Quote: "
Mr. Garrison: There's no such thing as a stupid question... Just stupid people.
"


Im still open for suggestions. Any accepted (Involving a GUI).

-db

GameDeveloper, make your own games with a drag-and-drop interface. Basically t3dgm+fpsc editor combined.
http://forum.thegamecreators.com/?m=forum_view&t=86045&b=8&p=2
Roxas
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 14th Jan 2007 10:52
How 'bout diffrent visulation's in input boxes if it's possible like chancing them color edges etc..

I have no soul.. I nobody.. I have no heart.. I have felt in the darkness.. Im the darkness.. Whatever..
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 14th Jan 2007 11:03
Hmm. I do remember Game Maker 6.1 (By Mark Overmars), when entering an invalid character in an edit, would color that edit red. I can try.

-db

GameDeveloper, make your own games with a drag-and-drop interface. Basically t3dgm+fpsc editor combined.
http://forum.thegamecreators.com/?m=forum_view&t=86045&b=8&p=2
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 14th Jan 2007 23:22
*Ahem*

What is the most important element in a GUI? (What component I mean, ex, button, label, edit, treeview).

Please make your own votes so I can put a little more priority in that element/component. edit is already getting enough, very buggy, attention as it is.

-db

GameDeveloper, make your own games with a drag-and-drop interface. Basically t3dgm+fpsc editor combined.
http://forum.thegamecreators.com/?m=forum_view&t=86045&b=8&p=2
Olby
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location:
Posted: 15th Jan 2007 01:22
Wow, looks like RobK has new opponent! Good work!

AMD Sempron 3.1+ Ghz, 512MB Ram, ATI R9550 256MB Ram, Sound Blaster Live!, WinXP SP2, DirectX 9.0c, DBP 6.2
http://www.myspace.com/producerolby
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 15th Jan 2007 01:28
Heh, heh.

Well, I dont really view myself as competition. Besides, I myself bought BlueGUI. I just feel that a free GUI is better.

-db

GameDeveloper, make your own games with a drag-and-drop interface. Basically t3dgm+fpsc editor combined.
http://forum.thegamecreators.com/?m=forum_view&t=86045&b=8&p=2
Roxas
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 15th Jan 2007 14:23
Just get it work with dbpro window ^^ Then you could add progress bar

I have no soul.. I nobody.. I have no heart.. I have felt in the darkness.. Im the darkness.. Whatever..
Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 15th Jan 2007 16:48
I think menuitems are the most important,without those.a program will have 10.000's of loose buttons...

Agent Dink
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location:
Posted: 15th Jan 2007 21:31
Yes, drop down menus are important. Tabs are good too.

Sometimes the only way over a wall is to pile up enough bodies to climb over - Dave W.
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 17th Jan 2007 22:48
I'll get right on those

Though, i've never used a drop-down menu (context menu) before.. I will attempt to add those. I have some-what of an understanding of tabs, so, we'll see how this all goes

-db


Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 18th Jan 2007 09:59 Edited at: 21st Feb 2007 06:30
Free Windows GUI DLL: Update


"Keys"
= Completed
= Still working on (WIP)
= Completed, however, not working, or not completed

Features added:
Low-Level event handler

Drop-Down menu (No commands accompany this, and has not yet been "implemented")

INI-File


DarkBASIC Pro (.DBA) Source Example



Windows will NOW work within the MAIN DBP WINDOW

Visit my forums. Or take a look at my website.

Soon, my forums will support an entire WinGUI WIP thread.


Cheers,

-db


Tree3D Software... Because a 2D tree isnt good enough.

Attachments

Login to view attachments
Roxas
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 18th Jan 2007 15:01
So does that now work with dbpro window?

I see you have made new window with dbpro window instance was that the solution to that proplem?

I have no soul.. I nobody.. I have no heart.. I have felt in the darkness.. Im the darkness.. Whatever..
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 19th Jan 2007 04:01
It does not.. I'm sorry.

As for the new window comment, was that in reference to the DBP source I gave, or is it actually working for you??

-db


flip sk8r11
17
Years of Service
User Offline
Joined: 23rd Aug 2006
Location:
Posted: 19th Jan 2007 04:38
Hey man great DLL unfortunately the GUI_WINDOWENABLED function does not work the compiler keeps throwing me a variable does not exist in program message when I use this command. I thought you might want to know that because I thought of a way to use just the new window, but it uses that function. Thanks by the way man the dll is great.
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 19th Jan 2007 05:05
Yeah, sure.

I don't see your problem though. gui_windowEnabled() works for me. (At least when I tested it)

When I tested it, this is the code I used (Roughly getting from memory)

* Not tested

I'll try to find if that problem still occurs though.

-db


Roxas
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 19th Jan 2007 09:26
Well then im waiting till i can use this with Dbpro window because else i cant find this usefull yet :/

I have no soul.. I nobody.. I have no heart.. I have felt in the darkness.. Im the darkness.. Whatever..
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 19th Jan 2007 10:20
I'm sorry you feel that way

I'm assuming flip sk8r11 has figured out how to make it work, in my oppinion, it might have been to disable the dbp window, enable the window on the dbp window. I'm about to test this out actually.

Also, the use of the gui_sendEvent control should be able to control the dbp window, and the window on top of it (You just need a little resourcefullness).

-db


Roxas
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 19th Jan 2007 11:00
Well if you get it work then im happy ^^

I have no soul.. I nobody.. I have no heart.. I have felt in the darkness.. Im the darkness.. Whatever..
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 21st Jan 2007 08:28
hopefully i'll get it to work

-db


Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 25th Jan 2007 22:25
This project isnt dead, btw, been working on some stuff.

Cheers,

-db


Login to post a reply

Server time is: 2024-04-16 06:53:38
Your offset time is: 2024-04-16 06:53:38