ProGUI Library V0.59 Beta Released, New low price $19.99!!

Developed or developing a new product in PureBasic? Tell the world about it.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post 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).
I may look like a mule, but I'm not a complete ass.
PrincieD
Addict
Addict
Posts: 890
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Post by PrincieD »

Thanks srod! thats what I needed to know! :)

Chris.
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post by NoahPhense »

Very nice.

- np
PrincieD
Addict
Addict
Posts: 890
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Post by PrincieD »

Thank you NoahPhense :)
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

Now i'm all curious about the button thingy :mrgreen:
ColBoy
Enthusiast
Enthusiast
Posts: 143
Joined: Fri Feb 13, 2004 2:37 pm
Location: Ottawa, Canada
Contact:

Post 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
PrincieD
Addict
Addict
Posts: 890
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Post 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!
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post 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
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Try the #TB_SETROWS message to give yourself two (or more!) rows of buttons.
I may look like a mule, but I'm not a complete ass.
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post 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
PrincieD
Addict
Addict
Posts: 890
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Post by PrincieD »

Hi rsts!

Another way to do it would be to put the toolbars in separate rebar bands :)
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

doesn't work on win2000 :cry:
---------------------------
PureBasic_Compilation0.exe - DLL nicht gefunden
---------------------------
Die Dynamic Link Library UxTheme.dll wurde nicht im angegebenen Pfad C:\Dokumente und Einstellungen\...
---------------------------
OK
---------------------------
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.
Image
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

Yes Chris,

It appears as if a rebar will be an ideal approach for what I hope to accomplish. Thanks. :D


ts-soft - I believe(?) it was mentioned in an earlier set of posts that for win2K you need a separate dll.

cheers
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post 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
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.
Image
kinglestat
Enthusiast
Enthusiast
Posts: 747
Joined: Fri Jul 14, 2006 8:53 pm
Location: Malta
Contact:

Post 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.
I may not help with your coding
Just ask about mental issues!

http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
Post Reply