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 / [LOCKED] BLUE Graphical User Interface Plugin Release - Windows Gadgets in your apps

Author
Message
Powersoft
21
Years of Service
User Offline
Joined: 1st Aug 2003
Location: United Kingdom
Posted: 12th May 2004 21:17
thanks. looking forward to it.

how long do you spend coding,writing documentation in an average day?

Just to add to the confusion.
Look at my avatar
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 12th May 2004 22:43
An hour or so, three or four on a weekend day.

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
Powersoft
21
Years of Service
User Offline
Joined: 1st Aug 2003
Location: United Kingdom
Posted: 12th May 2004 23:23
an hour? i thought it would have been more

Just to add to the confusion.
Look at my avatar
Tapewormz
22
Years of Service
User Offline
Joined: 15th Sep 2002
Location: Winnipeg, Mantoba, Canada
Posted: 13th May 2004 04:42
Quote: "Do you mean "syntax highlighting"? (Different kinds of symbols drawn in different colours). If so then a RichEdit is OK at a very basic level, otherwise look into CodeSense or Scintilla for more advanced stuff - but you need to be using C++ to use these more advanced components."


Well, I'm not exactly sure of what the term is. Basically, if someone types in a valid command set, it recognises it as a command set, formats it and yes highlights it.

So you'd reccomend a DLL or is it an active x control?

Quote: " Timesoft - Your wife is death. How? NO idea.
But it is murder. REVENGE!!!!!!!!!"

Hands down the funniest synopsis for a game ever. All your base are belong to us!
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 13th May 2004 14:06
CodeSense is a DLL and an ActiveX control. Scintilla is a DLL.

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 13th May 2004 16:31 Edited at: 14th May 2004 16:30
Rob have you got my email yet I still haven't got a reply??
It was entitled "1tg46's Problem with your plugins".
Tapewormz
22
Years of Service
User Offline
Joined: 15th Sep 2002
Location: Winnipeg, Mantoba, Canada
Posted: 14th May 2004 04:06
Thanks Rob. I'll look into those.

Quote: " Timesoft - Your wife is death. How? NO idea.
But it is murder. REVENGE!!!!!!!!!"

Hands down the funniest synopsis for a game ever. All your base are belong to us!
Tapewormz
22
Years of Service
User Offline
Joined: 15th Sep 2002
Location: Winnipeg, Mantoba, Canada
Posted: 14th May 2004 04:55
Nice Scintilla looks like exactly what I'll need. I'm still going to look into learning how to create a syntax parser and highlighter, but this will help me alot untill I can get my basic parser started.

Quote: " Timesoft - Your wife is death. How? NO idea.
But it is murder. REVENGE!!!!!!!!!"

Hands down the funniest synopsis for a game ever. All your base are belong to us!
Guyon
21
Years of Service
User Offline
Joined: 6th Jun 2003
Location: United States
Posted: 14th May 2004 21:26
Trying to get up and running with Blue GUI as quickly as possible.

Are there any really simple programs, or very well commented/tutorials? I would prefer simple like bring up a message box, etc. to get started.
***

Also the progrma seems to state that you need these two commands in with every app you write:
set window title "MyApp"
setup GUI "MyApp","initcode"

But I do not see them in all the examples at RobK's website. Why?

What is initcode?

Do the two MyApp have to be the same? Why?
Guyon
21
Years of Service
User Offline
Joined: 6th Jun 2003
Location: United States
Posted: 14th May 2004 21:35 Edited at: 14th May 2004 22:02
OK I am catching on, but still do not get the SETUP GUI command, I still would like to find some simple programs.


`%ProjectTitle%
`======================
`©%Author%
`======================
`Main Source File
SET WINDOW TITLE "MyApp"

REM If I do not rem the SETUP GUI command I get a GUI Component error
REM Or even if I leave it as "" I still get an error
rem SETUP GUI "MyApp","my redge number?"

Create Gadget Window 1, 1, "My window", 0
Set Gadget 1, 0,0,600,100
sleep 5000
AramusM
20
Years of Service
User Offline
Joined: 6th Dec 2003
Location:
Posted: 14th May 2004 22:30 Edited at: 15th May 2004 13:52
edited sorted
cheers

Aramus
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 15th May 2004 05:11 Edited at: 15th May 2004 05:13
You can download the the program from his website, when he sends you the supposed download link he is only sending you the activation code that is used for the program after you download it from http://www.robertknight.me.uk/files/darkbasic/gui_update1045.exe.

@ RobK
I am still wondering whether you have recieved my email yet??
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 15th May 2004 13:39
Just realised, I didn't use the other email address mentioned at the bottom of your email.

Re-sent it to the other email address.

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 15th May 2004 15:35
Quick question:
Is there a way to point "Save Dialog" to a ceratain directory so that when it pops up its already there?

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 15th May 2004 18:46
SET DEFAULT DIR

http://www.robertknight.me.uk/blue/gui_plugin/Dialog/set_default_dir.html

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 15th May 2004 23:44 Edited at: 15th May 2004 23:49
Thanks, I'll see if it is there.
Guyon
21
Years of Service
User Offline
Joined: 6th Jun 2003
Location: United States
Posted: 16th May 2004 05:43
Ok Rob,
I got the initcode. You sent it to my DB email instead of my registered email.

Thanks!
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 17th May 2004 02:09 Edited at: 17th May 2004 02:12
It is not their Did you look at the correct spelling of the email address. It is spelled differently than most would think. And I am not sure if it would matter but I run on AOL.

If it doesn't work this next time (if their is a next time) I will send you another email with a different email account not using AOL.

Guyon
21
Years of Service
User Offline
Joined: 6th Jun 2003
Location: United States
Posted: 17th May 2004 16:54 Edited at: 17th May 2004 17:08
Why does the Message box come up in a diffent window, and not the created gadgic window?

Why does the correct text not print in the text area?

If the text did print how do you set a return so you can print more than one line of text in the box?

Thanks!


Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 17th May 2004 17:16
Quote: "Why does the Message box come up in a diffent window, and not the created gadgic window?"


The whole point of the message box is that it comes up in its own window, not in another window gadget. A message box is a type of dialog, ie. it is a seperate window which pops up showing the user specific information in an attention grabbing way.

Quote: "Why does the text not print in the text area?"


I can't run the code at college, but the way your code is written is very strange indeed. What exactly do you want your code to do?

Quote: "If the text did print how do you set a retuen so you can print more than one line of text in the box?"


You do not "print" text in BlueGUI, you set a gadget's text property. This is an important difference.

To insert a new line character, you do this:

text = "First Line" + chr$(10) + chr$(13) + "Second Line"

or better, declare a constant like this:

#constant NEWLINE chr$(10)+chr$(13)

text = "First Line" + NEWLINE + "Second Line"

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
Guyon
21
Years of Service
User Offline
Joined: 6th Jun 2003
Location: United States
Posted: 17th May 2004 17:33 Edited at: 17th May 2004 18:14
About Message boxes:
I want the message box to to come up over top of my Gadget Window with out bringing the "My Apps" window up over top of my Gadget Window.

Why this look so strange? Well I am just testing buttons, and boxes to see how they work. Please re-write the code in a better way so I can lean your program.

I still am not getting the return to work in the GADGET TEXT

1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 18th May 2004 00:58
@RobK
Did you read my message above.

@Guyon
Try calling create hidden command at the begining of the program and then making each individual gadget visible when needed.

example


This should be what you are looking for, but if this doesn't work try checking your mouse settings because their is a way that will make the window that the mouse is hovering over active after quite a few milliseconds.

Hopefully this is what you were looking for.

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 18th May 2004 22:44
@1tg46

Yes, I'll post dig up my response and resend it again (!).

@All

Here is a little status update: The plugin is now almost complete, perhaps the odd command here and there which need to be added. Rainbow is now in a fairly solid state. The documentation is still work-in-progress. I have documented about a fifth of the 180 commands. Beta testing is still scheduled to begin at the end of May.

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
French gui
20
Years of Service
User Offline
Joined: 11th May 2004
Location: France
Posted: 18th May 2004 23:32
Hello Rob, I have just a little question: when a gadget is clicked it is rounded by a black box that stay until I click another gadget. I don't like this effect (it's a personnal advise!) so, is there a possibility to hide this box?
Thanx (and long life to blue gui!)

My English is not so good I'm just French
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 19th May 2004 00:15
Yes.

When the gadget is clicked, just call ACTIVATE GADGET with another GadgetID.



BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
French gui
20
Years of Service
User Offline
Joined: 11th May 2004
Location: France
Posted: 19th May 2004 00:51
Ok thank you very much for helping me! Just another one: is there possibility to change the buttons apparence, like the rounded ones in the 'post forum message' window of this site for example, or the blue ones like in milkshape? if no, are you thinking about it for a next update?

My English is not so good I'm just French
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 19th May 2004 01:33
Quote: "Just another one: is there possibility to change the buttons apparence, like the rounded ones in the 'post forum message' window of this site for example, or the blue ones like in milkshape? if no, are you thinking about it for a next update?"


No you can't change their appearence.

Under BlueGUI version 2 you can always draw your own buttons if you wish though using canvas gadgets.

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
Guyon
21
Years of Service
User Offline
Joined: 6th Jun 2003
Location: United States
Posted: 19th May 2004 03:29
Rob K,
I am JUST starting on a game using BlueGUI. Should I hold off for Blue2?
I can do some of the graphics while i wait. I was just using demo graphics now.
Cpt Caveman
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location: New Zealand
Posted: 19th May 2004 12:54 Edited at: 19th May 2004 12:57
Can someone help me please. I have setup a new item in my menu that opens a new gadget with a create gadget text box so I can enter a name. The problem is I cannot return the name in Str$ format, only number formats like val and len$. I want to return the name that I type in so it can be used as the Project Name.

Edit: Dont worry I figured it out
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 19th May 2004 14:52
Quote: "The problem is I cannot return the name in Str$ format, only number formats like val and len$."


Heh - I see you became a little mixed up there. Remember that str$() converts a number to a string, whereas the output of GET GADGET TEXT() is a string, so it doesn't need conversion.

Quote: "I am JUST starting on a game using BlueGUI. Should I hold off for Blue2?"


Might be a good idea. It probably would be adviseable not to write hundreds of lines of code as you will have to change it when Blue2 is released.

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 20th May 2004 02:05
@RobK
Ihave sent another email address in an email with the subject "1tg46's Alternative Email address to send response".
And once again I am sorry for the inconvenience.

Cpt Caveman
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location: New Zealand
Posted: 20th May 2004 13:59
Im using the open dialog for my object placement editor to load objects, the problem is sometimes, not everytime the window will minimize as the object is loading and I have to click on the taskbar to maximize it. Can I stop this from happening??
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 20th May 2004 22:33 Edited at: 20th May 2004 22:34
Two new screenshots:

Designing the layout in Rainbow:
http://www.robertknight.me.uk/files/temp/rainbow2.jpg

The layout in the DBPro app using code exported by Rainbow & the foundations of a Paint-like program using a canvas gadget.
http://www.robertknight.me.uk/files/temp/rainbow_result2.jpg

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 21st May 2004 01:36
This program looks amazing can't wait until the release. Looks like you're doing a great job. Keep up the good work!!

Everwhat Studios
20
Years of Service
User Offline
Joined: 28th Apr 2004
Location: UK
Posted: 21st May 2004 16:53
Looks v cool Rob. This would save me a lot of time in re-building the Quikly games studio

The forum user formerly known as Kangaroo2.
If the apocalypse comes, email me
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 22nd May 2004 04:09 Edited at: 22nd May 2004 17:58
@RobK
Ihave sent another email address in an email with the subject "1tg46's Alternative Email address to send response".
And once again I am sorry for the inconvenience.

I'm not sure wether you got my new email with a new email address in the message to send the reponse.


The way the email addresses are setup are hectic!!

And are you using the email address me@robert-knight.net to recieve and to send your responses??

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 22nd May 2004 15:02
Calm down with the smilies - I will respond to your email asap.

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
Guyon
21
Years of Service
User Offline
Joined: 6th Jun 2003
Location: United States
Posted: 22nd May 2004 19:20
This interface is what DarkBasic pro should have shipped with. WOW it looks good. Please let us beta test it soon! I know end of May LOL
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 22nd May 2004 22:45
@RobK
When did you send the email?Still hasn't arrived.

I'm thinking of just giving up with the darn emails.

Tapewormz
22
Years of Service
User Offline
Joined: 15th Sep 2002
Location: Winnipeg, Mantoba, Canada
Posted: 23rd May 2004 02:19
Is the IDE skinnable? I hate the mac os look. It makes me wanna hurl. Mac users need to be beaten into a coma with their one button mice. (that's a joke...don't really try that...)

Quote: " Timesoft - Your wife is death. How? NO idea.
But it is murder. REVENGE!!!!!!!!!"

Hands down the funniest synopsis for a game ever. All your base are belong to us!
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 23rd May 2004 17:14
Hi Tapewormz

Wrong thread - this is for my plugin not my IDE. The MacOS X look is just the theme I have on my Windows XP system. It will look different on yours.

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 23rd May 2004 18:51
@RobK
I have given up with the darn emails, so would it be possible to post just the menu plugin fix, or whatever it is, onto the forums.

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 24th May 2004 13:55
Yep, will do.

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 24th May 2004 16:21
Thanks very much. Just tell me where can download it.

sam spade
20
Years of Service
User Offline
Joined: 13th Mar 2004
Location:
Posted: 25th May 2004 21:28
Hello all,

Can I put a right arrow in my popup menus to show a submenu? And is there any way to include a small icon?

Cheers
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 26th May 2004 01:13
Quote: "Can I put a right arrow in my popup menus to show a submenu? And is there any way to include a small icon?"


No and no in the current plugin I'm afraid. Under v2 of BlueGUI you will be able to add subitems to popup menus as the commandset has been streamlined quite a bit. Windows menus don't support icons, the only way to do that is to draw the menu yourself which can be done with a canvas gadget in v2 of BlueGUI.

@1tg46

http://www.robertknight.me.uk/files/temp/menusdll.dll

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
sam spade
20
Years of Service
User Offline
Joined: 13th Mar 2004
Location:
Posted: 26th May 2004 10:40
Ah, thought that was probably the case - here's another one though, can I change the font for certain items in the list?

Also, if you right-click on your desktop and select new> the file types you can create all have a little icon or picture - I'd assumed they were shrunk versions of the standard icons.
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 26th May 2004 16:06
They are owner-drawn menu items, a slightly "special" case. The program has to manually draw the menu itself. Yes the icons are just shrunk down versions of normal icons (actually a .ico file normally contains 3 or 4 different sized copies of the same icon)

You can't change the font for certain items in a list. In order to do that you have to manually draw the listbox item.

In the future I might consider adding functions to enable you to do this, but you can't do it at the moment.

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 26th May 2004 17:22
Beta Testing Has Begun!

If you already own BlueGUI v2 and are not already signed up to the beta emailing list please email me and I will add you to the team.

Those who are on the team should have received emails containing download & access details.

Have fun

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 26th May 2004 18:04 Edited at: 26th May 2004 18:08
Hi Rob

I have recieved your email and downloaded the plugin.
I haven't used it yet so I have nothing to report but after reading the 'readme' I do have one question:

Why does the DLL timeout after 5 minutes?

I understand that you wouldn't want to give away something that you can sell but 5 minutes doesn't seem long enough to test it thouroughly.

Is there any chance of increasing it a little?

Thanks

Edit I think you may have item 2 of your install instructions wrong.
Should it read:
2. Copy the gui2_help folder into your %dbpro%\Help folder (the whole folder, not just the contents)

Login to post a reply

Server time is: 2024-11-22 14:23:07
Your offset time is: 2024-11-22 14:23:07