Page 21 of 71

Re: ProGUI V1.18! User Interface Library (New PanelEx Scroll

Posted: Sun Apr 03, 2011 10:26 pm
by AndyMK
PrincieD wrote:
AndyMK wrote:It is possible to position a toolbar anywhere in the window?
Yes I think if you pass the following common control style constant to the style parameter of CreateToolBarEx() the toolbar should then be positional with movewindow_():

Code: Select all

&~#CCS_TOP
Also take a look at at the other common control styles at http://msdn.microsoft.com/en-us/library ... S.85).aspx

Chris.
Do you have an example i could look at? i tried this

Code: Select all

toolbar2 = CreateToolBarEx(#TOOLBAR_1, WindowID(#Window_0), 32, 32, #TBSTYLE_HIDECLIPPEDBUTTONS|#UISTYLE_OFFICE2007|#CCS_TOP)
 MoveWindow_(toolbar2,0,150,720,50,1)
The old toolbar is overlapping the new one, i think :S

Re: ProGUI V1.18! User Interface Library (New PanelEx Scroll

Posted: Mon Apr 04, 2011 7:52 am
by Poshu
PrincieD wrote: If you go onto the compiler settings in PureBasic for your project and click on the resources tab you can add files to your compiled exe. In our case the file could be an icon with lots of different dimensioned versions of itself inside the .ico file (including a 16x16 pixel version). The above line would then load the requested file in the correct dimension (16, 16) from the .ico file stored in the compiled exe (it's resource). The benefits are all the files needed for the app are included into the exe.

Hope that makes it a bit clearer!

Chris.
That's pretty much what I understood, but I still can't get it to work (probably a name issue) still, I usually prefer to includebinary (cause I've developed some tools to speed up the process). I don't know why, but whenever I add an *.ico file in my exe's resources, all of my png (included with includebinary) used in proGUI's menu stop being transparent °_°; Is there anyway to load an ico with the loadimage_() api function with includebinary?

Re: ProGUI V1.18! User Interface Library (New PanelEx Scroll

Posted: Mon Apr 04, 2011 1:15 pm
by AndyMK
Is there a way to change the font for the buttons in the toolbar?

Re: ProGUI V1.18! User Interface Library (New PanelEx Scroll

Posted: Mon Apr 04, 2011 4:12 pm
by PrincieD
AndyMK wrote: Do you have an example i could look at? i tried this

Code: Select all

toolbar2 = CreateToolBarEx(#TOOLBAR_1, WindowID(#Window_0), 32, 32, #TBSTYLE_HIDECLIPPEDBUTTONS|#UISTYLE_OFFICE2007|#CCS_TOP)
 MoveWindow_(toolbar2,0,150,720,50,1)
The old toolbar is overlapping the new one, i think :S
Sorry Andy :oops: , I gave you the wrong constant, try this one: #CCS_NOPARENTALIGN :)
Is there a way to change the font for the buttons in the toolbar?
Not yet unfortunately, that was one of the things on my mind that needed doing to the ToolBarEx, I'll add support for it in the next release though :)

Chris.

Re: ProGUI V1.18! User Interface Library (New PanelEx Scroll

Posted: Mon Apr 04, 2011 4:19 pm
by PrincieD
Poshu wrote: That's pretty much what I understood, but I still can't get it to work (probably a name issue) still, I usually prefer to includebinary (cause I've developed some tools to speed up the process). I don't know why, but whenever I add an *.ico file in my exe's resources, all of my png (included with includebinary) used in proGUI's menu stop being transparent °_°; Is there anyway to load an ico with the loadimage_() api function with includebinary?
Hey man, sorry I don't know of a way to use loadimage_() with includebinary :/ with the resources though make sure you don't use any spaces with the resource name as i think the loader uses a simple hash.

Chris.

Re: ProGUI V1.18! User Interface Library (New PanelEx Scroll

Posted: Fri Apr 08, 2011 2:37 pm
by PrincieD
Hey guys,

I've almost finished writing a huge build script that automates all the source modification, compiling, archiving, site updating and uploading for new ProGUI releases.
Before I started writing the script it was starting to take too long getting new releases ready (nearly 2 hours!) so I thought it was a good idea to get it done now before things start to get really complicated (and mistakes made!). When it's done though I should be able to get fixes and new releases out a lot more quickly and effortlessly :)

Chris.

Re: ProGUI V1.18! User Interface Library (New PanelEx Scroll

Posted: Fri Apr 08, 2011 3:02 pm
by DoubleDutch
I do that now for my programs, I also put the changes in a list at the bottom of the source code. This list is parsed and uploaded to a database, so users can see what changes from one version to another. After the script has run I delete the list ready for the next update.

Re: ProGUI V1.18! User Interface Library (New PanelEx Scroll

Posted: Fri Apr 08, 2011 3:09 pm
by PrincieD
DoubleDutch wrote:I do that now for my programs, I also put the changes in a list at the bottom of the source code. This list is parsed and uploaded to a database, so users can see what changes from one version to another. After the script has run I delete the list ready for the next update.
Thats a good idea! :)

Re: ProGUI V1.18! User Interface Library (New PanelEx Scroll

Posted: Sun Apr 10, 2011 6:33 am
by PrincieD
I've improved/updated the site, now has automatic multi-language support :)

http://www.progui.co.uk

Chris.

Re: ProGUI V1.18! User Interface Library (New PanelEx Scroll

Posted: Sun Apr 17, 2011 7:36 pm
by X0r
Hi Chris,
I have been using ProGUI in a RCon tool I developed for a Armed Assault 2 Community (without being familiar with this game itself since it was a contract): http://dev-heaven.net/projects/rcon/files
As the protocol was not public this tool proved to be the first stable RCon GUI. However some administrators report that our tool sometimes crashes at random when starting it (process starts and seems to run but there does not appear any GUI). And today it also crashed on my system (Windows 7 32 bit) when I was about to release a new version. I figured out that the problem can be traced to ProGUI itself since the tool works great when replacing all commands of your lib.
In former times I had exactly the same problem in another application. Is there anything one should pay attention to when using your lib in unicode mode?

Thanks! Hope I will be able to use your great lib again!

Re: ProGUI V1.18! User Interface Library (New PanelEx Scroll

Posted: Sun Apr 17, 2011 8:36 pm
by PrincieD
Forge wrote:Hi Chris,
I have been using ProGUI in a RCon tool I developed for a Armed Assault 2 Community (without being familiar with this game itself since it was a contract): http://dev-heaven.net/projects/rcon/files
As the protocol was not public this tool proved to be the first stable RCon GUI. However some administrators report that our tool sometimes crashes at random when starting it (process starts and seems to run but there does not appear any GUI). And today it also crashed on my system (Windows 7 32 bit) when I was about to release a new version. I figured out that the problem can be traced to ProGUI itself since the tool works great when replacing all commands of your lib.
In former times I had exactly the same problem in another application. Is there anything one should pay attention to when using your lib in unicode mode?

Thanks! Hope I will be able to use your great lib again!
Hey Soner!

I checked out "ArmA 2 RCon GUI 1.5" it looks like your using a fairly old version of ProGUI, can you try re-compiling with the latest version of ProGUI (V1.18) and let me know if the problem still occurs. Also, a good idea when theres a strange crash in ProGUI is to include the ProGUI.pb source code directly into your code with the following constants set to:

Code: Select all

#LIBRARY = 1  ; 1 = compile for PureBasic Library
#DISABLEPROTECTION = 1  ; 1 = disable
#DEBUGENABLED = -1 ; -1 = enable debug
use the following at the top of your code:

Code: Select all

IncludeFile "ProGUI.pb"
ProGUI_Init()
StartProGUI("", 0, 0, 0, 0, 0, 0, 0)
and before your program terminates add "ProGUI_End()". Doing this will allow you to see in the ProGUI source code where the crash occurs and then you can let me know what line number and I can fix it then :)

Hope that helps mate! (and glad you're still loving the lib! :))

Chris.

P.S I'm working on a new skin subsystem and skinable buttonex at the moment (not much left to do!) :)

Re: ProGUI V1.18! User Interface Library (New PanelEx Scroll

Posted: Sun Apr 17, 2011 8:44 pm
by DoubleDutch
P.S I'm working on a new skin subsystem and skinable buttonex at the moment (not much left to do!)
:)

Re: ProGUI V1.18! User Interface Library (New PanelEx Scroll

Posted: Mon Apr 18, 2011 12:55 am
by PrincieD
DoubleDutch wrote:
P.S I'm working on a new skin subsystem and skinable buttonex at the moment (not much left to do!)
:)
I think you're gunna like the new API :D

New Version!

Posted: Mon Apr 18, 2011 4:39 pm
by Peyman
before PrincieD that announce new version i must say new version released 1.19 8) but no new help file, i download it and see

Code: Select all

Debug ProGUIVersion() ; 1.19000005722046

Re: New Version!

Posted: Mon Apr 18, 2011 5:13 pm
by PrincieD
Peyman wrote:before PrincieD that announce new version i must say new version released 1.19 8) but no new help file, i download it and see

Code: Select all

Debug ProGUIVersion() ; 1.19000005722046
hehe whoops! technically thats correct, I must have forgot to put the version number back to 1.18 while I was testing out the new build script (which is complete :)) but it is correct though, it's a later build than 1.18 and will have a few new bug fixes in there.

Chris.