Page 6 of 71

Posted: Tue May 12, 2009 11:10 pm
by X0r
>can you get the source examples to run?
No, none of them. Only the executables work.

Posted: Tue May 12, 2009 11:28 pm
by PrincieD
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)

Posted: Tue May 12, 2009 11:33 pm
by ts-soft
\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.

Posted: Tue May 12, 2009 11:37 pm
by PrincieD
Quote:
\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.
Ahha!! thanks Thomas! this could be the problem :) I'll re-compile tomorrow, i'm a bit tired now and inebriated lol

Cheers!

Chris.

Posted: Tue May 12, 2009 11:45 pm
by David Martin
It runs fine on my Dell Precision 490, dual Quad Xeons, 8 Gb RAM, XP x64.

Posted: Wed May 13, 2009 5:16 pm
by PrincieD
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.

Posted: Wed May 13, 2009 5:39 pm
by ts-soft
PrincieD 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 :)
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 :D

Thanks

Thomas

Posted: Wed May 13, 2009 5:45 pm
by PrincieD
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
Good to hear! :)

Chris.

Posted: Thu May 14, 2009 1:58 am
by PrincieD
Hey guys, I've re-uploaded with a small update fixing the TextControlEx alignment flags, also there is a new #TCX_RIGHT alignment flag :)

Cheers!

Chris.

Posted: Thu May 14, 2009 2:20 pm
by DoubleDutch
But if you use the newest TailBite with the /MULT option, you create one
UserLib with support for all Systems! No SubSystems required.
Nice. :)

Posted: Sun May 17, 2009 6:15 pm
by ts-soft
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

Posted: Sun May 17, 2009 8:22 pm
by PrincieD
Hi Thomas!
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.
The REBARBANDINFO\wID value is the command identifier of the band and is the same as the handle returned by AddRebarGadget (ProGUI).

You can get the band index with the following command:

index = SendMessage_(RebarHandle, #RB_IDTOINDEX, wID, 0)

Hope that answers your question :)

Cheers!

Chris.

Posted: Sun May 17, 2009 8:44 pm
by ts-soft
Thanks, i will test this

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

Posted: Sun May 17, 2009 10:20 pm
by PrincieD
i have test it, index is alway - 1
Does the fMask member of REBARBANDINFO contain the #RBBIM_ID flag?

Posted: Sun May 17, 2009 10:32 pm
by ts-soft
PrincieD wrote:
i have test it, index is alway - 1
Does the fMask member of REBARBANDINFO contain the #RBBIM_ID flag?
No difference:

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