Jump to content


Photo

Gmww Dll -- Version 2.1


  • This topic is locked This topic is locked
255 replies to this topic

#1 tangibleLime

tangibleLime

    Lunatic

  • GMC Elder
  • 2520 posts
  • Version:GM:HTML5

Posted 13 January 2006 - 12:41 AM

Posted Image


DLL Information
This DLL allows a user to make Windows Widgets in GameMaker, or any other program, even though it is designed for GameMaker. GMWW stands for Game Maker Windows Widgets.

What is a widget? (Defined from http://www.webopedia.com/)
A generic term for the part of a GUI that allows the user to interface with the application and operating system. Widgets display information and invite the user to act in a number of ways.
(In other words, buttons, checkboxes, progress bars, etc...)


DLL Features
  • windows
  • buttons
  • radio buttons
  • checkboxes
  • comboboxes
  • edit boxes
  • frames
  • progress bars
  • status bars
  • listboxes
  • trackbars
  • treeviews
  • text
  • message boxes
  • updown boxes (spinners)
  • calendars
  • IP Boxes *new in Version 2*
  • images *new in Version 2*
  • tabs *new in Version 2*
  • listviews *new in Version 2*
  • panels/lines *new in Version 2*
There are many sub-catagorical features as well. You can also change the fonts, if you don't like the default. There are also many more sub-catagorical features in Version 2.


Changes in Version 2 from Version 1
  • IP Boxes
  • images
  • tabs
  • listviews
  • panels/lines
  • fixed updown box
  • fixed font changing
  • set window's icon
  • set window background
  • get default window background
  • frame labels
  • get editbox text
  • MANY MORE FUNCTIONS
ScreenShots
Here are three screenshots from the example. Note that the example does not show all functions! The second and third screenshot is a hyperlink because the maximum 3 images per post.
Screen 1: Posted Image
Screen 2: http://img425.images...5/3382/27hu.gif
Screen 3: http://img425.images...5/1451/34nq.gif

Download
Please, do NOT mirror this file, or reupload it for any reason at all. I do not wish to have my file re-hosted. If the link is broken, PLEASE contact me, and I will provide a temporary working link.
File Compression: .ZIP
Download Link:
www.wowthatsawesome.com/files/gm_dlls/GMWWDLL.zip

Forum
Visit the GMWW DLL official forum for to-do lists, Q&A, suggestions, to show off your creations, examples, and much more.
Link: http://z7.invisionfree.com/GMWW_DLL/

GMWW DLL UserBar
Posted Image
[url=http://forums.gamemaker.nl/index.php?showtopic=183899]
[img]http://img479.imageshack.us/img479/3680/gmwwubar6lk.png[/img][/url]

Other Notes
Special thanks to Smarttart62 for making the GMWW Banner and the GMWW Forum logo. If anyone finds any bugs, please report them either in this topic, or on the GMWW forums (click).
  • 0
Posted ImagePosted Image

#2 AlcanderX

AlcanderX

    GMC Member

  • New Member
  • 400 posts

Posted 13 January 2006 - 01:04 AM

Absolutely Outstanding.
  • 0

#3 ChIkEn AtE mY dOnUtS

ChIkEn AtE mY dOnUtS

    Pwner of barcodes

  • GMC Member
  • 2410 posts

Posted 13 January 2006 - 01:31 AM

"0mg th15 15 l1k3 4w35um3"

lol =P
pretty neat!! 10/10
  • 0
I've moved away from GM. If you want to contact me, feel free to email ryanwebdev@gmail.com.

Thanks,
Ryan.

#4 courage

courage

    Only mildly insane

  • New Member
  • 383 posts

Posted 13 January 2006 - 01:38 AM

OMG WTF OMG WTF OMG WTF
This is !@#$ing awesome! OMG! And I didn't thin it was possible in GM! Well, time to make my install program and updater.

105%

:rambo COURAGE
ps. Do you need a mirror? I can host a mirror... PM me...

EDIT:

It would be nice if there was a library for this. It'll take me weeks to understand this, well time to learn.

Edited by courage, 13 January 2006 - 01:40 AM.

  • 0

#5 tangibleLime

tangibleLime

    Lunatic

  • GMC Elder
  • 2520 posts
  • Version:GM:HTML5

Posted 13 January 2006 - 01:41 AM

Absolutely Outstanding.

<{POST_SNAPBACK}>

Thanks :)


"0mg th15 15 l1k3 4w35um3"

lol =P
pretty neat!! 10/10

<{POST_SNAPBACK}>

Thanks :D


OMG WTF OMG WTF OMG WTF
This is !@#$ing awesome! OMG! And I didn't thin it was possible in GM! Well, time to make my install program and updater.

105%

:rambo COURAGE
ps. Do you need a mirror? I can host a mirror... PM me...

EDIT:

It would be nice if there was a library for this. It'll take me weeks to understand this, well time to learn.

<{POST_SNAPBACK}>

Thanks :GM130:
I don't really want a mirror; so I can quickly fix a bug and rehost, and I like having one file and one location :GM130:

If anyone finds any bugs, please notify me:)
  • 0
Posted ImagePosted Image

#6 pythonpoole

pythonpoole

    Scorpion Software

  • New Member
  • 1894 posts

Posted 13 January 2006 - 01:48 AM

Absolutly amazing. I actually knew of the "frame idea" a long time ago and was going to create a dll with it, but I got caught up in school etc.


Things to note: When i was thinking of making mine, I was making it so the script automatically created a frame around the component, except for things like labels.

For example a progress bar script would automatically create a black fream the exact size of it and but the progress bar in it.

Just something to think about if you release another version.


Great Job :rambo
  • 0
- Ben

#7 courage

courage

    Only mildly insane

  • New Member
  • 383 posts

Posted 13 January 2006 - 01:49 AM

I still would've liked a library... Gues I will have to learn it the old fashioned way.
  • 0

#8 billiam

billiam

    The Music Loser

  • New Member
  • 92 posts

Posted 13 January 2006 - 01:49 AM

dudeyourocksomuchspacesarn'tevenneeded
  • 0

#9 Mousier Goatee

Mousier Goatee

    Mobile Cheese Factory

  • New Member
  • 48 posts

Posted 13 January 2006 - 02:25 AM

Excellent... after the original GMWW lost support, this became greatly needed.
The scripts are well documented, the functions are well organized...
what more can I say :)

-Mousier Goatee :rambo
  • 0

#10 tangibleLime

tangibleLime

    Lunatic

  • GMC Elder
  • 2520 posts
  • Version:GM:HTML5

Posted 13 January 2006 - 03:08 AM

The other one by GMWIZ2K3 was named GMW. When I wrote my DLL, I just tagged along another W so people would instantly think of GMW, and know that it was to do with widgets.

I think I found a few bugs that I will try and fix in the near future :rambo
these bugs being with the UpDown box, and the status bar
Also, if i make a new version, I'll include image functions
  • 0
Posted ImagePosted Image

#11 Smarttart62

Smarttart62

    designFUSION™

  • New Member
  • 2619 posts

Posted 13 January 2006 - 03:46 AM

I decided to re-do your banner:
Posted Image

Now i dont care if you use it or not, but your free to use it :rambo
-Steve
  • 0

#12 tangibleLime

tangibleLime

    Lunatic

  • GMC Elder
  • 2520 posts
  • Version:GM:HTML5

Posted 13 January 2006 - 04:14 AM

Ahh! It's awesome :rambo I'll edit it in and add you on the bottom of the post :)
  • 0
Posted ImagePosted Image

#13 True_Predator

True_Predator

    GMC Member

  • GMC Member
  • 655 posts
  • Version:GM:Studio

Posted 13 January 2006 - 05:04 AM

Very cool
  • 0

My deviantart page: http://truepredator....rt.com/gallery/    
My Imageshack: https://imageshack.c...r/true_predator :: Signup yourself by visiting this link *please :D*: https://imageshack.c...HZpaelpWdkphpng

Visit my dev blog on my Isometric Engine. Subscribe / follow!   http://vohjiindev.blogspot.com/

 

Software used: GameMaker: Studio,  Spine Professional http://esotericsoftware.com/ 


#14 Mr Egg

Mr Egg

    GMC Member

  • New Member
  • 255 posts

Posted 13 January 2006 - 05:46 AM

Would it be possible so you can set the rooms background colour to the default skin application background colour?

For example if you were using Window Blinds and was using another skin, chances are the default application background wouldn't be that gray/brown.
  • 0

#15 courage

courage

    Only mildly insane

  • New Member
  • 383 posts

Posted 13 January 2006 - 09:23 AM

The buttons and that work ok in older versions of windows like 2000 or 98. Although the text boxes don't display in proper old windows style. Great work anyway...

:rambo Courage
  • 0

#16 Chirantha

Chirantha

    GMC Member

  • New Member
  • 502 posts

Posted 13 January 2006 - 12:16 PM

Grrr..... Server Down!!!! Please Mirror it to my upload.
  • 0

#17 Smarttart62

Smarttart62

    designFUSION™

  • New Member
  • 2619 posts

Posted 13 January 2006 - 12:22 PM

Thanks roach.
-Steve
  • 0

#18 tangibleLime

tangibleLime

    Lunatic

  • GMC Elder
  • 2520 posts
  • Version:GM:HTML5

Posted 13 January 2006 - 04:19 PM

Grrr..... Server Down!!!! Please Mirror it to my upload.

<{POST_SNAPBACK}>

I will add a personal mirror from one of my additional website hosters when I find the time. Please, do not mirror the file by yourselves.
  • 0
Posted ImagePosted Image

#19 39ster

39ster

    GMC Member

  • GMC Member
  • 898 posts

Posted 13 January 2006 - 04:28 PM

Its cool but you should add an events system like blitzbasic uses.
http://www.blitzbasi...php?show=Events
  • 0

#20 netman

netman

    GMC Member

  • New Member
  • 209 posts

Posted 13 January 2006 - 06:56 PM

ok I just take a look at it and it really looks neat.
but I'm missing a really importand function.
a function to read the user input of a textbox.
or is there allready a way to do that.
ifso this is really the best I saw.
great job a really huge aplause for you. :rambo
  • 0

#21 gml_josea

gml_josea

    Killing Noobs

  • New Member
  • 466 posts

Posted 13 January 2006 - 07:01 PM

this is great, better than the set of scripts I found on this forum. nice work roach.

EDIT: also this dll doesn't create any child windows to display the things :rambo or well noone I can see

EDIT2: I would like some more documented example :) I still understand this but for the people who doesn't.
If you get time of course

EDIT3: Another thing, you should make something to make the background color (yellow like XP style) change to the WinClassic Gray style, because when working on nonXPstyle pcs the thing looks ugly.

Edited by politoed02, 13 January 2006 - 07:06 PM.

  • 0

#22 lewa

lewa

    GMC Member

  • New Member
  • 587 posts

Posted 13 January 2006 - 07:55 PM

Very very nice!
*bugs I noticed*
â—˜ The buttons check if they are pressed, not released.
â—˜ The spinbutton is backward...up decreases value, and down seems to increase the value.
  • 0

Supercilious, I know. Sorry. I blame GIMP.

#23 HomerTheDragoon

HomerTheDragoon

    GMC Member

  • GMC Member
  • 823 posts

Posted 13 January 2006 - 10:12 PM

you should add the ability to delete somthing from the tree view, or list view. Then this would be awesome. Since i had to fake a tree view with my password manager program.
  • 0

#24 tangibleLime

tangibleLime

    Lunatic

  • GMC Elder
  • 2520 posts
  • Version:GM:HTML5

Posted 13 January 2006 - 10:31 PM

It already can, I just didnt include it in the example.
  • 0
Posted ImagePosted Image

#25 Mousier Goatee

Mousier Goatee

    Mobile Cheese Factory

  • New Member
  • 48 posts

Posted 13 January 2006 - 11:19 PM

The other one by GMWIZ2K3 was named GMW. When I wrote my DLL, I just tagged along another W so people would instantly think of GMW, and know that it was to do with widgets.


I knew that :)

Only one thing... I'd much rather use yours, but I need the IP Address Box that GMW comes with. Are you thinking of adding some things like this in, or are you just going to stick with the essential windows GUI?

-Mousier Goatee :lol:

Edited by Mousier Goatee, 13 January 2006 - 11:19 PM.

  • 0

#26 coolsmile

coolsmile

    Programmer

  • New Member
  • 1346 posts

Posted 13 January 2006 - 11:24 PM

This is very nice! :lol:
Great Job!!!
  • 0

#27 tangibleLime

tangibleLime

    Lunatic

  • GMC Elder
  • 2520 posts
  • Version:GM:HTML5

Posted 13 January 2006 - 11:25 PM

The other one by GMWIZ2K3 was named GMW. When I wrote my DLL, I just tagged along another W so people would instantly think of GMW, and know that it was to do with widgets.


I knew that :)

Only one thing... I'd much rather use yours, but I need the IP Address Box that GMW comes with. Are you thinking of adding some things like this in, or are you just going to stick with the essential windows GUI?

-Mousier Goatee :lol:

<{POST_SNAPBACK}>

Sure, i'll try to include it in a future release.
  • 0
Posted ImagePosted Image

#28 antidote

antidote

    GMC Member

  • New Member
  • 117 posts

Posted 13 January 2006 - 11:31 PM

eh anyone got a spare pair of pants i seem to have urinated myself in my excitment; DAMN NICE DLL. good job ROACH OF DEATH
  • 0

#29 tangibleLime

tangibleLime

    Lunatic

  • GMC Elder
  • 2520 posts
  • Version:GM:HTML5

Posted 14 January 2006 - 12:34 AM

Thanks. I just finished features for Image support, as well as a few other things. Expect an update soon.
  • 0
Posted ImagePosted Image

#30 Scooternew

Scooternew

    GMC Member

  • New Member
  • 1325 posts

Posted 14 January 2006 - 12:39 AM

roachofdeath, you have done it again. NOt only have you contributed to the GMC time and time again, but you've made valuable DLL's which really help people to help themselves. The work you've done here can't be rated in numbers - it is that awesome. Please, continue to make DLL's forever.
  • 0

#31 tangibleLime

tangibleLime

    Lunatic

  • GMC Elder
  • 2520 posts
  • Version:GM:HTML5

Posted 14 January 2006 - 02:23 AM

Thanks so much :lol:

I'm currently making a new feature with ListViews, but the columns are giving me a bit of trouble :)

Edited by roachofdeath, 14 January 2006 - 02:24 AM.

  • 0
Posted ImagePosted Image

#32 oscar

oscar

    GMC Member

  • New Member
  • 52 posts

Posted 14 January 2006 - 10:19 AM

Add a vertical and horisontal scroll!!
A bug..
When i, for example press at the multiline editbox the GM window loses it't focus
And...maby.... add a function where i can get the standard backgroundcolor for a window :lol:

Edited by oscar, 14 January 2006 - 10:21 AM.

  • 0

#33 databot

databot

    admin of moonlight games

  • New Member
  • 309 posts

Posted 14 January 2006 - 11:28 AM

roach,from wot i can tell , everyone seems to have the DLL working correctly
unfortunatly, its having problems on winME.
PM me if you want to see the screenshot
  • 0
Completed:
Scrip - Command line engine in the palm of your hands Get it Here
X²ML - XML simplified

#34 tangibleLime

tangibleLime

    Lunatic

  • GMC Elder
  • 2520 posts
  • Version:GM:HTML5

Posted 14 January 2006 - 04:06 PM

Add a vertical and horisontal scroll!!
A bug..
When i, for example press at the multiline editbox the GM window loses it't focus
And...maby.... add a function where i can get the standard backgroundcolor for a window :lol:

<{POST_SNAPBACK}>

The example makes a window and puts it in the GM window, that's why it looses focus, because the GM window isn't being used. I already have added a feature for the default background color; it will be released in the next version.


roach,from wot i can tell , everyone seems to have the DLL working correctly
unfortunatly, its having problems on winME.
PM me if you want to see the screenshot

<{POST_SNAPBACK}>

Sure, i'd like to see a screenshot.
  • 0
Posted ImagePosted Image

#35 PJ Games

PJ Games

    NUFC Rulz!

  • New Member
  • 38 posts

Posted 14 January 2006 - 10:38 PM

Would it be possible to have a feature in the treeview that just returns what is selected rather than having to check the state for each individual item?
It's just that I started to use it with a really big list of items but then gave up beacuse it was going to take an age to impememnt the checking for each of these items.
thanks,
PJ
  • 0

#36 tangibleLime

tangibleLime

    Lunatic

  • GMC Elder
  • 2520 posts
  • Version:GM:HTML5

Posted 15 January 2006 - 12:17 AM

It would be the same thing...

example: (fake actions)

the way you want:
selected = get_selected(tv);
if selected = 1 //dostuff
if selected = 2 //dostudd

the way it already is
if (get_selected(tv)==1) //do stuff
if (get_selected(tv)==2) //do stuff

Same amount of codeing.
  • 0
Posted ImagePosted Image

#37 De Cowboy

De Cowboy

    GMC Member

  • New Member
  • 63 posts

Posted 15 January 2006 - 08:04 AM

It would be the same thing...

example: (fake actions)

the way you want:

selected = get_selected(tv);
if selected = 1 //dostuff
if selected = 2 //dostudd

the way it already is
if (get_selected(tv)==1) //do stuff
if (get_selected(tv)==2) //do stuff

Same amount of codeing.

<{POST_SNAPBACK}>


selected = get_selected(tv);
script_execute(global.tv_actions[selected]);
Or getting something else from an array, is a lot shorter.
  • 0

#38 tangibleLime

tangibleLime

    Lunatic

  • GMC Elder
  • 2520 posts
  • Version:GM:HTML5

Posted 15 January 2006 - 04:47 PM

I just finished up Version 2, and updated the topic. Please re-download, this is a big update. :)

Rock on,
roachofdeath
  • 0
Posted ImagePosted Image

#39 gml_josea

gml_josea

    Killing Noobs

  • New Member
  • 466 posts

Posted 15 January 2006 - 05:05 PM

well. This is good for only Windows like aplications. But if you want to combine some of gm things (drawing, most of these stuff) is not good idea.
I noticed that when you close the window by the "X" button the GM window appears. Is that supposed to be like that?
  • 0

#40 tangibleLime

tangibleLime

    Lunatic

  • GMC Elder
  • 2520 posts
  • Version:GM:HTML5

Posted 15 January 2006 - 05:06 PM

Yeah; in the example it creates the example window and just minimizes the GM window to get it out of the way.
  • 0
Posted ImagePosted Image

#41 lelo707

lelo707

    GMC Member

  • New Member
  • 258 posts

Posted 15 January 2006 - 05:48 PM

ok, first of all this is a great DLL, exellent work. Definetely the best DLL for real windows widgets.

My biggest gripe with DLL solutions for windows components is the lack of customisability. You can't even change the colors to suit your game, so you'd end up only using this for applications and such. Another major thing is that it only operates properly in a seperate window. If I use window_handle() instead of the window you create in setting the parent window of your widgets, the caching gets messed up and everything ends up looking horrible. Also, I personally think that even when you use this for an app it looks really amateurish if you have the little minimized GM window in the corner.

Now, some suggestions. I'd add in a scrollbar to the multiline textbox, that would really finish it off. Also, the buttons don't seem to be working properly. They respond as soon as I click instead of when I release the mouse button. The rest seemed to work great.

Don't take any of this as an insult, it's merely meant as constructive critisism. I personally wouldn't use this for the reasons I mentioned above, but I'm sure many others would, and with good reason, as this is a great piece of work. Good luck with this and all your other projects.

-Lelo707
  • 0

#42 gml_josea

gml_josea

    Killing Noobs

  • New Member
  • 466 posts

Posted 15 January 2006 - 10:38 PM

Yeah; in the example it creates the example window and just minimizes the GM window to get it out of the way.

<{POST_SNAPBACK}>


0_o. Well, I guess I can use another dll to make the GM window completely hidden.
  • 0

#43 Smarttart62

Smarttart62

    designFUSION™

  • New Member
  • 2619 posts

Posted 15 January 2006 - 10:39 PM

window_set_visible(false);
-Steve
  • 0

#44 tangibleLime

tangibleLime

    Lunatic

  • GMC Elder
  • 2520 posts
  • Version:GM:HTML5

Posted 16 January 2006 - 03:27 AM

lelo707 - I completely understand, and thank you for the thought-out post :)
  • 0
Posted ImagePosted Image

#45 YopYop

YopYop

    GMC Member

  • New Member
  • 120 posts

Posted 16 January 2006 - 11:47 PM

Nice !
it would be great if it could be possible to open and modify a text file in this second window :lol:
  • 0

#46 Smarttart62

Smarttart62

    designFUSION™

  • New Member
  • 2619 posts

Posted 17 January 2006 - 12:26 AM

GMW has support to use the same window as your game if i remember correctly :lol:
-Steve
  • 0

#47 gml_josea

gml_josea

    Killing Noobs

  • New Member
  • 466 posts

Posted 17 January 2006 - 01:00 AM

ya. You can make the GMW int he window it creates, and still use the gm window in the back to execute some code, for e.g. file I/O
  • 0

#48 tangibleLime

tangibleLime

    Lunatic

  • GMC Elder
  • 2520 posts
  • Version:GM:HTML5

Posted 17 January 2006 - 02:33 AM

:lol: It's "GMWW", unless you talking about the other DLL which is less complete and dis-continued called "GMW".
  • 0
Posted ImagePosted Image

#49 Smarttart62

Smarttart62

    designFUSION™

  • New Member
  • 2619 posts

Posted 17 January 2006 - 07:24 PM

Yep im talking about the original 'Game Maker Widgets' by gmwizkid (i think that was his name)

It allowed you to draw the widgets onto the gm window. Yes it was uncomplete, but it allowed that tiny little feature that helped it kick ass :(
-Steve
  • 0

#50 tangibleLime

tangibleLime

    Lunatic

  • GMC Elder
  • 2520 posts
  • Version:GM:HTML5

Posted 17 January 2006 - 07:35 PM

You can also draw widgets on the GM window with my DLL, but the background of the widgets is black.. try setting it to white using the setbackground function and having the widgets on the normal GM window. I havn't tried it yet.
  • 0
Posted ImagePosted Image