Hi there!

I've just a little question about the messagebox's icon on the titlebar.

When I display a messagebox, this one don t have the main window's
icon on the titlebar. I made some tests but in all cases, I still
don't have the good icon (i just have the default icon, a white
rectangle..). This is my win32 initialisation script for the icon:
my $icon = new GUI::Icon(PerlApp::extract_bound_file(API_ICON));
$Window->ChangeIcon($icon);
$Window->ChangeSmallIcon($icon);
$Window->SetIcon($icon, 0);
$Window->SetIcon($icon, 1);

And I display the messagebox like that:
Win32::GUI::MessageBox($Window->{-handle}, "...", "$NAME", MB_OK |
MB_ICONHAND | MB_SYSTEMMODAL);


I've search on the perl-win32-gui-users Archives but I don't found
anything.. Does anyone can help me?


Thanks and have a good day!

Reply via email to