Page 24 of 71

Re: ProGUI V1.20! User Interface Library (New Skinned Button

Posted: Fri May 13, 2011 7:21 pm
by ts-soft
Marco2007 wrote:Very cool! Thx!

Thanks for SaveRebarLayout() and LoadRebarLayout() :D
+1


I miss some examples for Skinning and ButtonEx.

Greetings - Thomas

Re: ProGUI V1.20! User Interface Library (New Skinned Button

Posted: Fri May 13, 2011 8:51 pm
by PrincieD
Marco2007 wrote:Very cool! Thx!

Thanks for SaveRebarLayout() and LoadRebarLayout() :D
It would be perfect, if the state of ShowRebarBand() would be included....
No worries Marco, ahh yes it needs the ShowRebarBand state saved too doh! I'll sort it :)
ts-soft wrote:I miss some examples for Skinning and ButtonEx.
Yes sorry Thomas I just wanted to get the release out as I know you've all been waiting a while for it!
I'll be adding some more examples this week and a skin editor tool as well :)

Chris.

Re: ProGUI V1.20! User Interface Library (New Skinned Button

Posted: Sat May 14, 2011 8:00 am
by Barney
Thanks for your great work, PrincieD. I am really enjoying using your software. :D

Barney

Re: ProGUI V1.20! User Interface Library (New Skinned Button

Posted: Mon May 16, 2011 12:39 am
by PrincieD
Barney wrote:Thanks for your great work, PrincieD. I am really enjoying using your software. :D
Thanks Barney! and no worries, I'm glad you're enjoying using it! :D

Guys, thanks to Cho reporting a bug where clicking on a menu item under Windows XP 32bit I've discovered a bug in PB's UnlockMutex command whereby if the command is called twice the next LockMutex command will hang forever, just fixing up the code now.

Chris.

Re: ProGUI V1.20! User Interface Library (New Skinned Button

Posted: Mon May 16, 2011 9:04 am
by marc_256
Hi Chris,

I just started to use your software,
when I started 'PanelExample.exe' my computer hangs...
even when I use it in PB 4.51RC2 with 'PanelExample.pb' file the computer hangs.
Even other examples hangs.

Is this the reason you mention above.
If not so, must I remove older ProGui 1.18 before installing 1.20 ?

I use WIN XP SP2 / ATHLON XP CPU


Marc,

Re: ProGUI V1.20! User Interface Library (New Skinned Button

Posted: Mon May 16, 2011 9:13 am
by PrincieD
marc_256 wrote:Hi Chris,

I just started to use your software,
when I started 'PanelExample.exe' my computer hangs...
even when I use it in PB 4.51RC2 with 'PanelExample.pb' file the computer hangs.
Even other examples hangs.

Is this the reason you mention above.
If not so, must I remove older ProGui 1.18 before installing 1.20 ?

I use WIN XP SP2 / ATHLON XP CPU


Marc,
Hi Marc, yes thats correct, it's because of the UnlockMutex bug. I should have the new update ready in an hour or so.

Chris.

Re: ProGUI V1.21! User Interface Library (New Skinned Button

Posted: Mon May 16, 2011 12:57 pm
by PrincieD
Ok guys, the new bug fix release is out - see top of thread :)

Chris.

Re: ProGUI V1.21! User Interface Library (New Skinned Button

Posted: Mon May 16, 2011 3:13 pm
by ts-soft
PrincieD wrote:Ok guys, the new bug fix release is out - see top of thread :)

Chris.
No Gold-Update :?:

Re: ProGUI V1.21! User Interface Library (New Skinned Button

Posted: Mon May 16, 2011 5:39 pm
by PrincieD
ts-soft wrote:
PrincieD wrote:Ok guys, the new bug fix release is out - see top of thread :)

Chris.
No Gold-Update :?:
yep soon soon :) just testing out a new mailing list with Josh (thanks man!), this is so that everybody's email address isn't visible to everyone when sending the update emails.
please let me know if you find any problems with this release too by the way :)

Cheers!

Chris.

Re: ProGUI V1.21! User Interface Library (New Skinned Button

Posted: Tue May 17, 2011 5:44 pm
by csk
Hi Chris,

I am Cho. "csk" is my forum ID.

Thanks for the ver 1.21 update. I confirm the Menu bug is now resolved.

Thanks and Regards
Cho

Re: ProGUI V1.21! User Interface Library (New Skinned Button

Posted: Tue May 17, 2011 5:59 pm
by PrincieD
csk wrote:Hi Chris,

I am Cho. "csk" is my forum ID.

Thanks for the ver 1.21 update. I confirm the Menu bug is now resolved.

Thanks and Regards
Cho
No worries Cho, glad it's working :)

Chris.

Re: ProGUI V1.21! User Interface Library (New Skinned Button

Posted: Tue May 17, 2011 9:55 pm
by ts-soft
Hi Chris,

this code crashes with ButtonEx but works with ImageButtonEx?

Code: Select all

EnableExplicit

DataSection
  ico: IncludeBinary "ProfanIDE.ico"
EndDataSection

Define tmpimg

Dim IMG(3)
tmpimg = CatchImage(#PB_Any, ?ico)
IMG(0) = ImageID(tmpimg)
IMG(1) = ImgBlend(IMG(0), 255, 20, 20, 0, 0, 0)
IMG(2) = ImgBlend(IMG(0), 255, 0, 0, 0, 50, 0)
IMG(3) = ImgBlend(IMG(0), 0, 0, 0, 0, 0, #ImgBlend_Greyscale)
OpenWindow(0, #PB_Ignore, #PB_Ignore, 150, 88, "Test")
;ImageButtonEx(WindowID(0), 1, 20, 20, 48, 48, IMG(0), IMG(1), IMG(2), 0)
ButtonEx(WindowID(0), 1, 20, 20, 100, 50, "Profan", IMG(0), IMG(1), IMG(2), IMG(3), 0)
Repeat
  Select WaitWindowEvent()
    Case #PB_Event_CloseWindow : Break
    Case #PB_Event_Menu
      Select EventMenu()
        Case 1
          MessageRequester("3-State-Test", "Button Click")
      EndSelect
  EndSelect
ForEver
Greetings - Thomas

Re: ProGUI V1.21! User Interface Library (New Skinned Button

Posted: Wed May 18, 2011 6:05 am
by PrincieD
ts-soft wrote:Hi Chris,

this code crashes with ButtonEx but works with ImageButtonEx?
Hi Thomas,

I was unable to get it to crash here, tested both the DLL version and Userlib here with PB 4.51 (x64). Are you
using the new beta of PureBasic with the Userlib version? (this may cause problems as TailBite might not work correctly with the latest beta yet)

Chris.

Re: ProGUI V1.21! User Interface Library (New Skinned Button

Posted: Wed May 18, 2011 1:14 pm
by ts-soft
Tested with Userlib and PB 4.51 x86. One or two moves with the mouse over the windows crashes always at:

Code: Select all

Select WaitWindowEvent()
Crashes with your userlib, with my userlib but not with DLL!

// edit
problem is only on x86, not on x64!

Re: ProGUI V1.21! User Interface Library (New Skinned Button

Posted: Wed May 18, 2011 6:26 pm
by PrincieD
ts-soft wrote:Tested with Userlib and PB 4.51 x86. One or two moves with the mouse over the windows crashes always at:

Code: Select all

Select WaitWindowEvent()
Crashes with your userlib, with my userlib but not with DLL!

// edit
problem is only on x86, not on x64!
Thanks Thomas, I've confirmed the crash, working on a fix now (due to me using some exported string functions internally I think, Tailbite doesn't like this!)

Chris.