Pure ExplorerBar BETA

Developed or developing a new product in PureBasic? Tell the world about it.
LuckyLuke
Enthusiast
Enthusiast
Posts: 181
Joined: Fri Jun 06, 2003 2:41 pm
Location: Belgium

Pure ExplorerBar BETA

Post by LuckyLuke »

Hi,

This is my first attempt to make a GUI component for PureBasic. It should support Themes ... I'll make a userlib (soon) if requested.
Some features to be added in the future :
  • * Special Header Item
    * Background Images
    * Detail Item
Icons are used from the shell32.dll. A sample executable can be downloaded here

Image
Image
Poshu
Enthusiast
Enthusiast
Posts: 459
Joined: Tue Jan 25, 2005 7:01 pm
Location: Canada

Post by Poshu »

Could you just share your code please? It looks interesting.
User avatar
yoxola
Enthusiast
Enthusiast
Posts: 386
Joined: Sat Feb 25, 2006 4:23 pm

Post by yoxola »

I must say this is COOL!

Win2000, works here.
wayne-c
Enthusiast
Enthusiast
Posts: 337
Joined: Tue Jun 08, 2004 10:29 am
Location: Zurich, Switzerland

Re: Pure ExplorerBar BETA

Post by wayne-c »

LuckyLuke wrote:I'll make a userlib (soon) if requested.
yes, PLEASE :D
As you walk on by, Will you call my name? Or will you walk away?
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

this works like a charm on XP.
well done. and yes a userlib (or an include file if possible) would be nice.

just a wish :

Can you implement a #WM_MOUSEWHEEL support for the vertical (up/down) scrolling ?
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Tested on WinNT4 :
- the mouse cursor disappears (sometimes flickers) when over the gadget
- the gadget backcolor is black (and no text visible [black on black ?])
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
LuckyLuke
Enthusiast
Enthusiast
Posts: 181
Joined: Fri Jun 06, 2003 2:41 pm
Location: Belgium

Post by LuckyLuke »

Thanks.

A few questions :
@gnozal :
I'm using FillRect_(hDC, pRect, #White) to draw the background ...
And SetCursor_(LoadCursor_(0, #IDC_HAND) to draw the cursor ...
Can you send me a screenshot ?
@Flype :
The #WM_MOUSEWHEEL should be handled in the window events I think ?
I'm using an ImageGadget and ScrollBarGadget for the control.

LuckyLuke
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

LuckyLuke wrote:@gnozal :
I'm using FillRect_(hDC, pRect, #White) to draw the background ...
And SetCursor_(LoadCursor_(0, #IDC_HAND) to draw the cursor ...
Image
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

hum, looks good :D

how 'depth' is your desktop screen, gnozal ?
8bit, 16bit, 32bit ?
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Flype wrote:hum, looks good :D

how 'depth' is your desktop screen, gnozal ?
8bit, 16bit, 32bit ?
24 bit (16777216 colors), but I have the same problem with TrueColor (32 bits).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
LuckyLuke
Enthusiast
Enthusiast
Posts: 181
Joined: Fri Jun 06, 2003 2:41 pm
Location: Belgium

Post by LuckyLuke »

@gnozal
I uploaded a new version ... Can you test it ?

Thanks.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

LuckyLuke wrote:@gnozal
I uploaded a new version ... Can you test it ?
Thanks.
It's a little bit better :
- still black backcolor
- mouse cursor still disappears but I can see it more often
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
wayne-c
Enthusiast
Enthusiast
Posts: 337
Joined: Tue Jun 08, 2004 10:29 am
Location: Zurich, Switzerland

Post by wayne-c »

@LuckyLuke: Do you intend to release the source code?
As you walk on by, Will you call my name? Or will you walk away?
Fred
Administrator
Administrator
Posts: 18210
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Very good start !
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post by fsw »

Looks nice with WinXP and Flyakite 3.0
Post Reply