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
luke escude
17
Years of Service
User Offline
Joined: 9th Sep 2007
Location: Right Behind You
Posted: 14th Jan 2008 22:52
Great work, Aaron Miller. When do you think the newest release will be out to us here in the forums? Your first post still has the version 10-20-07...

3D World Maker: [href]www.lujogames.com/luke/worldmaker.html[/href]
Made by ME!
FERSIS
19
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 16th Jan 2008 11:50
yeah , when ?
The new version will work with GDK
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 16th Jan 2008 20:25
When my guy releases the DBP/DBC version coming soon. I have to hand him the work I've done, but since he's not online right now, here's what I've got done on the DBC/DBP version, enjoy.


Cheers,

-naota

With any luck you'll be able to turn a fully functioning program to a crashing program with just a little bit of coding.
Aex.Uni forums
luke escude
17
Years of Service
User Offline
Joined: 9th Sep 2007
Location: Right Behind You
Posted: 16th Jan 2008 20:43
Looks good, and a new INI file would go well, too.

Are we too demanding?

3D World Maker: [href]www.lujogames.com/luke/worldmaker.html[/href]
Made by ME!
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 16th Jan 2008 21:02
If you see me yelling at you guys then yes, until then no, but I can't guarantee I won't ignore anything .

I'm a bit busy to work on the DBP version only, that's why I'm having someone else do it. Its just load dll, call dll, delete dll stuff.


Cheers,

-naota

With any luck you'll be able to turn a fully functioning program to a crashing program with just a little bit of coding.
Aex.Uni forums
luke escude
17
Years of Service
User Offline
Joined: 9th Sep 2007
Location: Right Behind You
Posted: 18th Jan 2008 15:58
OK, well, take your time.

Does anyone know how the BlueGUI Texture Browser works? When you select a texture in it, does it store that image number in a variable? I don't have BlueGUI...

3D World Maker: [href]www.lujogames.com/luke/worldmaker.html[/href]
Made by ME!
da power pwnerer
19
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Pittsburgh, PA
Posted: 18th Jan 2008 22:13
@luke escude- this is the wrong thread to post that.




-Dan


http://Freewebs.com/noobisoft
Come to Noobisoft's website today!
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 20th Jan 2008 23:56
Yeah, it is (the wrong thread).

Cheers,

-naota

With any luck you'll be able to turn a fully functioning program to a crashing program with just a little bit of coding.
Aex.Uni forums
luke escude
17
Years of Service
User Offline
Joined: 9th Sep 2007
Location: Right Behind You
Posted: 21st Jan 2008 02:15
Sorry bout that!
Anyways, I got my answer... I bought BlueGUI, and I really like it. It serves good function, but I still do use WinGUI, because WinGUI is a lot more flexible, and I have memorized all of the WinGUI commands.

3D World Maker: [href]www.lujogames.com/luke/worldmaker.html[/href]
Made by ME!
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 21st Jan 2008 03:38
@luke escude
Its perfectly fine. Though I don't mind answering any questions about my own software, it is a bit more difficult to answer questions of software I no longer own, otherwise I would be happy to give you some advice.

Cheers,

-naota

With any luck you'll be able to turn a fully functioning program to a crashing program with just a little bit of coding.
Aex.Uni forums
Alduce
22
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 27th Jan 2008 10:31
In first greetings for Aron for this work!

in second.. sorry for ignorance...

I download WinGUI_10_20_07.rar, and after i extract folder in DarkBasic main folder. Ok.

But where i must put the extracted folder "Microsoft visual studio"?. I try to copy the files inside this folder in my "microsoft visual studio net2003" folder but i obtain ever same error when i try to run example code from DarkBasicPro:
"could not understand command at line 92"

please, someone can give me some steps for using correctly this plug-in?
Thankyou very much.
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 28th Jan 2008 02:29
Alduce,

The "Microsoft Visual Studio" is the source code to WinGui, for use with DBPro it is not a concern. There should be a folder called Dark Basic Pro. Provided you've installed plugins before the contents of that folder should be pretty straight forward. I'm assuming you've never installed any plugins before, so simply drag the Dark Basic Pro folder and copy it over your installed Dark Basic Pro folder (Usually c:\Program Files\The Game Creators\Dark Basic Pro).


Cheers,

-naota

With any luck you'll be able to turn a fully functioning program to a crashing program with just a little bit of coding.
Aex.Uni forums
Alduce
22
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 28th Jan 2008 18:23
Thx Aaron, the situation is changed but new error..

here my steps:

1) Extract folders called "compiler","editor" and "projects" into my "Dark Basic Professional Online" folder. These 3 extracted folders fill my old "compiler","editor" and "projects" folders.

2)I extract "Microsoft Visual Studio" folder of your rar file into my "Dark Basic Professional Online" folder too. (I don't exactly understand where i must put it!? )

3) I start DarkBasicPro and i paste your Example (Example in pag.1 of this post)

4) I try to run the example but i have this error message in line60 : "parameter mismatch in expression 'gui_makeeditbox' at line 60"

5) What's wrong??

Thankyou very much!
Alduce
22
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 28th Jan 2008 19:02
sorry for new answer..

6) Try the example (example inside the rar) and error is same error of my old post.
WarGoat
20
Years of Service
User Offline
Joined: 19th Sep 2004
Location: Montreal
Posted: 29th Jan 2008 02:04
Wow! Look really good! Do you have a document for description of the functions? Because it's a bit hard to know which command do what in the code. Anyway, looking great, keep up the good work!

Windows Vista, Q6600 2.4ghz, 2gb Ram 800mhz - low latency, 8800 GTS 512 mb
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 29th Jan 2008 20:36
@Alduce
There's no need to put the Microsoft Visual Studio folder anywhere.

Also, don't run the example, and read the comment to sett below.

@Sett
The .INI file is the documentation (The keywords). Grandma was working on a documentation but stopped, then someone else said they would but never did. :/


Cheers,

-naota

With any luck you'll be able to turn a fully functioning program to a crashing program with just a little bit of coding.
Aex.Uni forums
JMS
18
Years of Service
User Offline
Joined: 20th Feb 2007
Location: California
Posted: 16th Feb 2008 23:18
Are there any plans to create an editor for this that exports code?
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 17th Feb 2008 03:08
Lucifer (I think) was going to. I don't know what's going on though.

Cheers,

-naota

With any luck you'll be able to turn a fully functioning program to a crashing program with just a little bit of coding.
Aex.Uni forums
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 17th Feb 2008 04:03
Quote: "Lucifer (I think) was going to. I don't know what's going on though."


yeah i was making an editor, i had made some progress with it but i bought a new computer and unfortunately i forgot to copy the project over before i formatted my old comp

i might have another go at the editor again later but i dont know for sure.

stuff..
luke escude
17
Years of Service
User Offline
Joined: 9th Sep 2007
Location: Right Behind You
Posted: 17th Feb 2008 04:05
Well, I could help create one, so we could share the load? I have been wandering myself when WinGUI will have a graphical editor.

So, if you want to pass on the project to me in the meantime, let me know!

How many programmers does it take to change a light bulb?

None. They'll just say it's a hardware problem.
JMS
18
Years of Service
User Offline
Joined: 20th Feb 2007
Location: California
Posted: 17th Feb 2008 04:07
If you two would create something like that, I think it would be a HUGE contribution to the DBP community.
luke escude
17
Years of Service
User Offline
Joined: 9th Sep 2007
Location: Right Behind You
Posted: 17th Feb 2008 04:08
Ok, I totally agree, JMS, Lucifer just needs to give the A-OK

How many programmers does it take to change a light bulb?

None. They'll just say it's a hardware problem.
da power pwnerer
19
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Pittsburgh, PA
Posted: 17th Feb 2008 04:11
I'll make one soon. And the GUI for it will be using WinGUI (How ironic). I will begin working on it right after this post Lucifer, you can make one too if you want.




-Dan


http://Freewebs.com/noobisoft
Come to Noobisoft's website today!
luke escude
17
Years of Service
User Offline
Joined: 9th Sep 2007
Location: Right Behind You
Posted: 17th Feb 2008 04:14
That's that! I will get working on one, as well. We will compare, and see wich one is better. Ok?

I have a whole bunch of free time, even on school days

How many programmers does it take to change a light bulb?

None. They'll just say it's a hardware problem.
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 17th Feb 2008 04:22
cool, i'm sure you both will do a much more better job than i ever could have, i'm looking forward to see what you guys make

stuff..
luke escude
17
Years of Service
User Offline
Joined: 9th Sep 2007
Location: Right Behind You
Posted: 17th Feb 2008 04:29 Edited at: 17th Feb 2008 04:39
Aaron Miller,

Have you completed a new version of WinGUI? I don't think that toolbars are supported, and it would be nice to use them in this editor...

Just Checkin'!

[EDIT] The same thing with drop down menus (i.e. File, View). They can not be children of the DBPHwnd, they won't show up! You need to create an entire new window, then toolbars and menus work in that window. [/EDIT]

-C gives you enough rope to hang yourself. C++ also gives you the tree object to tie it to.
-A computer without COBOL and Fortran is like a piece of chocolate cake without ketchup and mustard.
da power pwnerer
19
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Pittsburgh, PA
Posted: 17th Feb 2008 05:07
Quote: "I will get working on one, as well. We will compare, and see wich one is better. Ok?"


Oh, competition, eh? This should be interesting



-Dan


http://Freewebs.com/noobisoft
Come to Noobisoft's website today!
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 17th Feb 2008 05:10
Idea: Why not (whoever works on one) contribute the code to the editor freely/open-source.

Anywho, I decided that I'll reopen WinGUI's source code to the general public again under the most recent open-source license. It'll make use of my MSI (Modular Structure Interface). Which is like COM but easier to use and faster.

Cheers,

-naota

With any luck you'll be able to turn a fully functioning program to a crashing program with just a little bit of coding.
Aex.Uni forums
da power pwnerer
19
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Pittsburgh, PA
Posted: 17th Feb 2008 05:45
I'll make it open source if you want me too. Not too much of a hassle.
How about a simple bargain? We (luke and I) make our editors, and make them open source, if you make an update for WinGUI



-Dan


http://Freewebs.com/noobisoft
Come to Noobisoft's website today!
luke escude
17
Years of Service
User Offline
Joined: 9th Sep 2007
Location: Right Behind You
Posted: 17th Feb 2008 14:58
That sounds great! I have already completed the visual editor

Just kidding

-C gives you enough rope to hang yourself. C++ also gives you the tree object to tie it to.
-A computer without COBOL and Fortran is like a piece of chocolate cake without ketchup and mustard.
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 22nd Feb 2008 20:56
Funny you should mention that, I was just planning one. Course it might take a while, but non-the-less, it shall be done.


Cheers,

-naota

With any luck you'll be able to turn a fully functioning program to a crashing program with just a little bit of coding.
Aex.Uni forums
da power pwnerer
19
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Pittsburgh, PA
Posted: 22nd Feb 2008 21:25
So three editors? Everyone will be using WinGUI



-Dan


http://Freewebs.com/noobisoft
Come to Noobisoft's website today!
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 23rd Feb 2008 06:27
No, an update.

With any luck you'll be able to turn a fully functioning program to a crashing program with just a little bit of coding.
Aex.Uni forums
da power pwnerer
19
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Pittsburgh, PA
Posted: 23rd Feb 2008 14:11
Ah, I see Any clue on what will be added?




-Dan


http://Freewebs.com/noobisoft
Come to Noobisoft's website today!
Todd Riggins
20
Years of Service
User Offline
Joined: 29th Oct 2004
Location: Texas, USA
Posted: 23rd Feb 2008 18:56
Hi, Im trying to get an image to be displayed on a window, like so:



can GUI_SETWINDOWIMAGE accept a windows bitmap file? It wont show.

Inspirational Music: Descent ][ Redbook Audio CD Soundtrack
Todd Riggins
20
Years of Service
User Offline
Joined: 29th Oct 2004
Location: Texas, USA
Posted: 23rd Feb 2008 19:29
Ah looks like GUI_MAKEIMAGE is what I want.

So how does GUI_SETWINDOWIMAGE work? thanks

Inspirational Music: Descent ][ Redbook Audio CD Soundtrack
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 23rd Feb 2008 23:00
You must make an image gadget, and gui_setwindowimage will only work with those. HOWEVER, in the next planned release of WinGui I will have it setup so you can set a Window's background image as well as style since the new drawing system is designed to be more flexible.

Cheers,

-naota

My email actually IS "[email protected]". Why? I don't know.
Aex.Uni forums
Todd Riggins
20
Years of Service
User Offline
Joined: 29th Oct 2004
Location: Texas, USA
Posted: 23rd Feb 2008 23:33 Edited at: 23rd Feb 2008 23:35
Ah thanks. Setting the window's background image is what I was after, but the gui_makeimage seems to work good enough.

I know I saw a post about this somewhere, but is there a way to change the color of a button, label, etc...? ofcoarse it works on a window. GUI_SETWINDOWCOLOR won't work on anything else as seen in code below. Sorry if Im being blind about something.



Inspirational Music: Descent ][ Redbook Audio CD Soundtrack
FERSIS
19
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 24th Feb 2008 19:35
No news on GDK support ?
Diggsey
19
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 24th Feb 2008 22:23
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 25th Feb 2008 00:44
@Diggsey
Because its for C++ too.

@FERSIS
That's the first thing the new version of WinGui will support.

@Todd Riggins
In the new version it'll support a bit more, but no guarantees. Labels and Windows are the only things guaranteed to be colored.


Cheers,

-naota

My email actually IS "[email protected]". Why? I don't know.
Aex.Uni forums
luke escude
17
Years of Service
User Offline
Joined: 9th Sep 2007
Location: Right Behind You
Posted: 25th Feb 2008 00:51
Great, you guys are doing fantastic, Aaron Miller!

But, have you found a solution to not being able to make a menubar on the main DBP window?

-C gives you enough rope to hang yourself. C++ also gives you the tree object to tie it to.
-A computer without COBOL and Fortran is like a piece of chocolate cake without ketchup and mustard.
da power pwnerer
19
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Pittsburgh, PA
Posted: 25th Feb 2008 12:40
@Todd Riggins - You have to use startwin32 at the beginning of your code. It initializes WinGUI, and you must use it to use any commands with WG.



-Dan


http://Freewebs.com/noobisoft
Come to Noobisoft's website today!
Grandma
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location: Norway, Guiding the New World Order
Posted: 25th Feb 2008 21:30
Spaghetti!

Nice to see WinGui is alive and well. I felt it was on life-support for a moment. Keep up the amazing work and i'll be looking forward to the next update.

This message was brought to you by Grandma industries.

Making yesterdays games, today!
Angel Lazerus
21
Years of Service
User Offline
Joined: 8th Feb 2004
Location:
Posted: 26th Feb 2008 00:39
Any updates on the IDE's and help files that
volunteers have been making for WINGUI?

This is a great plug-in/tool. Keep up the good work.

Angel. X.



Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 28th Feb 2008 20:32
Afraid there are no updates on help files or IDE stuff, which is a good thing because WinGui is changing fundamentaly - Your code will break in the next release.

I've configured WinGui to build out to a DLL upon compile time, as well as a .LIB, etc (For C++, and DBP programming). Yay code::blocks.

So, this means that there'll be no delay in updates for DBP with C++ updates. I tested the DLL and it works fine except for: string returning, destroying windows. The string returning is DBP specific, the destroying windows is a problem in the new fundamentals with WinGui, which NEEDS to be fixed. My solution is modifying the MSI to support linked lists (And thus parenting -- which is the problem with WinGui (Parenting bugs)). So with such, I've set out to fix it.

Sadly, I was delayed as I opened Notepad++ to work on "core_msi.h", and noticed my operating system development files next to it, and got an urge to develop on my OS. Good news: MY OS IS WORKING! Bad News: WinGui hasn't actually made progress since the parenting bug, and core_msi.h is now broken (Due to the parenting bug PORTED over, I need to see what the hell is wrong).


Cheers,

-naota

My email actually IS "[email protected]". Why? I don't know.
Aex.Uni forums
da power pwnerer
19
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Pittsburgh, PA
Posted: 28th Feb 2008 21:30
Will all the commands be staying the same, because one of my project relies heavily on WinGUI, and if they were to change, I would be wrecked

Good news on the update though



-Dan


http://Freewebs.com/noobisoft
Come to Noobisoft's website today!
DB PROgrammer
18
Years of Service
User Offline
Joined: 9th Feb 2007
Location: Nowhere But Everywhere
Posted: 28th Feb 2008 22:55
Hey, Aaron I asked a question awhile ago on your boards could you answer it.


If it was illegal to be stupid we'd run out of room.
luke escude
17
Years of Service
User Offline
Joined: 9th Sep 2007
Location: Right Behind You
Posted: 29th Feb 2008 01:53
Aaron, you make Operating Systems? That's awesome! How do you do it? What programming language? Where do you enter codes in?

Also, have you sorted out that dropdown menu bug with DbpHwnd?

-C gives you enough rope to hang yourself. C++ also gives you the tree object to tie it to.
-A computer without COBOL and Fortran is like a piece of chocolate cake without ketchup and mustard.
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 1st Mar 2008 22:58
Woah, so much to answer, and I have about 2 minutes to do so... Okay..

@da power pwnerer
I'm sorry to say not. But this will be the LAST major update for a while. Mainly you'll have to do a find/replace job in the editor, ex: gui_makeWindow with twMakeWindow.

@DB PROgrammer
I don't have much internet access atm, but when I do I try to answer all the questions I get on the internet. I believe I answered your question today.

@luke escude
Yes. Thanks. C++ and 1 day worth of building random tools. x86 ASM using NASM, and C using DJGPP. Notepad++, then compile with build.bat. If you're interested, goto www.osdever.net, they have some nifty tutorials. Feel free to use the tools I provided with my crappy OS to build compile and link -- That was the longest part for me to get.

@everyone
quit asking about bugs in the old version, please Ask about the new version.


Cheers,

-naota

My email actually IS "[email protected]". Why? I don't know.
Aex.Uni forums

Login to post a reply

Server time is: 2025-08-08 08:22:33
Your offset time is: 2025-08-08 08:22:33