Page 2 of 3
Posted: Tue Aug 21, 2007 5:06 pm
by srod
Your menu and toolbar libs use strings - therefore, because of the way PB separates ansi from unicode, you will need to create unicode and threadsafe/unicode versions of your libs. It is possible to stuff everything in one library (i.e. both ansi and unicode versions of each affected procedure) but this is a little fiddly and I'm not sure if Tailbite can be used to assist with this? It's just simpler to create separate libraries and use PB's subsystems etc.
For the dll version, create two versions; one ansi and one unicode. Compile both with the threadsafe switch and that is all you'll need. Each dll can then be used with applications even if the threadsafe switch is not used (since the dll is completely linked).
Posted: Tue Aug 21, 2007 5:26 pm
by PrincieD
Thanks srod! thats what I needed to know!
Chris.
Posted: Wed Aug 22, 2007 2:32 pm
by NoahPhense
Very nice.
- np
Posted: Wed Aug 22, 2007 8:23 pm
by PrincieD
Thank you NoahPhense

Posted: Thu Aug 23, 2007 9:07 am
by thefool
Now i'm all curious about the button thingy

Posted: Thu Aug 23, 2007 3:11 pm
by ColBoy
Hey Chris. I'm very sorry for your loss too. Sometimes however it's good to bury your head in something, to give you some brief respite. Programming is probably a better avenue than drink or drugs.
I just purchased a copy, which I've been meaning to do for ages (Programmed Integration). Haven't got a product to put it into yet, but wanted to at least show you, your hard work is much appreciated.
Would it be OK to ask, that should you decide to stop working on this, you release the code into the public domain, or at the very least, release it to people who purchased the library.
All the best mate. colin
Posted: Thu Aug 23, 2007 5:17 pm
by PrincieD
ColBoy: Thanks mate

much appreciated! I've been down the drinking my sorrows away route before and I'm not going there again, I agree it's not the way.
If I decide to discontinue development of ProGUI in the future I will release the source to the registered users, it's the least I can do for the support given! However I do plan to continue, I don't want to give up but who knows what the future will bring.
Thank you Colin!
Posted: Tue Aug 28, 2007 12:42 am
by rsts
Hi Chris,
I'm using ProGui in my current app and it looks great.
I have a bit of a dilemma in that I've run out of space in the toolbar and need an additional toolbar on a second line.
In order to keep the same appearance for both rows, I'm wondering if there is any way to have a second row of toolbar buttons? Similar to -
http://htconsulting.com/menu.png
Since I'm not an api toolbar expert, am just wondering if you (or anyone) might have any suggestions as to how to accomplish a look like that. I've tried it with button images but they just don't give a menu-like appearance.
Thanks again for the great tool
Posted: Tue Aug 28, 2007 12:49 am
by srod
Try the #TB_SETROWS message to give yourself two (or more!) rows of buttons.
Posted: Tue Aug 28, 2007 1:03 am
by rsts
Many thanks.
I searched thru msdn for hours and couldn't come up with that.
Now to see if I can apply it to ProGui.
cheers
Posted: Tue Aug 28, 2007 3:35 pm
by PrincieD
Hi rsts!
Another way to do it would be to put the toolbars in separate rebar bands

Posted: Tue Aug 28, 2007 9:25 pm
by ts-soft
doesn't work on win2000
---------------------------
PureBasic_Compilation0.exe - DLL nicht gefunden
---------------------------
Die Dynamic Link Library UxTheme.dll wurde nicht im angegebenen Pfad C:\Dokumente und Einstellungen\...
---------------------------
OK
---------------------------
greetings
Thomas
Posted: Wed Aug 29, 2007 12:50 am
by rsts
Yes Chris,
It appears as if a rebar will be an ideal approach for what I hope to accomplish. Thanks.
ts-soft - I believe(?) it was mentioned in an earlier set of posts that for win2K you need a separate dll.
cheers
Posted: Wed Aug 29, 2007 7:50 am
by ts-soft
rsts wrote:ts-soft - I believe(?) it was mentioned in an earlier set of posts that for win2K you need a separate dll.
cheers
thanks for the info
I think the dll should load the "UxTheme.dll" dynamically or automatic fallback.
greetings
Thomas
Posted: Wed Aug 29, 2007 7:58 am
by kinglestat
I have read only just now what you are passing through
We all pass through tragedies in life - and I have an idea of what you are feeling. There was a time in my life I was actually sleeping on the streets...well in a car....and most of my family has been taken by that accursed disease. I havent yet seen the library, but I made my contribution. I hope it helps.