Greg,
I have downloaded your "ClubDj ProVJ", very impressive piece of work!
with a very nice skinned interface as i like them...
I have also checked the EXE demo provided with the BASS_SFX zip.
and i found very instructive to compare the size of the resulting EXE that are doing almost the same thing
I think that the BASS_SFX's PowerBASIC interface could be posted on the José Roca's forum, either in the BassBox forum, or in the Header section forum.
PS: is it possible to get some insight on how you are doing the skinning of the scollbars?
Hi Patrice!
Thank you for the kind words! It took me a very long time in order to build the "skin engine" for ProVJ. I am the one and only developer for all my dj software products so you can imagine what a struggle it was :p I am big believer in sharing knowledge so I can tell you that I gave up on "skinning the scrollbars" and decided to hide them and then create my own graphics that look like scrollbars which in turn send messages to the treectrl or listctrl for scrolling. This ended up working great, but it was a huge and complex task. It took me 6 months of part time work to perfect it.
Since it took me so long I decided to help others out and I have written an article on this
http://www.codeproject.com/KB/list/skinlist.aspx. This article is old, not up to date, and the coding is bad and also in MFC, but it still is basically the same technique I use in ProVJ. I can send you the updated code for how to do all of this if you want, just PM me. If you have any specific questions for me please don't hestitate to ask me via this forum or pm if you wish
Basically this is what I do
//first you must hide the scrollbars using the following code
InitializeFlatSB(m_hListWnd);
FlatSB_EnableScrollBar(m_hListWnd, SB_BOTH, ESB_DISABLE_BOTH);
//now that the scrollbars are hidden you need to create your own using
//graphics which is a whole other task
//once you have your own graphical scrollbars created you
//must now write functions to scroll the list programatically in
//response to user input on your custom made scrollbars
//I have not included the code to create the graphic scrollbars or the code to programmatically
//scroll the listctrl/treectrl because there is a ton of code for all that. If you would like the code
//for this PM me and I will send you the raw code.
As a side note I have wrapped up my skin engine into a dll which I plan to release for sale to developers. I only have to finish the documenation which is a huge task. I will notify everyone via the un4seen forums in case anyone is interested. The cool part about the dll skin engine is that it uses an xml file and tga/bmp file to create the skin with built in "on the fly" changing of skins and it internally uses 100% win32 API so it will work with almost any windows programming langugage. The only bad part is that it is almost only useful for new projects as you have to design your software with the use of the "skin engine" in mind since it has its own controls and API.
Also, regarding the different file sizes of the demos in BASS_SFX, I was actually look at this as well when I was making it. It was very interesting to see the different file sizes that each programming language produced! I will upload the powerbasic header to the bassbox forums today
Cheers,
Greg