PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Patrice Terrier on April 07, 2004, 05:48:06 AM

Title: WSA & FF working together to make skinning a breeze
Post by: Patrice Terrier on April 07, 2004, 05:48:06 AM
(https://www.planetsquires.com/protect/forum/proxy.php?request=http%3A%2F%2Fwww.zapsolution.com%2Fpreview%2Fff3.gif&hash=382f54753886004dc57ba706ae461699e443ccc5)
Title: WSA & FF working together to make skinning a breeze
Post by: Bob Houle on April 07, 2004, 11:18:37 AM
Hi Patrice,

Nice Demo. Is it possible to explain step by step how you did this?

I have been trying to do the very same thing and I have not had any success.

Here's what I've done...

- Created a new folder
- Created a new project with a single form
- Placed SKENGINE.DLL and SKSDAPI.DLL in this folder
- Have SKSDKAPI.INC module in my project
- Placed "Call skSkinWindow(hWndForm, "Dock|Undock|Minimize|Maximize|Restore|Close", %SKEFF_FASTDISPLAY)" in the Form1 WM_CREATE code area.

As far as I can tell, I've done everything that the sample has, but still can't get any results.

An 'explained' sample would be better.  :oops:

--Bob

OOPS - I also added "WINLIFT.SKL" to the folder
Title: WSA & FF working together to make skinning a breeze
Post by: Patrice Terrier on April 07, 2004, 02:48:06 PM
Bob,

I am not sure which WinLIFT version you are using.
But FF requires a recent WSA version (2004)
Better to answer me via private email.
Then I could send you a ZIP of my \FireFly\Samples\Wlftab folder.
( I am not sure if I have you current email or not)
Title: WSA & FF working together to make skinning a breeze
Post by: Bob Houle on April 13, 2004, 12:07:11 PM
Thanks Patrice (and Paul),

(Patrice I received your latest version...   :)  )

I've completed my first FireFly project and it looks great!

I used: FireFly, WinliftSimplified, Cheetah, and DDoc Print and Preview.

I only needed a single form, but I added a second form to see 'how' FireFly handled form switching, etc.

I'm still having a small problem. When I close the second form, the main form does not display properly and needs to be updated.

What 'FireFly Event' would you use to update the main form with the InvalidateRect and UpdateWindow API calls? Are there any other API calls required?

I've even tried:
   Call skUpdateWindow(HWND_FORM1, %TRUE)  '' which uses the above API calls.
in many events with no luck. :(

I'd like to use the skUpdateWindow call, if possible.

This SDK programming is tuff stuff ;)

--Bob
Title: WSA & FF working together to make skinning a breeze
Post by: Patrice Terrier on April 13, 2004, 03:50:47 PM
Bob,

Did you try the TESTEDM.BAS demo.
It displays a skinned open/save common dialog.

If you want, send me a working example and I will look at it to see what is going wrong with it.