Jump to content


Photo

7 New Common Dialog Boxes


  • Please log in to reply
44 replies to this topic

#1 camzmac

camzmac

    Karate Anchovies

  • New Member
  • 139 posts
  • Version:Unknown

Posted 30 March 2005 - 03:45 AM

Update: Source code has been found! Download gmdlg-src.zip

I have spent my whole spring break (so far) working on this DLL. So download it, and tell me what you think!

http://www.members.s...g-1.0.0.486.zip

Please post any bugs or spelling problems you find. I am in bug squashing mode right now!

5.5 days of working on the computer has really fatigued me, I think I'll go to sleep now.

Display 7 brand new common dialog boxes:
Wait box
Terms of Use box
Quick Help box
Calendar box
List Items box
Authorization box
Track Bar box


Edited by camzmac, 15 May 2008 - 12:28 AM.

  • 0

#2 tangibleLime

tangibleLime

    Lunatic

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

Posted 30 March 2005 - 03:53 AM

these will bring my games to a new level!
  • 0
Posted ImagePosted Image

#3 True_Predator

True_Predator

    GMC Member

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

Posted 30 March 2005 - 06:35 AM

Very nicley done, sleep well you deserve it, this DLL will make many games go to a new level.
  • 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/ 


#4 camzmac

camzmac

    Karate Anchovies

  • New Member
  • 139 posts
  • Version:Unknown

Posted 30 March 2005 - 10:30 PM

Updated the DLL, example and scripts a bit. The new link is in my original post.

In particular, I fixed a problem in the Track Bar Dialog which causes the text to be cut off.

Version: 1.0.0.472
  • 0

#5 Smarttart62

Smarttart62

    designFUSION™

  • New Member
  • 2619 posts

Posted 30 March 2005 - 10:37 PM

!!! WOW!!! THIS IS AWESOME!!! VERY very NICE JOB! ;) :o ;)
-Steve
  • 0

#6 camzmac

camzmac

    Karate Anchovies

  • New Member
  • 139 posts
  • Version:Unknown

Posted 30 March 2005 - 11:10 PM

!!! WOW!!! THIS IS AWESOME!!! VERY very NICE JOB! ;) :o ;)
-Steve

<{POST_SNAPBACK}>

Thank you very much ;)

If anybody has any dialog boxes you think I should add, just post a rough sketch of it here along with instructions on how it should work.

I was thinking of adding an IP address/port # getter dialog box. Would this be useful to anybody? It would make use of this control:
Posted Image

I've got the rest of spring break to do this. Suggest away!
  • 0

#7 Smarttart62

Smarttart62

    designFUSION™

  • New Member
  • 2619 posts

Posted 30 March 2005 - 11:36 PM

yeah tht would be cool ;)
-Steve
  • 0

#8 Xception

Xception

    GMC Member

  • New Member
  • 476 posts

Posted 30 March 2005 - 11:45 PM

How long is spring break?
2 hours?
;)
  • 0

#9 Smarttart62

Smarttart62

    designFUSION™

  • New Member
  • 2619 posts

Posted 30 March 2005 - 11:46 PM

lol ;)
-Steve
  • 0

#10 camzmac

camzmac

    Karate Anchovies

  • New Member
  • 139 posts
  • Version:Unknown

Posted 30 March 2005 - 11:53 PM

How long is spring break?
2 hours?
;)

<{POST_SNAPBACK}>

Well it takes about a day to code one dialog box, since most of this time it has a new control that I haven't used yet and I spend time learning to use it. Plus my compiler is Dev-C++, which isn't the best in the world.
But if the dialog is less complicated or doesn't have new controls I haven't used, I can produce them much faster.
  • 0

#11 zzzchristian

zzzchristian

    GMC Member

  • New Member
  • 42 posts
  • Version:GM6

Posted 31 March 2005 - 03:47 AM

Does it haft to be for GM5? Lol Other then that its cool! ;)
  • 0

#12 camzmac

camzmac

    Karate Anchovies

  • New Member
  • 139 posts
  • Version:Unknown

Posted 31 March 2005 - 05:27 PM

I just opened it up the gmd in version 6 right now and I am testing it out...

EDIT: I see it doesn't work. After editing the gm6, I had some problems. Expect an update sometime soon with a gm6 included :angry:

Edited by camzmac, 31 March 2005 - 05:39 PM.

  • 0

#13 the hunter

the hunter

    GMC Member

  • New Member
  • 227 posts

Posted 31 March 2005 - 06:32 PM

WOW :angry: thats AWSOME
  • 0

#14 arcooke

arcooke

    GMC Member

  • New Member
  • 1055 posts

Posted 31 March 2005 - 08:25 PM

I just opened it up the gmd in version 6 right now and I am testing it out...

EDIT: I see it doesn't work. After editing the gm6, I had some problems. Expect an update sometime soon with a gm6 included  :huh:

<{POST_SNAPBACK}>

Can't wait. :angry:

I want to try this out but I'm using GM6

--- EDIT ---

Temporary fix:

Open the GMD in GM6, open Object1, open action Draw, edit the script on line 8

Where it says "draw_rectangle(0,0,w,h)", change it to "draw_rectangle(0,0,w,h,false)"

And it should work OK. :) GREAT dll so far.

Edited by adamsucks, 31 March 2005 - 08:36 PM.

  • 0

#15 camzmac

camzmac

    Karate Anchovies

  • New Member
  • 139 posts
  • Version:Unknown

Posted 31 March 2005 - 09:23 PM

I just opened it up the gmd in version 6 right now and I am testing it out...

EDIT: I see it doesn't work. After editing the gm6, I had some problems. Expect an update sometime soon with a gm6 included  :huh:

<{POST_SNAPBACK}>

Can't wait. :angry:

I want to try this out but I'm using GM6

--- EDIT ---

Temporary fix:

Open the GMD in GM6, open Object1, open action Draw, edit the script on line 8

Where it says "draw_rectangle(0,0,w,h)", change it to "draw_rectangle(0,0,w,h,false)"

And it should work OK. :) GREAT dll so far.

<{POST_SNAPBACK}>

I did do that and it worked, except the loading bar dialog box didn't appear, and the rest did appear but they were detached from the main window... so it's a problem inside the DLL, which I am figuring out.

EDIT: If anybody could tell me how to convert double to the HWND data type properly (winhandle=(HWND)&handlefromgm doesn't seem to work), that would be awesome.

EDIT 2: well I'm still kinda tired of doing this. if I can figure out my double to hwnd problem and convert to gm6, that'll be the last update in a while.

Edited by camzmac, 01 April 2005 - 05:12 AM.

  • 0

#16 databot

databot

    admin of moonlight games

  • New Member
  • 309 posts

Posted 02 April 2005 - 09:18 AM

This is awesome! very good for online games.
  • 0
Completed:
Scrip - Command line engine in the palm of your hands Get it Here
X˛ML - XML simplified

#17 SleeK GeeK

SleeK GeeK

    The Biggest And The Best

  • New Member
  • 769 posts

Posted 02 April 2005 - 04:02 PM

EDIT 2: well I'm still kinda tired of doing this. if I can figure out my double to hwnd problem and convert to gm6, that'll be the last update in a while.

try (HWND)(DWORD)gmwin;
  • 0

#18 camzmac

camzmac

    Karate Anchovies

  • New Member
  • 139 posts
  • Version:Unknown

Posted 03 April 2005 - 01:06 AM

EDIT 2: well I'm still kinda tired of doing this. if I can figure out my double to hwnd problem and convert to gm6, that'll be the last update in a while.

try (HWND)(DWORD)gmwin;

<{POST_SNAPBACK}>

Thank you! Works perfectly!

Updated the DLL again, now it is both gm6 and gm5 compatible. New link is in my first post.
  • 0

#19 SleeK GeeK

SleeK GeeK

    The Biggest And The Best

  • New Member
  • 769 posts

Posted 03 April 2005 - 02:39 AM

No Problem with that help. I think coding them shouldn't take more time like a day as you are using dialogs. It should take just 2 hrs or so as xception said.
  • 0

#20 St. Patrick

St. Patrick

    The Man

  • GMC Member
  • 385 posts

Posted 03 April 2005 - 06:37 AM

What exacltly does this do? I want to know before I download it.
  • 0

#21 SleeK GeeK

SleeK GeeK

    The Biggest And The Best

  • New Member
  • 769 posts

Posted 03 April 2005 - 08:30 AM

This is a set of custom messageboxes. And this isnt a game, so there is no harm in downloading a 50 kb file. The dload would have finished even before your post
  • 0

#22 celebraces

celebraces

    GMC Member

  • GMC Member
  • 956 posts

Posted 03 April 2005 - 08:53 AM

very good. can i make a suggestion? can you let us set the positions of the windows?
  • 0

#23 IceMetalPunk

IceMetalPunk

    InfiniteIMPerfection

  • GMC Elder
  • 9603 posts
  • Version:GM:Studio

Posted 05 April 2005 - 01:46 AM

Ever plan on releasing the source? I'm trying to learn C++, but I have in the Dev-C++ help file only C functions O_o.... so I don't know what functions in C++ do what, and this would help me learn how to do different visual things (other than a messagebox -_- ).....

-IMP :P :)

Edited by IceMetalPunk, 05 April 2005 - 01:46 AM.

  • 0

:GM123: Are you an artist who likes creating original creature designs? Maybe you can help out with Elementa here! Give it a look; you might like the idea :)

:bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny:


#24 camzmac

camzmac

    Karate Anchovies

  • New Member
  • 139 posts
  • Version:Unknown

Posted 05 April 2005 - 03:29 AM

very good. can i make a suggestion? can you let us set the positions of the windows?

<{POST_SNAPBACK}>

That's a good idea, but read more below...

Ever plan on releasing the source? I'm trying to learn C++, but I have in the Dev-C++ help file only C functions O_o.... so I don't know what functions in C++ do what, and this would help me learn how to do different visual things (other than a messagebox -_- ).....

-IMP :P :)

<{POST_SNAPBACK}>


Well school has started for me and this expression will sum up how much free time I have:
free_time~=0
At some point I will let the user define the positions of the windows.
And I don't think I'll release the source yet (since I like to wait until it is more popular, and more demand. That would also mean cleaning up the structure of my code.)

But (at some point) I will make an example on how to use dialog boxes in DLLs for Game Maker. For now you can hang out with MSDN (if you can find the sections describing how to use dialog boxes): http://msdn.microsoft.com/

Edited by camzmac, 05 April 2005 - 03:30 AM.

  • 0

#25 SleeK GeeK

SleeK GeeK

    The Biggest And The Best

  • New Member
  • 769 posts

Posted 05 April 2005 - 05:20 AM

Ever plan on releasing the source? I'm trying to learn C++, but I have in the Dev-C++ help file only C functions O_o.... so I don't know what functions in C++ do what, and this would help me learn how to do different visual things (other than a messagebox -_- ).....

-IMP :P :)

<{POST_SNAPBACK}>


you should have a look at winprog.org. Seeing the source wont help you b'cause the source wont teach you api.
  • 0

#26 celebraces

celebraces

    GMC Member

  • GMC Member
  • 956 posts

Posted 05 April 2005 - 01:26 PM

thats what forums are for

Edited by celebraces, 05 April 2005 - 01:28 PM.

  • 0

#27 Blijbol

Blijbol

    Happy business

  • GMC Member
  • 313 posts

Posted 23 April 2005 - 06:45 PM

Maybe you could also allow custom button text (OK, Cancel). It would be very useful for games in other languages.
  • 0
Blijbol OnScore 2 Extend your games with online highscore lists! New version!

Joystick OEM Name DLL Controller name as in Control Panel.
Registry Reader DLL Full read access to the Windows Registry.
Game Appearance Extension Control the game window and taskbar button in detail!
INI Data Structure Extension Much better than GM's INI functions.

Games and software: Slimeball Deluxe (digital arcade volleyball) Blijbol Snake 2 (traditional snake including a Maze Editor) Flood (try to escape from the water) Blijbol Memory (find the pairs) Game Maker Quiz (test your GM knowledge) More at Games.Blijbol.nl and Software.blijbol.nl
My website: Blijbol.nl (English/Dutch) | User of Game Maker 7.0 Pro | Moderator of the Dutch Game Maker Community

#28 GdaTerry

GdaTerry

    Ultimate-lifeform

  • GMC Member
  • 367 posts
  • Version:Unknown

Posted 05 June 2005 - 04:37 PM

Its beautiful! I've been wanting something like this for a long time!
  • 0

#29 Mr.Dude

Mr.Dude

    GMC Member

  • New Member
  • 17 posts

Posted 25 June 2005 - 09:26 AM

this is very VERY cool indeed.

however... there is no 'normal' dialog box. :) Like something to replace show_message()
if anyone has one of those... pleaz post GMs dialog boxes suck :D
  • 0

#30 GameNet

GameNet

    GMC Member

  • New Member
  • 8 posts

Posted 03 August 2005 - 09:24 PM

Whats this tutorial about? Making dialog scripts or somthing else... it's hard to tell with this conversation. I'd rather know before downloading it.

GameNet :D
  • 0

#31 Thomas

Thomas

    Waffles Good!

  • New Member
  • 1026 posts

Posted 17 February 2006 - 08:50 PM

Very good DLL. I will use this.

In the name of bump!!
  • 0

#32 freaky_entertainment

freaky_entertainment

    GMC Member

  • GMC Member
  • 457 posts

Posted 17 February 2006 - 09:30 PM

It's nice and useful :D

Edited by freaky_entertainment, 17 February 2006 - 09:30 PM.

  • 0

Cxn8eVf.pnggVywn2c.pngckddPHm.png


#33 Hollowgenshine

Hollowgenshine

    GMC Member

  • New Member
  • 267 posts

Posted 22 March 2007 - 01:41 AM

Although this topic is well over 2 years old I would like to thank camzmac and I use this in about every game I have. very useful.
  • 0

#34 FantiX

FantiX

    GMC Member

  • GMC Member
  • 175 posts

Posted 08 May 2007 - 10:35 AM

ok nice but what i need isnt in there..
i need a thumplist and a listbox.
but the very good part of this dll is that you dont need a window to put the widgets on.
  • 0

#35 Marchal_Mig12

Marchal_Mig12

    The Rhouan

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

Posted 10 May 2007 - 12:52 AM

Awsome!
Simply awsome
10/10

See ya
Miguel
  • 0

#36 Wolf Dreamer

Wolf Dreamer

    GMC Member

  • GMC Member
  • 227 posts
  • Version:GM:HTML5

Posted 11 May 2007 - 04:23 PM

Has anyone added anything more to this?

This is one of three such things I have found thus far, and it seems to be the most complete.

Game Maker 7 includes an extension called GM Windows Dialogs, but it isn't nearly as complete as this one.

Good job! Very nicely done. It seems to have everything one could need.

Edited by Wolf Dreamer, 11 May 2007 - 04:53 PM.

  • 0
Wolf Dreamer
The last sane human being in a world gone mad

#37 DefuzionGames

DefuzionGames

    GMC Member

  • GMC Member
  • 1460 posts
  • Version:Unknown

Posted 28 September 2007 - 03:35 PM

i have 2 questions

i like the gmdlg_auth_show() function but i notice the password field is masked! with '***' etc..

Is it possible to have it so the password is shown as it is typed and not masked with *'s?

Also Would it be possible to have a dialog box just like with gmdlg_auth_show()...but you can set the number of input boxes..so you can have 1 to how many you need (not just two like it has at the moment!!)

..would be usefull!!
  • 0

#38 svend

svend

    GMC Member

  • New Member
  • 71 posts

Posted 01 October 2007 - 04:30 PM

this is so nice!. but it would be realy cool if it was an extension
  • 0

#39 HvE

HvE

    GMC Member

  • New Member
  • 8 posts

Posted 23 November 2007 - 02:27 PM

This is GREAT!!! :medieval:
I'm going to use this in my game!
  • 0

#40 mrsmes

mrsmes

    GMC Member

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

Posted 24 February 2008 - 03:14 AM

usually when things are loaded from the game they must unpack, so being able too set a sprite saying " unpacking " would be helpful for when levels and rooms and logo rooms are being loaded and main menu rooms and of course other various proffessional looking stuff that usually goes into a menu or game/s menu, credits, finishing screens and levels you get the picture. 5 words extension maker + game maker.
cool, awesome woah, i'll use it, i'll t eh eh eh ache it.

Edited by mrsmes, 24 February 2008 - 03:17 AM.

  • 0

Assuming I helped you out in a questions and answers topic won't you return the favour by helping me with one my coding problems, or recommend some one who can chat to me over pms about helping and how to overcome my obstacles, after all lets just say I did help you or them or many people with similar problems, in that topic.

Here i have a topic for those of you struggling with type writer text and mugshots in your games especially if it is a rpg see the link below for more info

http://gmc.yoyogames...howtopic=619103

almost no code needed, only uses two events.

click here for the l8est version of feed the alien pizza, it has some major polished up features.


#41 Caniac

Caniac

    The #1 Caniac

  • New Member
  • 2622 posts

Posted 06 March 2008 - 09:37 PM

you need a better auth. dialog.

it should look like the picture:

Posted Image
  • 0

#42 kake_fisk

kake_fisk

    GMC Member

  • GMC Member
  • 2392 posts
  • Version:GM7

Posted 18 April 2008 - 05:42 AM

A "Tip of the Day" box will be cool ;)
But nice DLL :P
  • 0

#43 camzmac

camzmac

    Karate Anchovies

  • New Member
  • 139 posts
  • Version:Unknown

Posted 15 May 2008 - 12:35 AM

Source code is now available! Download gmdlg-src.zip
  • 0

#44 royboyjoytoy2

royboyjoytoy2

    GMC Member

  • New Member
  • 308 posts

Posted 15 May 2008 - 09:26 PM

Source code is now available! Download gmdlg-src.zip

I can't compile it. I am using the beta Dev-C++. What version of Dev-C++ do you compile this with?

EDIT :
Fixed it by myself...

Edited by royboyjoytoy2, 16 May 2008 - 11:10 AM.

  • 0
"The world will soon see the most successful game ever."

#45 NewGameMakerBut36

NewGameMakerBut36

    GMC Member

  • New Member
  • 52 posts

Posted 19 May 2008 - 07:07 AM

awesome work. thanks, i was looking for an example like this.
  • 0