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
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 11th Jul 2003 21:20
I'll update the FOLDERS gadgets later - as I need to fix the W98 issue asap.

Do you want Windows menus in your DBP apps? - Get my plugin: http://snow.prohosting.com/~clone99/downloads/tpc_menus_103.zip
Terabyte
21
Years of Service
User Offline
Joined: 28th Dec 2002
Location: UK
Posted: 11th Jul 2003 22:40
ok fr some strange reason i cant see any of the replies on this forum but i guess i dont need to to say this ..
I was waiting for sombody to write one of these out ages ago so W00T!
YEYEYEYyE YIPPPEEEE HADSIHIDBSJIDBASIDGOsbs
VUM VUM VUM
WEEEEEEEEEEEEEEEEEEEEEEEEEEE
*coughs*
*straightens blazer*
*fixes tie*
*dusts jacket*
*puts on shades*


Reset
Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 12th Jul 2003 02:22
@ Rob K et al,

Rob, I've checked all the fresh .exe examples (W98 friendly) and v.1.02 and everything now seems to be running fine.

I've sent you an email about line 13 of the Windows example...

Will wait to hear when you've got your next update with the folders thingy...

Thanks for sorting it for us impoverished W98 users.



Job'sa'goodun.
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 12th Jul 2003 02:42
compatable with dbc/enhanced?

---Mattman
DID YOU KNOW THAT ???
andrew11
21
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United States
Posted: 12th Jul 2003 03:38
@RobK

Is there another way I could pay you? I am not allowed to buy it on the internet, but I still want it.

Also, is it compatibe with ME?

Thanks

"All programmers are playwrites and all computers are lousy actors" -Anon
Puffy
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United States
Posted: 12th Jul 2003 06:10
YO matt... =\ talk to me... Mine is... ... OH YES AND NAG!!!!... =\

EVERYONE LOVES THE PUFF!... =\
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 12th Jul 2003 17:03
Rob K, just to let you know my Radeon problem is now resolved. Apparently the radeon driver installed on my laptop is not fully compatible with DX9 which I installed a while back. I installed latest catalyst 3.5 from ATI site with a patch to make it install on laptops and now everything works.

R Tape loading error
Kangaroo2
22
Years of Service
User Offline
Joined: 26th Sep 2002
Location: United Kingdom
Posted: 12th Jul 2003 19:00
Just wanted to add I've recieved this from RobK and its excellent, very reliable and stable in my XPHome. Kudos to Rob!

David89, the problem you are experiencing with the examples is because the folder where the exe name is listed in the Project manager doesn't exist, due to it being on RobKs hard drive Simply clear it and replace it with 'dbp_testprogram.exe' and it'll work fine. Also if you find any commands are causing errors in the code before running stick a ',1' after them, and all will work fine

Hope this helps

Bunnies aren't just cute like everybody supposes, They got them hoppy legs & twitchy little noses,
And what's with all the carrots? What do they need such good eyesight for anyway?
Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 12th Jul 2003 23:08
@ Rob K & Kangaroo...

See Kangaroo2's email - is that how I get around the problemo at line 13 of the Window example .dbpro??? :-s
Kangaroo2
22
Years of Service
User Offline
Joined: 26th Sep 2002
Location: United Kingdom
Posted: 13th Jul 2003 00:54
Yes, line 13 should read:

Create Gadget Window 1,STANDARDWIN,"Resize Me",1

NOT Create Gadget Window 1,STANDARDWIN,"Resize Me"

Not forgetting to also edit in the other ways I said if necessary

Bunnies aren't just cute like everybody supposes, They got them hoppy legs & twitchy little noses,
And what's with all the carrots? What do they need such good eyesight for anyway?
Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 13th Jul 2003 02:59
@ Kangaroo2

Have done as you suggests - and it works - figured out the .exe folder problem all by my lonesome...

@ Rob K

Did you get my email? Is the world ready for the first formal patch - or anything else you want me to test in it...? and

Does Delete Gadget work on the <1.02> or will I still use the Function on the first page of this forum topic>?
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 13th Jul 2003 10:08 Edited at: 13th Jul 2003 10:09
@andrew

Send me a cash or a cheque in the post - Email me and I'll reply with my address.

@duffer

DELETE GADGET works in 1.02, I'm just about to update the website so everyone can get the update.

All registered users will need to email me for a password to use the installer.


===Update 1.02 Released===

Please visit the website and click on the Updates link to download the 1.02 extractor. You will need to update the help files, ini files and DLL to the relevant folders.

Please be aware that the flash gadget has been renamed to MOVIE (eg: CREATE GADGET MOVIE).

This is a complete update.

Puffy
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United States
Posted: 13th Jul 2003 10:49
=\ k... NAG...

EVERYONE LOVES THE PUFF!... =\
andrew11
21
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United States
Posted: 15th Jul 2003 04:22
Thanks RobK, but I don't think I'll be able too. Oh well, thanks anyway.

"All programmers are playwrites and all computers are lousy actors" -Anon
Puffy
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United States
Posted: 15th Jul 2003 10:07
=P I like your sig andrew...

EVERYONE LOVES THE PUFF!... =\
Ian T
22
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 15th Jul 2003 18:33
Hi Rob,

They all run smoothly now on my computer. Very nice work!

The only issue I noticed was that in the Matrix demo, the camera rotation buttons left empty 'drag' button boxes below them, like clones, that did the same thing when you pressed them, but as I said had no graphic. Odd, but no big deal.

Impressive stuff. I'm saving up for a purchase...

--Mouse

Famous Fighting Furball
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 15th Jul 2003 18:47
I'll look into that.

spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 16th Jul 2003 00:19
This is what you get:



The empty buttons magically appear as you rollover the arrow buttons and they also act like the buttons they are linked to. very odd.

R Tape loading error
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 16th Jul 2003 00:26
Indeed. While I look into this, image buttons can also be created by creating a standard button, with a child image inside it.

Puffy
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United States
Posted: 16th Jul 2003 03:49
o_O Rob K ... look into Window Repaint...

EVERYONE LOVES THE PUFF!... =\
vivi
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 16th Jul 2003 21:51
How would I create dropdown gadgets. Like
File, Edit, View, Favourites
Like at the top of Internet explorer?

spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 16th Jul 2003 22:22
ViVi2K : You need Rob K's other plugin which does REAL windows menus:

http://www.darkbasicpro.com/apollo/view.php?t=9760&b=5

I believe there is no website for this at present, just the above thread which has direct link to zip file.

R Tape loading error
Moggie100
22
Years of Service
User Offline
Joined: 15th Oct 2002
Location: Behind You...
Posted: 16th Jul 2003 22:53
One teeny weenie little prob with the plugin - when you minimise a window using gadgets it creates a horrible lagging-your-computer-down effect.

Useful System spec:
GF4 ti4800se - 128Mb
512Mb RAM
XP3000+
WinXP

Otherwise GREAT PLUGIN!

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 17th Jul 2003 00:39
@Moggie

That is DBP's fault - not my plugin I believe (by default DBP uses > 90% of the CPU time available). Put SYNC OFF , rather than SYNC ON at the top of your code.

Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 17th Jul 2003 02:57
@ Rob K,

How many items can I add to ListBoxes, Comboboxes and popup menus???
Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 17th Jul 2003 02:58
@ Rob K,

... and how are you getting along with the W98 friendly Folders thingy? (just realised how potentially helpful that Gadget could be).... [b])
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 17th Jul 2003 04:23 Edited at: 17th Jul 2003 05:21
There isn't really a technical limit, however, I don't advise having a listbox with umpteen thousand items in.

As for the folders gadget, it seems to be OK. However, the 98 folders gadget only shows one drive at a time, so whether I bundle a drive select box in or not, I'm not sure (although with a combo-box you could easily do it yourself).

In the meantime, check out the folders-view source code I attached which uses the standard treeview gadget. (about 10 mins work )

Doing this example reminded me of a few missing commands which I need to add (EXPAND NODE, COLLAPSE NODE, CHILD NODE COUNT() - and MAKE NODE VISIBLE() - which automatically expands parents and scrolls as necessary )

[EDIT: 2:20 AM Update]

- Bug where Colour + Font dialogs sent DBP window to back fixed
- EXPAND NODE, COLLAPSE NODE, COUNT NODES, NODE EXPANDED, SELECT NODE, MAKE NODE VISIBLE, INSERT NODE, SET NODE TEXT added
- FREE NODE() and FREE GADGET() added, they return the number of the first unused/available NodeID/GadgetID

[EDIT: 2:21 AM Update]

Ran out of Coke. Night all

vivi
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 17th Jul 2003 14:11
I bought the GUI and I think its great the only problem know is that whenever I create something with it, it uses 98% of my CPU does this happen to anyone else.

Im running off of a average/high spec computer:

P4 1.9
256 MB RAM

So what is it?

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 17th Jul 2003 15:06
@ViVi2k

That is DBP's fault I believe. Put SYNC OFF at the top of your program.

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 18th Jul 2003 16:55
I've been alerted to a bug where SET GADGET FONT does not work on imagebuttons. This is fixed in 1.03.

vivi
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 18th Jul 2003 17:33
When is that going to be released?

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 18th Jul 2003 19:17
Sometime next week.

vivi
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 18th Jul 2003 19:42
Try to Fix the Panel prob as well

Oryaaaaa
21
Years of Service
User Offline
Joined: 20th Mar 2003
Location: Aichi-ken, Japan
Posted: 19th Jul 2003 08:59
I placed an order for this PlugIn. Although DLL development using Win32 Api was completed, since it was troublesome to have understood API, it decided to use PlugIn which Robert made.

first -- "Text UTF-16" -- it tests . Test whether it can operate by it and Windows2000SP4JPN. I participate in a test positively.

DarkBasicProfessional is wonderful.
vivi
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 19th Jul 2003 16:53
Wasn't to sure what to do with this question so I stuck it here. It isn't a problem with the GUI so I didn't want to bother Rob K on his email address. How do you use the "input dialog" command to load a flash movie when it is called up from a gadget button. Here is what I have a the moment but it doesn't work:



you will have to add the window title and set up the GUI. All I want to do is to be able to load the SWF Falsh file while the game is running by calling up the input dialog via a button.

Thnaks for your help,

ViVi2K

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 19th Jul 2003 17:48
Viv, you are trying to open the movie before you have put a filename into the flash$ variable.

This code will work however, as I put the filename into flash$ before I open the animation: (note: it is a good idea to call stop movie before opening a new file.)



Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 20th Jul 2003 21:19 Edited at: 20th Jul 2003 21:20
Viv, I've fixed the panels bug now. My plugin was treating panels like flatbuttons for some reason.

1.03 also has new SET DEFAULT DIR for Dialogs and GET SPECIAL FOLDERS to return the location of the user's My Documents help folder. Labels have a border flag, and panel borders can be customized using a new SET PANEL BORDERS command, useful for making status bars for example.

The issue above where spare "buttons" appeared underneath the imagebuttons wasn't a bug, just a case of the buttons being sized incorrectly. Putting RESIZE GADGET id,20,20 after creating them works.

I've just got to update the help files and then I will release it.

Are there any new features or gadgets people want for 1.04?

Xsniper
21
Years of Service
User Offline
Joined: 29th Dec 2002
Location:
Posted: 20th Jul 2003 22:36
Hey Rob K,
I just wanted to say great work on the plugin! I ordered it last night and received it this morning. I'm currently working with it and am very impressed so far. Also I'm looking forward to version 1.03 because it has a few things I'm interested in already like label borders. If I think of anything this plugin could use I'll throw a suggestion your way.

Xsniper
21
Years of Service
User Offline
Joined: 29th Dec 2002
Location:
Posted: 20th Jul 2003 23:18
Just noticed that the "GADGET VISIBLE" command isn't listed in the keywords file so it doesnt highlight the command in dbp. This isnt really a big deal but just thought I'd point it out so you can add it in Rob. Also while I'm at it, I've noticed that if you make image gadgets and dont disable them they become "selected" when the mouse moves over them and can even be clicked on like a button. This is a very nice effect that I like but it has one downside. When you move your mouse off of the image gadget it still shows it as if it were "selected". Sooo I was wondering if there was a way to manually unselect the gadget or if you can add in a command that would do such a thing or I guess modify the image gadget so that it updates itself properly when the mouse moves over and then off of the image.

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 20th Jul 2003 23:41
@Xsniper

The image gadget issue where it becomes selected is a result of the fixed-in-1.03 panel bug.

The flatbutton gadget (already in the plugin) is effectively what you are after as it selects on mouseover and unselects on mouse-exit.

The SET PANEL BORDERS command in 103 allows you to manually set the appearence of borders, so you can create buttons with them if you wish.

vivi
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 21st Jul 2003 01:34
Rob K:
When you have a Input Dialog Gadget can you control the Ok and Cancel buttons on it. So for example if the Cancel is pressed I can program something to happen.
I have made this :



and if Cancel is selected the program ends. Drag.

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 21st Jul 2003 01:43 Edited at: 21st Jul 2003 01:46
Vivi2K

- You need to check that the file exists first!

If you press Cancel - you end up trying to open a file that doesn't exist.




Unfortunately I cannot do an internal file check with the flash gadget because the user may be trying to play a file from an http:// location.

Shady Simpson
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: United Kingdom
Posted: 21st Jul 2003 11:50
Hi Rob,

I've got one question, when you make an image gadget can you make the background colour transparent? Like DBPro's set image colorkey command?

Thanx.

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 21st Jul 2003 15:06
Yes you can have transparent images but the image gadget which holds it cannot be transparent.

You cannot currently set the transparent colour via a command, however, it currently depends on the image.

The colour of the first pixel in the image (at the top left hand corner) is used as the transparent colour for the image. Generally you can load an image and the background colour will automatically be made transparent.

Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 22nd Jul 2003 02:34
@ Rob K,

For version 1.04 - not sure whether your current commands do this but if not could you do a command to capture the entire DBPro screen ie. 3D, sprites, warts and all??? - or some section of the screen...
Xsniper
21
Years of Service
User Offline
Joined: 29th Dec 2002
Location:
Posted: 22nd Jul 2003 07:43
Rob, I was wondering if with your plugin I will be able to use different dbp specefic code in different window gadgets. Like making a model display in one window gadget while a matrix is displayed in another for instance?

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 22nd Jul 2003 14:20 Edited at: 22nd Jul 2003 14:20
Under U5 - it will be possible with the current version of the DLL (thanks to the new SAVE IMAGE command in U5), however, it won't be very fast, so it would only be suitable for things like matrices where the visual won't change very often so you only have to update the image gadget when a change occurs:



There are faster ways of doing this which I am investigating:

1) - Find a way to display DBP images in image gadgets without having to save it to a file first (at the moment you'd have to save the data out then reload it)

2) - Use Window regions to create windows with transparent areas.

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 22nd Jul 2003 19:16
v1.03 has been released

Go to http://blue.robert-knight.net and click the Updates tab.

The changelog:


The serials for the 1.02 update will work with this update as well.

PrimaryDimension
22
Years of Service
User Offline
Joined: 1st Nov 2002
Location:
Posted: 22nd Jul 2003 22:13
@ RobK,

Not sure if this is a bug or not... When I create a scrollbar and click on any of the buttons on it the bar on the scrollbar starts blinking and won't stop. Also, it is a different color then scheme. Unlike the listbox scrollbar which uses my color scheme. If you could look into this I would appreciate it.

Suggestions for ver 1.4 -
A flag for verical and horizontal scrollbars.
A flag to align a gadgets text horizontally left, right, and center.
A flag to align a gadgets text vertically top, bottom, and center.
A properties control would be fantastic (like vb6), though I doubt this will be possible.
A flag for windows that when a gadget moves beyond the window borders vert. and horz. scrollbars appear.
A set mouse on gadget command and move gadget with mouse command.(It is very difficult to set the mouse position to the gadget and then move the gadget along with the mouse when you have many different window sizes and/or gadget layers. I've tried several ways of doing this, and can't come up with anything good.)
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 23rd Jul 2003 00:26 Edited at: 23rd Jul 2003 00:28
PrimaryDimension - Listboxes etc. use the theme regardless of whether or not a manifest exists, for scrollbar themes to work, you need to include the manifest file found in the zip file.

Thanks for the feature suggestions.

The scrollbar issue is a bug - a temporary workaround is to activate any other gadget eg a panel using ACTIVATE GADGET, after the position of the scrollbar has changed.



Login to post a reply

Server time is: 2024-11-22 14:25:18
Your offset time is: 2024-11-22 14:25:18