Your sample produces the following error for me:
---------------------------
perl.exe - Application Error
---------------------------
The instruction at "0x77c460cb" referenced memory at "0x00000000". The
memory could not be "read". 
Click on OK to terminate the program
Click on CANCEL to debug the program
---------------------------
OK   Cancel   
---------------------------

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Robert May
Sent: Tuesday, July 26, 2005 2:27 PM
To: [EMAIL PROTECTED]
Cc: perl-win32-gui-users@lists.sourceforge.net
Subject: [SPAM] - Re: [win32gui] [perl-win32-gui-users] Thinner width -
Email found in subject


Joe,

A quick sample (minimum complete working code) showing what you've 
tried, and what doesn't work for you  would be really helpful with 
knowing where to start.

Dave posted a really good link to why this is a good idea yesterday:
http://www.catb.org/~esr/faqs/smart-questions.html

If I'm guessing right (and I'm only guessing), then try this:

#!perl -w

use strict;
use warnings;

use Win32::GUI(qw(WS_EX_TOOLWINDOW));

my $mw = Win32::GUI::Window->new(
        -title => "Thin Window",
        -pos => [100,100],
        -size => [100,100],
        -pushexstyle => WS_EX_TOOLWINDOW,
);

$mw->Show();
Win32::GUI::Dialog();
exit(0);
__END__

So long as you can put up with the smaller font in the titlebar, and no 
minimise/maximise buttons.

Rob.


[EMAIL PROTECTED] wrote:
> Hello all,
> 
> Is there anyway to make the width of the window thinner?  The thinnest

> I can make it is around 50, this is a guess, with me typing in a 
> number seeing if it got smaller and then decreasing then number.  I'm 
> trying to create something similar to the MS Office 2000 shortcut bar,

> only better. By better I mean to make it do what I want.  But my 
> problem is that the thinnest window I can make is to thick.
> 
> Thanks,
> Joe
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies

> from IBM. Find simple to follow Roadmaps, straightforward articles, 
> informative Webcasts and more! Get everything you need to get up to 
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Perl-Win32-GUI-Users mailing list 
> Perl-Win32-GUI-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
> 


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users

This email, and any files or previous email messages included with it, may 
contain confidential and/or privileged material. If you are not the intended 
recipient please contact the sender and delete all copies.


Reply via email to