Rob,

I didn't really have any code yet, I was first trying to make the window
the right size and it didn't work.  Your answer worked, adding '
-pushexstyle => WS_EX_TOOLWINDOW' got the window to the right size that I
wanted.

Thank you,
Joe



Joseph Vieira
CIO IT Support
FUJITSU CONSULTING
Phone:    (732) 549-4100 ext (8657)
Email:  [EMAIL PROTECTED]



                                                                           
             Robert May                                                    
             <[EMAIL PROTECTED]                                             
             lara.co.uk>                                                To 
             Sent by:                  [EMAIL PROTECTED] 
             perl-win32-gui-us         m                                   
             [EMAIL PROTECTED]                                          cc 
             ourceforge.net            [EMAIL PROTECTED] 
                                       rge.net                             
                                                                   Subject 
             07/26/2005 04:27          Re: [win32gui]                      
             PM                        [perl-win32-gui-users] Thinner      
                                       width                               
                                                                           
             Please respond to                                             
             [EMAIL PROTECTED]                                             
                 ara.co.uk                                                 
                                                                           
                                                                           




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



Reply via email to