I don't know why this doesn't work for some windows properties but it does
for others, but here is an idea of what you want to do:

$MainWindow->{-left} = 30;

This will move the window to the position 30 pixels from the left side of
the screen.  i couldn't get this to work for a window using the -topmost =>
1 option or using -addexstyle => WS_EX_TOPMOST but maybe I am way off on
this one.

Jonathan Southwick
[EMAIL PROTECTED]


----- Original Message -----
From: "Jeremy Blonde" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 15, 2000 1:31 PM
Subject: Re: [perl-win32-gui] Changing the font size


> And to go along with that..
>
> Is there a way to change the properties of a window
> after it has been created?  I'd like to be able to
> allow -topmost to be turned on and off.  I can get it
> to work if I re-create the window, but I'd like to
> avoid doing that if possible.
>
> Also is there a way to set the checkmark for menu
> items after the menu has been created?  Again, I can
> get it to work if I re-create the window.
>
> Thanks,
> Jeremy Blonde
>
> --- Sean Healy <[EMAIL PROTECTED]> wrote:
> > Here's something else I couldn't find in the
> > archives:
> >
> > Is it possible to change the size in a font object?
> > I've tried using the
> > Change method to change the size and then resetting
> > the font using the
> > SetFont method, but it doesn't work.  I don't want
> > to create a whole bunch
> > of font objects just so I can have different sizes,
> > but that may be the only
> > solution.  Any ideas?
> >
> _________________________________________________________________
> > Get your FREE download of MSN Explorer at
> > http://explorer.msn.com
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.
> http://shopping.yahoo.com/
>

Reply via email to