Page 2 of 6

Posted: Fri Aug 12, 2005 6:26 pm
by DoubleDutch
What would be good is full window skinning, will your library have this?

Posted: Fri Aug 12, 2005 8:28 pm
by PrincieD
DoubleDutch:

The initial release won't support full window skinning (ala winamp) however it does fully support XP themes/skins.

Further updates may include full window skinning but at the moment im just concentrating on the core GUI components/features that professional apps use :)

Posted: Fri Aug 12, 2005 9:40 pm
by DoubleDutch
One of the things I needed in the past (and had to make do with 2 seperate controls) was a tree with a combined listicon gadget. Will it have this?

Posted: Sat Aug 13, 2005 11:39 am
by Pantcho!!
danilo toolbar from puretools does the same job i think.

can you write the diffrences in your lib?

Posted: Sat Aug 13, 2005 6:38 pm
by PrincieD
DoubleDutch:

Can you show me an example of this please :)

Pantcho!!:

The toolbarEx's in my library support 32bit icons with alpha maps.
In Danilo's library you have load the button images as an image strip, my library you just pass the image pointers, eg:
ToolBarImageButtonEx(buttonID.l, text.s, normalImageID.l, hotImageID.l, disabledImageID.l, Style.l). Danilo's library also doesn't support dropdown buttons correctly, mine does. Bare in mind this is just to toolbar part of my library.

Update

Demo Available!! - work in progress of the GUI for the app im developing (shows some of the features of ProGUI).

http://www.neurosis.powernet-uk.com/dow ... UITest.rar

Posted: Sat Aug 13, 2005 6:44 pm
by Pupil
PrincieD wrote: Update

Demo Available!! - work in progress of the GUI for the app im developing (shows some of the features of ProGUI).

http://www.neurosis.powernet-uk.com/dow ... UITest.rar
Your lib only work on Win XP, right?

Posted: Sat Aug 13, 2005 6:56 pm
by PrincieD
Pupil:

I havn't tested it on Win98, it should work but you won't have any of the XP eye candy!

Posted: Sat Aug 13, 2005 7:14 pm
by Pupil
PrincieD wrote:Pupil:

I havn't tested it on Win98, it should work but you won't have any of the XP eye candy!
I tried the demo, but it wont start as the dll UXTHEME.DLL isn't found (on win2k)

Posted: Sat Aug 13, 2005 7:42 pm
by PrincieD
Pupil:

Ive included the dll for you so you can try it out.
The demo links directly to the dll, this wont be an issue in the library realease it just makes it easier for my development.

Note to XP User
Make sure you delete the UXTHEME.DLL in the archive directory in order to see the XP skin.

Posted: Sat Aug 13, 2005 10:02 pm
by thefool
looks quite nice.!
I would like to hear if someone tested it under 9x too!

Posted: Sun Aug 14, 2005 3:42 am
by sec
Win98SE tested but not working :(
Image

Posted: Sun Aug 14, 2005 9:33 am
by thefool
damn.. however princie-d: you could see if you could narrow down to what does not work and make a workaround when the program is running @ 9x pc's?

Posted: Sun Aug 14, 2005 2:21 pm
by PrincieD
thefool:

Yep, shouldn't be a problem. It isnt working at the mo on 9x because i link directly to the UXtheme dll (dll is trying to access other dlls lol), shouldn't be any problems when i switch to open library (my library reverts to compatability code when it cant open it).

If it still doesnt work however i should be able to code some workarounds :)

Posted: Sun Aug 14, 2005 3:32 pm
by thefool
Sounds really nice! What do you expect the price to be at? And will one get the source code too? [i mean if we rely on your library and you suddently dissapear what can we do then?]

ow an try this, it should work on nearly all gadgets: [well if you wanted to make the lib also manage different styles for gadgets like flat etc]

Code: Select all

Procedure style_static(gadget)
SetWindowLong_(GadgetID(gadget), #GWL_EXSTYLE, GetWindowLong_(GadgetID(gadget), #GWL_EXSTYLE) | #WS_EX_STATICEDGE)
SetWindowPos_(GadgetID(gadget), 0, 0, 0, 0, 0, #SWP_NOMOVE | #SWP_NOSIZE | #SWP_NOZORDER | #SWP_FRAMECHANGED) 
EndProcedure

Procedure style_staticMore(startgadget,Endgadget)
For i=startgadget To Endgadget
style_static(i)
Next i
EndProcedure
Working example:

Code: Select all

Procedure style_static(gadget)
SetWindowLong_(GadgetID(gadget), #GWL_EXSTYLE, GetWindowLong_(GadgetID(gadget), #GWL_EXSTYLE) | #WS_EX_STATICEDGE)
SetWindowPos_(GadgetID(gadget), 0, 0, 0, 0, 0, #SWP_NOMOVE | #SWP_NOSIZE | #SWP_NOZORDER | #SWP_FRAMECHANGED) 
EndProcedure

Procedure style_staticMore(startgadget,Endgadget)
For i=startgadget To Endgadget
style_static(i)
Next i
EndProcedure

OpenWindow(0, 0, 0, 140, 80, #PB_Window_ScreenCentered | #PB_Window_SystemMenu, "I'm a window")
CreateGadgetList(WindowID())
TextGadget(0, 10, 10, 120, 15, "I have a static edge")
ButtonGadget(1,10,50,60,20,"BLABLA")

style_staticMore(0,1)

Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow
and thanks to mrmat for helping me out on how to do that static edge thingie!

Posted: Sun Aug 14, 2005 4:21 pm
by PrincieD
thefool:
I'm undecided on the price as yet (still quite a bit of work to do on it), however it will certainley be no more than £30.

The library will be released as a dll with wrapper command includes, that way the library can't break with new updates to PB etc... :)