Posted: Tue May 12, 2009 11:10 pm
>can you get the source examples to run?
No, none of them. Only the executables work.
No, none of them. Only the executables work.
http://www.purebasic.com
https://www.purebasic.fr/english/
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\
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.
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
Good to hear!This is, what i have say for some weeks Wink
The UserLib is a bit bigger but the resulting executable is the same.
No more problems with subsystem-settings Very Happy
Thanks
Thomas
Nice.But if you use the newest TailBite with the /MULT option, you create one
UserLib with support for all Systems! No SubSystems required.
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.
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
Does the fMask member of REBARBANDINFO contain the #RBBIM_ID flag?i have test it, index is alway - 1
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