Window Background Mask

2005-12-21 Thread Chris Rogers
This is really a two part question. I'd like to create a grid-like mask for the window background in an efficient manner. I'd also like that background not to be destroyed when items are moved around in window. I have the following example code: #!c:/perl58/bin/perl.exe -wuse strict;use

Re: How to disable a control without changing appearance

2005-12-20 Thread Chris Rogers
for the constants. In all the docs I've looked at, I haven't found on that told me that WM_NCHITTEST = 132 or HTCAPTION = 2. Can you tell me where to find the actual values for the constants? Thanks, Chris On 12/20/05, May, Robert [EMAIL PROTECTED] wrote: Chris Rogers wrote:[snip] The whole idea

Re: How to disable a control without changing appearance

2005-12-20 Thread Chris Rogers
Ok. I found the constants in WINUSER.h. On 12/20/05, Chris Rogers [EMAIL PROTECTED] wrote: Cool!! I was unaware of the Hook method. Using what you showed me, I can do away with a lot of code that I used to track the mouse and decide whether ornot it was currently over a control. As well

Re: [aswin32] Re: How to disable a control without changing appearance

2005-12-19 Thread Chris Rogers
On 12/19/05, Lynn. Rickards [EMAIL PROTECTED] wrote: Chris Rogers wrote: Sorry, about the lack of information in my original post.I just assumed, this being a perl-win32 group that Win32::GUI was a given. I'll try to be more specific in the future. I tried $control-Enable(0) but the control still

Re: [aswin32] Re: How to disable a control without changing appearance

2005-12-18 Thread Chris Rogers
12/18/05, Robert May [EMAIL PROTECTED] wrote: Lynn. Rickards wrote: Chris Rogers wrote: I'm looking for a way to disable a control (widget) without changing it's appearance.I would like to be able to do this for any type of control.Any help would be greatly appreciated. Thanks, Chris Tk? Win32? Eit

Re: [aswin32] MDI Windows and Icons

2005-12-17 Thread Chris Rogers
Rob, Thanks for the quick answer. I don't know how I missed the SetIcon method. Thanks also for the info on subclassing. Chris On 12/16/05, Robert May [EMAIL PROTECTED] wrote: Chris Rogers wrote: I have been trying to set an icon for an MDIFrame.I also need to set different icons

How to disable a control without changing appearance

2005-12-17 Thread Chris Rogers
I'm looking for a way to disable a control (widget) without changing it's appearance. I would like to be able to do this for any type of control. Any help would be greatly appreciated. Thanks, Chris ___ Perl-Win32-Users mailing list

Re: reading file info of a ms word document

2005-07-14 Thread Chris Rogers
Check out this webpage, it might help: http://user.cs.tu-berlin.de/~schwartz/pmh/ldat-out.html On 7/14/05, Tom Beissler [EMAIL PROTECTED] wrote: Hi, i am looking for a way to read the extended properties from a MS Winword document such as author, version, or company. Is there any perl module

Re: reading file info of a ms word document

2005-07-14 Thread Chris Rogers
oops... wrong link. sorry On 7/14/05, Chris Rogers [EMAIL PROTECTED] wrote: Check out this webpage, it might help: http://user.cs.tu-berlin.de/~schwartz/pmh/ldat-out.html On 7/14/05, Tom Beissler [EMAIL PROTECTED] wrote: Hi, i am looking for a way to read the extended properties from

Re: reading file info of a ms word document

2005-07-14 Thread Chris Rogers
Perhaps this link: http://user.cs.tu-berlin.de/~schwartz/pmh/ On 7/14/05, Chris Rogers [EMAIL PROTECTED] wrote: oops... wrong link. sorry On 7/14/05, Chris Rogers [EMAIL PROTECTED] wrote: Check out this webpage, it might help: http://user.cs.tu-berlin.de/~schwartz/pmh/ldat-out.html

Re: Problems with Win32::GUI::Brush / Pen

2005-07-12 Thread Chris Rogers
went wrong. As far as I can tell, the second post still hasn't shown up but it probably will. Again, sorry for being impatient. On 7/11/05, Sisyphus [EMAIL PROTECTED] wrote: - Original Message - From: Chris Rogers [EMAIL PROTECTED] To: perl-win32-users@listserv.ActiveState.com Sent

Problems with Win32::GUI::Brush / Pen

2005-07-11 Thread Chris Rogers
I have been playing around with samples/BitmapScroll.pl from the Win32-GUI-1.0 source using perl 5.6 on WinXP SP2. I can't seem to get a Brush or Pen working for me. No matter what I do (so far), the rectangle is drawn with the brush/pen I think I'm specifying. Here's a sample of my broken

Problems with Win32::GUI::Brush and PEN

2005-07-11 Thread Chris Rogers
I have been playing around with samples/BitmapScroll.pl from the Win32-GUI-1.0 source using perl 5.6 on WinXP SP2. I can't seem to get a Brush or Pen working for me. No matter what I do (so far), the rectangle is drawn with the brush/pen I think I'm specifying. The majority of this code is

Re: Win32::GUI::Label, Bitmaps, and Resizing

2005-07-07 Thread Chris Rogers
to be what I was looking for. I'm still working on the details of implementing it and would be glad to hear other suggestions. On 7/6/05, Sisyphus [EMAIL PROTECTED] wrote: - Original Message - From: Chris Rogers [EMAIL PROTECTED] To: Glenn Linderman [EMAIL PROTECTED] Cc: [EMAIL PROTECTED

Re: Win32::GUI::Label, Bitmaps, and Resizing

2005-07-06 Thread Chris Rogers
might be found and responded to faster on the perl-win32-gui-users list on sourceforge.net.] On approximately 7/5/2005 7:19 PM, came the following characters from the keyboard of Chris Rogers: UPDATE: The more I look at this problem, the more worried I get. I'll explain the desired

Re: Win32::GUI::Label, Bitmaps, and Resizing

2005-07-06 Thread Chris Rogers
,$mouseisupy)) . \n; } sub GetMouseXY { my ($x,$y) = $ChildWin-ScreenToClient(Win32::GUI::GetCursorPos); return ($x, $y); } On 7/6/05, Glenn Linderman [EMAIL PROTECTED] wrote: On approximately 7/6/2005 7:52 AM, came the following characters from the keyboard of Chris Rogers: Thanks

Win32::GUI::Label, Bitmaps, and Resizing

2005-07-05 Thread Chris Rogers
Is there a way to keep a label from resizing itself and the bitmap? Here's the scenario: I want to use a label that is 400x400 to hold a bitmap whose dimensions are unknown and use scroll bars to move the image around if the image is larger than the label. The need here is to be able to display

Re: Win32::GUI::Label, Bitmaps, and Resizing

2005-07-05 Thread Chris Rogers
me if I'm crazy but there has to be a way to do this. Thanks, Chris On 7/5/05, Chris Rogers [EMAIL PROTECTED] wrote: Is there a way to keep a label from resizing itself and the bitmap? Here's the scenario: I want to use a label that is 400x400 to hold a bitmap whose dimensions are unknown