If I'm not mistaken, it should be like this:
$ModuleWindow->{-title} = "New Title";
Jeremy Blonde
[EMAIL PROTECTED]
--- christopher sagayam <[EMAIL PROTECTED]>
wrote:
>
> how to set the name of a dialog box dynamically ?
>
> $ModuleWindow = new Win32::GUI::DialogBox(
> -title => "old title",
> -left => 100,
> -top => 110,
> -width => 500,
> -height => 400,
> -name => "ModuleWindow",
> -style => WS_BORDER
> | DS_MODALFRAME
> | WS_POPUP
> | WS_CAPTION
> | WS_SYSMENU,
> -exstyle => WS_EX_DLGMODALFRAME
> | WS_EX_WINDOWEDGE
> | WS_EX_CONTEXTHELP
> | WS_EX_CONTROLPARENT,
>
> );
>
>
> I need to do
>
> $ModuleWindow->title("new title");
>
>
>
>
> chris
>
>
>
>
>
_________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at
> http://mail.yahoo.com
>
>
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> [email protected]
>
http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/