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.

Program Announcements / DialogBox PlugIn

Author
Message
Dgamer
22
Years of Service
User Offline
Joined: 30th Sep 2002
Location:
Posted: 15th Dec 2003 01:29 Edited at: 15th Dec 2003 02:02
My first dll, yay.

This DLL includes 6 types of dialog boxes. Each one has a set of buttons which returns a value. Here are the commands:

MB_OK(Caption$, Message$, GraphicOn)
MB_OKCANCEL(Caption$, Message$, GraphicOn)
MB_YESNO(Caption$, Message$, GraphicOn)
MB_YESNOCANCEL(Caption$, Message$, GraphicOn)
MB_ABORTRETRYIGNORE(Caption$, Message$, GraphicOn)
MB_RETRYCANCEL(Caption$, Message$, GraphicOn)

Caption$ is the string that appears on the title bar
Message$ is the message in the dialog box
GraphicOn, when set to 1,displays a corresponding icon, and when set to 0, doesn't.

Buttons return an integer value when pressed...
OK returns 1
CANCEL returns 2
ABORT returns 3
RETRY returns 4
IGNORE returns 5
YES returns 6
NO returns 7

The download includes the DLL and a sample source code.

[Edit] Woopsies, forgot download link
http://www.dannywartnaby.co.uk/rgt/attachments/MessageBox.zip

Just pop the dll into the plugins-user folder

What do you guys think?

The statement below is true
The statement above is false
Dgamer
22
Years of Service
User Offline
Joined: 30th Sep 2002
Location:
Posted: 15th Dec 2003 03:13
Also, make sure you put 1 or 0 for GraphicOn, any other value will cause the command to fail

The statement below is true
The statement above is false
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 15th Dec 2003 18:40 Edited at: 15th Dec 2003 18:51
nice one dude!!! it works really well, could you do a keywords file though? i like my syntax highlighting if you don't i'll do one now and post it here for download
#edit, well here's a keyword file just stick it in the keywords folder(editor/keywords) and see the highlighting beauty!
http://redeye.dbpcommunity.com/Keywords.zip


GO TO THE ETERNAL DESTINY FORUMS!!! http://forums.eternaldestinyonline.com
Do it now!!!
Dgamer
22
Years of Service
User Offline
Joined: 30th Sep 2002
Location:
Posted: 15th Dec 2003 23:04 Edited at: 15th Dec 2003 23:09
Im glad you like it. Thanks for the ini file too, i'll include it in the download link

[EDIT] Done

The statement below is true
The statement above is false

Login to post a reply

Server time is: 2024-11-24 09:15:16
Your offset time is: 2024-11-24 09:15:16