Here's a much improved version.

The 2 errors still show when switching to skin mode.

You can you switch between window and skin mode by right clicking the mouse.

I need to add the code to move the window when in skin mode.

The skin isn't lined up right yet.  It's off by a few pixels at the top.

I've also found some sample code (in C++) to read a bitmap, and create the
regions from the bitmap.  I'll work on that next.

Brian Millham
This message traveled at least 44,000 miles to reach you!
Creator of the DW6000 Monitor
http://www.millham.net/dw6000
[EMAIL PROTECTED] 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian
Millham
Sent: Sunday, February 26, 2006 7:22 PM
To: perl-win32-gui-users@lists.sourceforge.net
Subject: [perl-win32-gui-users] Skins in Win32-GUI

Hi all,
        I've been playing with this a little bit this afternoon, and have a
very simple, incomplete app that is sort-of skinned.

The skin bitmap is not properly positioned (I'm not sure how to move it yet,
it needs to cover the complete window, including the title bar) and there
are 2 errors when you start the program complaining about the
CreateEllipticRgn sub.  Oh, and there's no way to close it, you have to
Ctrl-C it from the command line.

To run this, just save the script and the bmp file in the same directory.

        Over all, this shows that it's not to difficult to create a skinned
app with perl and Win32::GUI.

        I hope that this helps someone, and I'll send an updated version
once I figure out the glitches.

Brian Millham
This message traveled at least 44,000 miles to reach you!
Creator of the DW6000 Monitor
http://www.millham.net/dw6000
[EMAIL PROTECTED] 

---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0608-1, 02/23/2006
Tested on: 2/26/2006 7:21:50 PM
avast! is copyright (c) 2000-2003 ALWIL Software.
http://www.avast.com



    
---
avast! Antivirus: Inbound message clean.
Virus Database (VPS): 0608-1, 02/23/2006
Tested on: 2/26/2006 8:00:43 PM
avast! is copyright (c) 2000-2003 ALWIL Software.
http://www.avast.com



    
---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0608-1, 02/23/2006
Tested on: 2/27/2006 12:47:39 AM
avast! is copyright (c) 2000-2003 ALWIL Software.
http://www.avast.com



    

<<attachment: skin1.bmp>>

Attachment: skin.pl
Description: Binary data

Reply via email to