Page 1 of 3
Pure ExplorerBar BETA
Posted: Wed Jul 26, 2006 10:14 am
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

Posted: Wed Jul 26, 2006 10:31 am
by Poshu
Could you just share your code please? It looks interesting.
Posted: Wed Jul 26, 2006 10:32 am
by yoxola
I must say this is COOL!
Win2000, works here.
Re: Pure ExplorerBar BETA
Posted: Wed Jul 26, 2006 10:43 am
by wayne-c
LuckyLuke wrote:I'll make a userlib (soon) if requested.
yes, PLEASE

Posted: Wed Jul 26, 2006 12:13 pm
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 ?
Posted: Wed Jul 26, 2006 12:30 pm
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 ?])
Posted: Wed Jul 26, 2006 1:09 pm
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
Posted: Wed Jul 26, 2006 1:51 pm
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 ...

Posted: Wed Jul 26, 2006 1:54 pm
by Flype
hum, looks good
how 'depth' is your desktop screen, gnozal ?
8bit, 16bit, 32bit ?
Posted: Wed Jul 26, 2006 3:24 pm
by gnozal
Flype wrote:hum, looks good
how 'depth' is your desktop screen, gnozal ?
8bit, 16bit, 32bit ?
24 bit (16777216 colors), but I have the same problem with TrueColor (32 bits).
Posted: Wed Jul 26, 2006 4:04 pm
by LuckyLuke
@gnozal
I uploaded a new version ... Can you test it ?
Thanks.
Posted: Wed Jul 26, 2006 4:15 pm
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
Posted: Wed Jul 26, 2006 4:48 pm
by wayne-c
@LuckyLuke: Do you intend to release the source code?
Posted: Wed Jul 26, 2006 5:06 pm
by Fred
Very good start !
Posted: Wed Jul 26, 2006 6:00 pm
by fsw
Looks nice with WinXP and Flyakite 3.0