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
Bush Baby
19
Years of Service
User Offline
Joined: 23rd Apr 2005
Location: A cave beneath Jerusalem
Posted: 14th Jul 2007 16:13
Let's see one of your .dlls get finished first before you start on another

#11 - Thou Shalt Practice What Thou Preach
Kieran
18
Years of Service
User Offline
Joined: 6th Aug 2006
Location: Hamilton, New Zealand
Posted: 15th Jul 2007 08:15 Edited at: 15th Jul 2007 08:16
@Bush Baby
This is one of his first ones, it has been around a long time and it is open source.
Aaron has finished dlls before this one also so there

Anyways people can't whip up dlls as fast as you may think especially considering he has other things he is busy with and this dll is FREE which means he doesn't even have to do this because no-one is paying to support it or anything so try not to be so impatient.

@Aaron
Nice dll keep up the good work

Bush Baby
19
Years of Service
User Offline
Joined: 23rd Apr 2005
Location: A cave beneath Jerusalem
Posted: 15th Jul 2007 18:24
Quote: "Anyways people can\'t whip up dlls as fast as you may think especially considering he has other things he is busy with and this dll is FREE which means he doesn\'t even have to do this because no-one is paying to support it or anything so try not to be so impatient."


No sh*t sherlock.

#11 - Thou Shalt Practice What Thou Preach
Alquerian
18
Years of Service
User Offline
Joined: 29th Mar 2006
Location: Reno Nevada
Posted: 15th Jul 2007 19:01 Edited at: 15th Jul 2007 19:24
Aaron - I used this in Weedworks to tackle a few obstacles, and it worked like a charm. I am very glad that you open-sourced this as it has taught me a bit about C++ and it is very useful. Keeping it open source will ensure that it is maintained and further developed by the community, unlike BlueGUI (which I am becoming more and more disappointed with day by day).

Thanks for your hard work

Edit - I think keeping it open source is very noble, however earning a little bit of money for your time is understandable. I would keep it free and setup a site that allowed for paypal donations. Doing this would demonstrate to everyone your abilities while still making a little bit of money. (add a colorpicker and a thing or two and I will throw you a bone )

Visit the Wip!
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 16th Jul 2007 02:24
@Kieran
Thanks.

@Bush Baby
Don't worry, this is a project I will definately finish. I have finished DLLs in the past, and created dozens of DLLs that were meant for personal use only...

Also, try to keep some comments to yourself. (Referring to the comment given Kieran)

@Alquerian
Thanks. I think I will set up a PayPal link, for donations... And don't worry, color picker/tabs are next on my list.



Cheers,

-naota

Powermattt Wrong Way
17
Years of Service
User Offline
Joined: 16th Apr 2007
Location:
Posted: 16th Jul 2007 13:19
Quote: "And don't worry, color picker/tabs are next on my list ."


Good news !
And don't forget to finish menus (GUI_GETMENUCLICKED)

Thanks again for this excellent Dll ^^
Brendy boy
19
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 16th Jul 2007 13:35
Combobox and listbox are two similar boxes but there is a little difference (which i won't explain now).

I made a command for a listview and tabs (at the moment with text only)

I have problems with adding images to tabs. I need to make a image list with Imagelist_create(some parameters) command but when i write that command compiler gives me an error:unresolved external simbol _imagelist_create (i included commctrl.h).

Can somebody help me.

God is real unless declared integer.
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 17th Jul 2007 00:25
You need to add a library to the project, if under Dev-C++: C:\dev-cpp\lib\libcommctrl32.a I think. If under MSVC++: commctrl32.lib I think


Thanks everyone.


Cheers,

-naota

FERSIS
18
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 18th Jul 2007 00:19
Hi , ive downloaded the DLL from the First Post
When i try to compile the example shown on the post , i get this:

Parameter Mismatch in expression 'gui_makeEditBox' at line 60
and that line is the same as the example:
[/code]
hEdit = gui_makeEditBox(330,200,360,120,1,editNormal(),hWnd)
[code]

any ideas of what is it ?

cheers and thanks
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 21st Jul 2007 06:08
Check the INI file for correct parameter usage. I can't really access anything atm. Need to take computer in for repairs, I was told I could take it in today, but so far that hasn't happened.


Cheers,

-naota

da power pwnerer
18
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Pittsburgh, PA
Posted: 23rd Jul 2007 21:19
Quote: "And don't forget to finish menus (GUI_GETMENUCLICKED) "


I think menus should be finished next


http://Freewebs.com/noobisoft
Come to Noobisoft's website today!
fpsfreak
17
Years of Service
User Offline
Joined: 18th Jun 2007
Location:
Posted: 24th Jul 2007 18:42
Hey man how would you get the gui to appear in the DarkBasic window not th gui window? Is it even possible? thx
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 25th Jul 2007 00:09
When you make a window, you would use dbphwnd() as the parent.


Cheers,

-naota

fpsfreak
17
Years of Service
User Offline
Joined: 18th Jun 2007
Location:
Posted: 25th Jul 2007 01:53
Thanks man, i just ried that it works like a charm, great job on the dll! Its people like you who keep DarkBasic Programmign alive . And if you want i can create a text that show all the functions and how to fill them in, just cause some people might not understand some things in the ini. (Ive tried a couple commands an they work fine.)
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 25th Jul 2007 04:08
Thanks

If you would like to create a help file, then that would be fine


Cheers,

-naota

Crazy Programmer
AGK Developer
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 25th Jul 2007 04:37
Aaron, Nice work I have Blue but i might still use this for some things


Load Programmer "Crazy Programmer",1
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 25th Jul 2007 06:37
Thanks.


Cheers,

-naota

Grandma
18
Years of Service
User Offline
Joined: 26th Dec 2005
Location: Norway, Guiding the New World Order
Posted: 27th Jul 2007 00:35
Super awesome power!

*This message was brought to you by Grandma industries, 'making yesterdays games, today'*

Being insane, old, commie, gay and stupid is just my DBP forum image, in reality i'm somewhat normal. Altough friends and family would disagree.
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 27th Jul 2007 02:05
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 27th Jul 2007 07:22
Ok, ask questions over here: Aex.Uni Forums.

Please make your own topic in the proper forum, thank you.


Cheers,

-naota

FERSIS
18
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 27th Jul 2007 20:13 Edited at: 27th Jul 2007 20:23
hi , im using hWnd=gui_makeWindow(640,480,"My Window",dbphwnd())
But it creates another window, it doesnt render the gui object on the DBP window... is this the intended behavior?
Cause it would be great to render the gui objects on the DBP Window
Cheers

EDIT:
Sorry i get it
It works lovely now , sorry for bother all you guys

EDIT2:
Ive forgot something ... great job man !
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 27th Jul 2007 23:36
@FERSIS
No problem. If you should have any other questions, please ask on my forums... It's just easier for me to get to, and it'll save people the hassle of searching through 7 pages of text.

I'm glad you like it.


Cheers,

-naota

FERSIS
18
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 28th Jul 2007 00:35
Thanks
I have another important question....
But you have to check your forum
Cheers
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 28th Jul 2007 00:39
Ah, the way it should be.


Cheers,

-naota

Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 2nd Aug 2007 14:40
I just had a REALLY cool idea for winGUI! Check your forumz

Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 4th Aug 2007 08:37
I checked, I responded.


Cheers,

-naota

Aralox
17
Years of Service
User Offline
Joined: 16th Jan 2007
Location: Melbourne
Posted: 9th Aug 2007 13:52
Sigh..
i had to read throuh the entire thread before i realised that you needed something to compile the file in the first post.
i ended up downloading like 4 files thinking it was the latest one in each case.
please, just put a message saying this is the most up to date on in the first post, and make it a dll.
Thanks


Lessen The List! (see the forum on my site)
Roborb = [00------------] - figuring out collision
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 9th Aug 2007 23:01
Oh! Terribly sorry about that. I'll be updating the DLL pretty soon...


Cheers,

-naota

Aralox
17
Years of Service
User Offline
Joined: 16th Jan 2007
Location: Melbourne
Posted: 10th Aug 2007 02:26
thanks


Lessen The List! (see the forum on my site)
Roborb = [00------------] - figuring out collision
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 11th Aug 2007 10:23 Edited at: 11th Aug 2007 10:26
No problem. Anymore errors/problems, feel free to ask.

Cheers,

-naota

Aralox
17
Years of Service
User Offline
Joined: 16th Jan 2007
Location: Melbourne
Posted: 11th Aug 2007 10:35
I have a suggestion for you.
To help with your window skinning needs, try the plugin called winskin. im not sure if plugins can be put into other plugins or merged with it, but im sure itll help you.
Ill try and dig up the link for you.

scroll down on this thread, there should be a link to a download called "WinSkin"
http://forum.thegamecreators.com/?m=forum_view&t=110422&b=1

Hope that helped

Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 11th Aug 2007 10:38
Thanks, but I'm afraid I would rather build my own window skinning lib, and implement it in WinGUI. Otherwise, people will need the winskin to do the windows skinning.


Cheers,

-naota

Aralox
17
Years of Service
User Offline
Joined: 16th Jan 2007
Location: Melbourne
Posted: 11th Aug 2007 10:40
whoa that was fast!
fair enough.
is it possible to decompile a dll? like view it in some code editor?
or make sense of it from at txt file?

fpsfreak
17
Years of Service
User Offline
Joined: 18th Jun 2007
Location:
Posted: 17th Aug 2007 00:38
so did you give up on this?
Sid Sinister
19
Years of Service
User Offline
Joined: 10th Jul 2005
Location:
Posted: 17th Aug 2007 02:13
Yea, how's it coming?
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 17th Aug 2007 04:46 Edited at: 17th Aug 2007 04:49
I can't upload anything atm. On my psp.

I didn't give up on this.

fpsfreak
17
Years of Service
User Offline
Joined: 18th Jun 2007
Location:
Posted: 19th Aug 2007 08:56
YAY GO AaroN!
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 19th Aug 2007 09:07
Thanks. I'll have Windows Vista Home Premium on monday as well, so I can get back to development.

Cheers,

-naota

fpsfreak
17
Years of Service
User Offline
Joined: 18th Jun 2007
Location:
Posted: 20th Aug 2007 08:28
Awesome!
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 21st Aug 2007 03:57
Indeed it is! I'll be leaving for home in a few hours... Then a two hour car ride back... The problem I will be having then is the internet. But that's nothing too big to worry about, as I will simply have to get a PSP USB connector and connect that to my computer, and I will have the internet.

So, hopefully I will be able to use the internet again tonight (5:56PM here, that's 17:56, hopefully by 11:00PM, or 21:00, I will be able to use the net at my house, with the lovely Aero applied. ^_^)


Cheers,

-naota

Mason
20
Years of Service
User Offline
Joined: 20th Mar 2004
Location: Arizona
Posted: 22nd Aug 2007 03:45
I'm really stoked about this I have been looking for an alternative to blue gui (something free ) I've been needing this for a while. When I get off of work I'm going to see if I can learn the majority of the plugin.

If you would like, I could make a help file for the plugin? The info provided from the .ini pretty much explains it but it's always nice to have help files.


Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 22nd Aug 2007 05:20
lol, I had it planned today to build a documentation for it and release a patch, but if you would like to build a help file that'd work to. If you are willing, I'd like the individual command explanations to be in this format:

Command Name
Description
<tab>blah blah blah (Command description).

Parameters
<tab>Parameter N
<tab><tab>Parameter Description.

Return Value *If return value is used*
<tab>Return Value Name
<tab><tab>Return Value Description.

Remarks
<tab>Additional comments about the command.






Cheers,

-naota

Mason
20
Years of Service
User Offline
Joined: 20th Mar 2004
Location: Arizona
Posted: 22nd Aug 2007 07:55
Just got off work. Ya I can write the documentation I just need to program with the plugin some more so I can explain everything correctly.


Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 22nd Aug 2007 09:54
Cool. This will give me time for development and documentation on other things as well.


Cheers,

-naota

Mason
20
Years of Service
User Offline
Joined: 20th Mar 2004
Location: Arizona
Posted: 22nd Aug 2007 13:15 Edited at: 22nd Aug 2007 13:21
I've made a few programs with the plug in, and I do have a question. Is there a way I can get input from Dark Basic's window while the your plug in window is up. I'm trying to get key input from db, but I have db hidden and the other window active. Is there a command that swaps active windows without the user having to click to switch windows?

And as for the documentation, I'll follow your format. Since I am still unfamiliar with the plug in, I am going to use the small documentation from the ini file to start out.

Its 3 in the morning and I'm very tired Just give me an example of exactly what you want your help file to look like using a command like gui_getEventHwnd(). The descriptions will be bland until I feel I can write them appropriately. If not, I'll at least create the majority of the documentation and have you go into further detail if you wish. Time to crash.


Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 22nd Aug 2007 20:20 Edited at: 22nd Aug 2007 20:21
I'll answer your key question with the next update, as it will be quicker that way, and more efficient.

Here's the example documentation for gui_getEventHwnd(), also, "***" denotes a comment that shouldn't be in the documentation. In addition, "tab" is not for a paragraph, rather it denotes an indent for the entire text.

gui_getEventHwnd
Description
<tab>gui_getEventHwnd() retrieves the handle to the window of prior event triggered by Windows.

Parameters
<tab>There are no parameters for this function.

Return Value
<tab>hWnd AS INTEGER *** Syntax Highlighted Here ***
<tab><tab>This is the handle to the window from the event triggered by Windows.

Remarks
<tab>gui_getEvent() must be called prior to this command, otherwise you may get a random value from this, and can cause unwanted results.



Good Luck.

Cheers,

-naota

[EDIT] I'll see if I can make the example HTML page for ya. [/EDIT]

Mason
20
Years of Service
User Offline
Joined: 20th Mar 2004
Location: Arizona
Posted: 24th Aug 2007 04:07
Let me know when you get that fixed. Lookin forward to it. Kinda stuck till then


Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 28th Aug 2007 19:02
Any chance we're having menu's anytime soon?

Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 29th Aug 2007 00:05
Menus might work with windows outside the main one... I was actually testing this a while ago, but then DirectX stopped working for some odd reason, some registry errors started occuring, and I had to reinstall XP, which took away DirectX support all-together.. Getting Vista fixed that problem but it's been so long I forgot to test that again... So to the testing mobile!


Cheers,

-naota

DBP, $80. DBP's plugins, $320. Watching DBP Crash, Priceless.
NG Website Aex.Uni forums
Mason
20
Years of Service
User Offline
Joined: 20th Mar 2004
Location: Arizona
Posted: 29th Aug 2007 02:55
Quote: "I'll answer your key question with the next update, as it will be quicker that way, and more efficient. "


Get That switching done yet?


Login to post a reply

Server time is: 2024-11-27 04:00:19
Your offset time is: 2024-11-27 04:00:19