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.

Code Snippets / [DBP] Gui.dba extensions for BlueGui

Author
Message
MSon
19
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 1st Mar 2008 12:17 Edited at: 1st Mar 2008 13:15
Althouth this is not an actual programme, it is code that can be useful within bluegui, just add the following code snippets into you Gui.dba Include File

Windows Media Center, (WMC) Remote Constants for use with Blue Gui Events


Read Key Entry - EventData() Constants for use with KEYDOWN Type


CreateTransparantLabel(x,y,w,h,S$,P)
Create a Label with a Transparant Background, somethink blue cant do


CreateMarquee(Contents$,Parent)
Creates a Horizontal Scrolling Text Gadget


CreateFileExplorer(x,y,w,h,Drive$,Path$,Parent)


CreateMediaStream(x,y,w,h,_ShowControls,_ShowDisplay,_ShowStatusbar,_MediaURL$,Parent)
Create a Media Stream Gadget using Windows Media Player - Returns the Gadget Number


CreateApplet(CodeFile$,TextValue$,w,h,Parent)
Add an Applet to your Project


MoveListViewItemTo$(Gadget1,Item$,Gadget2)
Move an item from 1 listview gadget to another by Item Text


MoveListViewItemTo(Gadget,Item,Gadget2)


MoveListViewItemUp(Gadget,Item)


MoveListViewItemDown(Gadget,Item)


EmptyListView(Gadget)

This information is not included with blue so adding this will give full keybord reading control, (Like Inkey$()) and the ability to use a windows media center remote.

If you manage to make anythink with this, then can you yet me know

Edit: Just added some blue functions for added commands/Gadgets, I'll try and extract some other useful blue functions

WATCH THIS SPACE

Everyone Be Cool, You, Be Cool.
MSon
19
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 1st Mar 2008 12:45
ho yes, yet me know when to stop as i've got annouth of these types of functions to stay posting all day

Also let me know if there are any other Blue functions / Gadgets you want

Everyone Be Cool, You, Be Cool.
Roxas
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 2nd Mar 2008 02:02
Awesome!


Click For Details!
MSon
19
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 2nd Mar 2008 13:09 Edited at: 2nd Mar 2008 13:13
thanks, i'll add more as i seperate them from my projects

New gadgets are always useful, Most of these functions where used in my IPTV Syystem, The ListView Functions are useful aas Blue was Missing all these kind of commands

I've just sepperated these from my IPTV System as im rebuilding it into a Media Center style application with working TVGuide and OnLine Video/Music Section

Everyone Be Cool, You, Be Cool.
luke escude
16
Years of Service
User Offline
Joined: 9th Sep 2007
Location: Right Behind You
Posted: 2nd Mar 2008 22:03
That's Fantastic! I took a look at your program, and I think that's really neat. Keep up the great work!

-C gives you enough rope to hang yourself. C++ also gives you the tree object to tie it to.
-A computer without COBOL and Fortran is like a piece of chocolate cake without ketchup and mustard.
wildbill
18
Years of Service
User Offline
Joined: 14th Apr 2006
Location:
Posted: 3rd Mar 2008 02:08
MSon you are creating more work for me.
Now I have to revise several programs just to take advantage of this.
Many Thanks
MSon
19
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 3rd Mar 2008 16:14 Edited at: 3rd Mar 2008 16:32
Thanks, as long as its of some use to someone then thats good

You may need to alter them a little as the ones that work via HTML, (new gadgets) export a file to a temp directory.

You can add your own gadgets the same way, but let me know if you do

I've posted my old CreateMediaStream Function as i have a new version now which supports pausing from Darkbasic, Only Skip Forward/back and Record left to get now then i can add it to my new and improved IPTV System

If you download my current system, (Linked above), You will see an example of the old MediaStream Gadget and the ListView Functions, (In the Channel List Window)

Everyone Be Cool, You, Be Cool.

Login to post a reply

Server time is: 2024-05-17 07:44:27
Your offset time is: 2024-05-17 07:44:27