ProGUI Library!

Windows specific forum
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

What would be good is full window skinning, will your library have this?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
PrincieD
Addict
Addict
Posts: 861
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Post 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 :)
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post 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?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Pantcho!!
Enthusiast
Enthusiast
Posts: 538
Joined: Tue Feb 24, 2004 3:43 am
Location: Israel
Contact:

Post by Pantcho!! »

danilo toolbar from puretools does the same job i think.

can you write the diffrences in your lib?
PrincieD
Addict
Addict
Posts: 861
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Post 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
Pupil
Enthusiast
Enthusiast
Posts: 715
Joined: Fri Apr 25, 2003 3:56 pm

Post 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?
PrincieD
Addict
Addict
Posts: 861
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Post by PrincieD »

Pupil:

I havn't tested it on Win98, it should work but you won't have any of the XP eye candy!
Pupil
Enthusiast
Enthusiast
Posts: 715
Joined: Fri Apr 25, 2003 3:56 pm

Post 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)
PrincieD
Addict
Addict
Posts: 861
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Post 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.
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

looks quite nice.!
I would like to hear if someone tested it under 9x too!
sec
Enthusiast
Enthusiast
Posts: 792
Joined: Sat Aug 09, 2003 3:13 am
Location: 90-61-92 // EU or ASIA
Contact:

Post by sec »

Win98SE tested but not working :(
Image
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post 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?
PrincieD
Addict
Addict
Posts: 861
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Post 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 :)
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post 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!
PrincieD
Addict
Addict
Posts: 861
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Post 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... :)
Post Reply