PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: WSA & FF working together to make skinning a breeze  (Read 641 times)

Patrice Terrier

  • Guest
WSA & FF working together to make skinning a breeze
« on: April 07, 2004, 05:18:06 AM »

Logged

Bob Houle

  • Guest
WSA & FF working together to make skinning a breeze
« Reply #1 on: April 07, 2004, 10:48: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
Logged

Patrice Terrier

  • Guest
WSA & FF working together to make skinning a breeze
« Reply #2 on: April 07, 2004, 02:18: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)
Logged

Bob Houle

  • Guest
WSA & FF working together to make skinning a breeze
« Reply #3 on: April 13, 2004, 11:37:11 AM »

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
Logged

Patrice Terrier

  • Guest
WSA & FF working together to make skinning a breeze
« Reply #4 on: April 13, 2004, 03:20: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.
Logged