ProGUI V1.38 UI Library (Small Bug Fix)
Right, might be to do with the subsystem directories.
Here I use JaPBe for dev and the subsystem dirs work correctly, just tested the userlib version out with PB IDE and not compiling with the correct subsystem so can someone confirm what the correct SubSystem directories should be? (The latest build of PB4.30 does not have them created)
Here I use JaPBe for dev and the subsystem dirs work correctly, just tested the userlib version out with PB IDE and not compiling with the correct subsystem so can someone confirm what the correct SubSystem directories should be? (The latest build of PB4.30 does not have them created)
But if you use the newest TailBite with the /MULT option, you create one\SubSystems\UserLibThreadSafe\PureLibraries\UserLibraries\
\SubSystems\UserLibUnicode\PureLibraries\UserLibraries\
\SubSystems\UserLibUnicodeThreadSafe\PureLibraries\UserLibraries\
UserLib with support for all Systems! No SubSystems required.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Ahha!! thanks Thomas! this could be the problemQuote:
\SubSystems\UserLibThreadSafe\PureLibraries\UserLibraries\
\SubSystems\UserLibUnicode\PureLibraries\UserLibraries\
\SubSystems\UserLibUnicodeThreadSafe\PureLibraries\UserLibraries\
But if you use the newest TailBite with the /MULT option, you create one
UserLib with support for all Systems! No SubSystems required.

Cheers!
Chris.
-
- New User
- Posts: 6
- Joined: Sat Feb 03, 2007 2:12 pm
- Location: Towanda, PA, USA
I've re-compiled and re-uploaded the archives, there is just a single UserLibrary version now which is a multi-library. I've tested the new UserLibrary version in the PB IDE and JaPBe and no problems 
Please let me know if you guys are still having problems though!
I'll release another small update later tonight with the TextControlEx alignment flags fix
Cheers!
Chris.

Please let me know if you guys are still having problems though!
I'll release another small update later tonight with the TextControlEx alignment flags fix

Cheers!
Chris.
This is, what i have say for some weeksPrincieD wrote:I've re-compiled and re-uploaded the archives, there is just a single UserLibrary version now which is a multi-library. I've tested the new UserLibrary version in the PB IDE and JaPBe and no problems

The UserLib is a bit bigger but the resulting executable is the same.
No more problems with subsystem-settings

Thanks
Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Nice.But if you use the newest TailBite with the /MULT option, you create one
UserLib with support for all Systems! No SubSystems required.

https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
Where can i find the bandnumber in REBARBANDINFO?
I can store the rebar but not restore without this information. You can store
this in lParam of REBARBANDINFO.
greetings
Thomas
I can store the rebar but not restore without this information. You can store
this in lParam of REBARBANDINFO.
greetings
Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Hi Thomas!
You can get the band index with the following command:
index = SendMessage_(RebarHandle, #RB_IDTOINDEX, wID, 0)
Hope that answers your question
Cheers!
Chris.
The REBARBANDINFO\wID value is the command identifier of the band and is the same as the handle returned by AddRebarGadget (ProGUI).Where can i find the bandnumber in REBARBANDINFO?
I can store the rebar but not restore without this information. You can store
this in lParam of REBARBANDINFO.
You can get the band index with the following command:
index = SendMessage_(RebarHandle, #RB_IDTOINDEX, wID, 0)
Hope that answers your question

Cheers!
Chris.
Thanks, i will test this
Greetings
Thomas
// edit
i have test it, index is alway - 1
Greetings
Thomas
// edit
i have test it, index is alway - 1

Code: Select all
For i = 0 To SendMessage_(RebarID(#rbMain), #RB_GETBANDCOUNT, 0, 0) -1
ReadData(FF, ReBar, SizeOf(ReBar))
index = SendMessage_(RebarID(#rbMain), #RB_IDTOINDEX, ReBar\wID, 0)
Debug index
Select index
Case 0
ReBar\hwndChild = MenuExID(#mnuMain)
Case 1
ReBar\hwndChild = ToolBarID(#tbMain)
Case 2
ReBar\hwndChild = ToolBarID(#tbTools)
EndSelect
SendMessage_(RebarID(#rbMain), #RB_SETBANDINFO, i, ReBar)
Next
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

No difference:PrincieD wrote:Does the fMask member of REBARBANDINFO contain the #RBBIM_ID flag?i have test it, index is alway - 1
Code: Select all
Global ReBar.REBARBANDINFO
ReBar\cbSize = SizeOf(REBARBANDINFO)
ReBar\fMask = #RBBIM_CHILDSIZE|#RBBIM_HEADERSIZE|#RBBIM_STYLE|#RBBIM_CHILD|#RBBIM_SIZE|#RBBIM_TEXT|#RBBIM_ID
ReBar\fStyle = #RBBS_GRIPPERALWAYS|#RBBS_CHILDEDGE
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
