Thanks Mike

        As a matter of interest, what are the important differences between
        a Dialog Box and a Window ? Can they pretty much be used
        interchangeably?
        I notice also that if I drop the 1024 from the options it still
works
        (ie no resizing allowed) so maybe it's the WS_BORDER that
        does the trick.

        Barry

> -----Original Message-----
> From: Mike Blazer [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, March 26, 1999 4:58 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: [perl-win32-gui] Window Question
> 
> O'Sullivan, Barry A wrote:
> > 
> >         Hi All
> > 
> >         From playing around and looking through some of the
> >                 samples, it turns out that this following style option
> >         will create a Window with cannot be resized.
> > 
> >         -style    => 1024 | WS_BORDER | WS_CAPTION | WS_SYSMENU |
> > WS_MINIMIZEBOX | WS_MAXIMIZEBOX,
> > 
> >         I don't know what the 1024 does but it works..
> > 
> >         Enjoy the weekend everybody and again if anybody wants
> >         to post samples etc that would be nice for us beginners :>)
> 
> Thanks Barry!
> 
> Your 1024 is
> DS_CONTROL          0x0400L
> 
> so this also is not a window but dialog box
> -- 
> ==================================
> Mike Blazer
> [EMAIL PROTECTED]
> http://www.dux.ru/guest/fno/perl/
> ==================================

Reply via email to