ProGUI V1.38 UI Library (Small Bug Fix)

Developed or developing a new product in PureBasic? Tell the world about it.
real
User
User
Posts: 49
Joined: Fri Oct 08, 2004 5:17 am

Post by real »

Links to ProGUI are dead. :(
User avatar
X0r
Enthusiast
Enthusiast
Posts: 138
Joined: Tue May 01, 2007 3:49 am
Location: Germany

Post by X0r »

Yes, I am sorry, my domain provider did some changes so that www.forgesoft.net is currently not available.
But http://chris.forgesoft.de should work.
User avatar
X0r
Enthusiast
Enthusiast
Posts: 138
Joined: Tue May 01, 2007 3:49 am
Location: Germany

Post by X0r »

I figured out why it did not work. When I use the ProGUI Userlib, everything works fine but when I am trying to use ProGUI via the DLL the program execution stops/crashes at this line:
ProGUI = OpenLibrary(#PB_Any, "ProGUI.dll")

Edit:
Soner, do the examples work when compiled with the userlib or do they just crash with the dll?
lol, I did not read this message, sorry.
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Post by PrincieD »

Hi guys!

Just had a little breather from ProGUI, i'll be adding some more stuff to it soon :)
I figured out why it did not work. When I use the ProGUI Userlib, everything works fine but when I am trying to use ProGUI via the DLL the program execution stops/crashes at this line:
ProGUI = OpenLibrary(#PB_Any, "ProGUI.dll")

Edit:
Quote:
Soner, do the examples work when compiled with the userlib or do they just crash with the dll?

lol, I did not read this message, sorry.
Soner: was the ProGUI.dll in your windows\system32 dir? If so there's a small bug where ProGUI fetches the incorrect path to itself when it starts and the md5 check fails and shuts down. I'll fix this in the next update :)

Cheers!

Chris.
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Post by PrincieD »

Hey guys!

Here's a quick progress report on the current build I'm working on:

PanelEx's are now double-buffered and can have a gradient as the background instead of a theme. Background image can be repeated horizontally, vertically or tiled (as well as centred horizontally/vertically or positioned absolute). A panel page can now also have a border based on a passed image with full alpha transparency and optional mask for some really cool effects. Panels within panels have full alpha transparency support also so you could have a semi-transparent panel inside another panel and the background of the parent panel will show through on the child. All this is flicker free when resizing the PanelEx too! :)

TextcontrolEx now has multi line support and when inside a panel, draws directly to panel's buffer (flicker free and works with the new cool alpha effects of the panel!)

New ImageButtonEx with full alpha, normal, hot, pressed and disabled image states. As with the TextcontrolEx when inside a panel, draws directly to panel's buffer!

Cheers!

Chris.
mrjiles
Enthusiast
Enthusiast
Posts: 238
Joined: Fri Aug 18, 2006 7:21 pm
Location: IL

ShowRebarBand

Post by mrjiles »

Am I missing something with ShowRebarBand? It doesn't appear to do anything for me... any ideas?

Code: Select all

Result = showRebarBand(Rebar, Toolbar, 0)
mrjiles
Enthusiast
Enthusiast
Posts: 238
Joined: Fri Aug 18, 2006 7:21 pm
Location: IL

Post by mrjiles »

Sorry, figured it out :-)
User avatar
X0r
Enthusiast
Enthusiast
Posts: 138
Joined: Tue May 01, 2007 3:49 am
Location: Germany

Post by X0r »

Hey Chris,
did you fix the "bug" in the dll-version? Would be great because InstallForge is still waiting. :D
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Post by PrincieD »

Hey Chris,
did you fix the "bug" in the dll-version? Would be great because InstallForge is still waiting.
Hey man!

V1.12 should be ready in a couple of days :)

Chris.
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

yay!!!
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
Poshu
Enthusiast
Enthusiast
Posts: 459
Joined: Tue Jan 25, 2005 7:01 pm
Location: Canada

Post by Poshu »

I can't open a progui popupmenu without at least one progui "normal" menu or toolbar... Is this impossible to achive or am I just too stupid? (let's bet on the second).
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Post by PrincieD »

Poshu wrote:I can't open a progui popupmenu without at least one progui "normal" menu or toolbar... Is this impossible to achive or am I just too stupid? (let's bet on the second).
Oh Bugger! yep I've confirmed the bug and you're not too stupid (I am lol). Thanks for reporting this, it'll be fixed in the new release :)

Sorry by the way for the delay folks, I know you're all waiting patiently for the new release! I've pretty much coded everything I wanted to include now so it shouldn't be too long. Heres a list of the new stuff to wet your appetites ;)

Fixed ToolbarEx not displaying tooltip bug with DLL version and none unicode executable.
Fixed missing #VerticalGRADIENT constant in res and include
Fixed bug in setTextControlExText where dimensions were calculated incorrectly.
Fixed AddPanelExImagePage auto calculated image dimensions when icon passed as image.
Added double '$' escape code in menuex
Added multi-line support to textcontrolex as escape code
Added hyperlink support to textcontrolex as escape code
Added new #TCX_LINK_HOVER window event notification
Added new #TCX_LINK_CLICK window event notification
Added new style flags #PNLX_PERCENT, #PNLX_STRETCH, #PNLX_HREPEAT, #PNLX_VREPEAT, #PNLX_RIGHT, #PNLX_BOTTOM, PNLX_TILE to AddPanelExImagePage
Added new command setTextControlExStyle
Added new command setTextControlExLinePadding
Added new command TextControlExID
Added new command FreeTextControlEx
Added new command ImageButtonEx
Added new command ChangeImageButtonEx
Added new command ImageButtonExToolTip
Added new command ImageButtonExID
Added new command FreeImageButtonEx
Added new command ToolBarExToolTipDelay
Added new command ToolBarExID
Added new command SetPanelExPageBorder
Added new command SetPanelExPageBackground
Added new command InsertPanelExPage
Added new command InsertPanelExImagePage
Added new command FreePanelEx
Added new command FreePanelExPage
Changed PanelEx, now doublebuffered, supports semi-transparent panels within panels and optional 2nd overlay background/image.
Changed TextControlEx, now draws directly to panel's buffer if in panel.
Changed PanelExID, if index is < 0 then returns handle to panelex
Changed AddPanelExPage and AddPanelExImagePage, can now take gradient as background.
Changed setTextControlExPadding, now takes an ID as first parameter.
Changed setTextControlExFont, now takes an ID as first parameter.
Changed setTextControlExColour, now takes an ID as first parameter.
Changed setTextControlExGradient, now takes an ID as first parameter.
Changed FreeToolBarEx, specifying toolbar.l as -1 will now free all toolbarEx's.

Heres a screen shot of the new interface for my file sharing program DCC Manager showing off what's possible with the new PanelEx, TextControlEx and ImageButtonEx code. (it's not actually downloading that movie, it's just a mock-up so please don't flame lol) :-

Image

The main transfers window is a PanelEx with a gradient as background, centered png logo with alpha and an alpha drop shadow border. The file window is another PanelEx inside the transfers PanelEx and has a semi-transparent gradient as background and a border with mask. All this with about 5 lines of code :)
Poshu
Enthusiast
Enthusiast
Posts: 459
Joined: Tue Jan 25, 2005 7:01 pm
Location: Canada

Post by Poshu »

can't wait :mrgreen:
real
User
User
Posts: 49
Joined: Fri Oct 08, 2004 5:17 am

Re: ProGUI V1.11! Professional Graphical User Interface Library

Post by real »

Hi,

ProGUI userlib versions seems not yet to be compliant to PB 4.40 (POLINK error with unresolved external symbal 'SYS_AllocateString'). When will it be fixed? Maybe in 1.12? :D *can'twait*

René
Windows 7 x64, PureBasic 4.31 & 4.40b4 x86
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V1.11! Professional Graphical User Interface Library

Post by PrincieD »

ProGUI userlib versions seems not yet to be compliant to PB 4.40 (POLINK error with unresolved external symbal 'SYS_AllocateString'). When will it be fixed? Maybe in 1.12? :D *can'twait*
Hi man! Sorry for the delay I'm currently crashing on a m8s floor because I had to move house last Friday. However, I've completed all the code for the new release, docs and almost completed updating the examples so I'll have it ready any-time now :)

Cheers!

Chris.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
Locked