[perl-win32-gui-users] WinXP draw/redraw issues with Win32::GUI

2003-01-07 Thread Joseph H. Schwendt II
I'm experiencing draw/redraw issues with an application I wrote using 
Win32::GUI.  I initially wrote the application on Windows 2000, and 
the application appears correctly as expected.  When I migrated to 
Windows XP, all of the background turned white from grey, except the 
label controls, which were still white.  Essentially, the app looked 
ugly.  Has anyone else experienced this and if so, is there a 
workaround?  

I also have several reports from people where the application doesn't 
draw any of the controls.  It's just a white screen.  I can provide 
screenshots if necessary to illustrate this condition.  Keep in mind 
that the controls are there, and I can blindly click on them, and type 
in them, but the controls are not displayed.  I've even tried minimize 
and restore to force a refresh, but it's no help.

Is anyone aware of changes Microsoft might have made in the GUI API 
that could cause this?  Is anyone else having issues with their apps 
on WinXP?  Any help appreciated.

Thanks,
Joe.

-
Joseph H. Schwendt II
http://schwendt.com
[EMAIL PROTECTED]



[perl-win32-gui-users] cmd window when executing a perl skript

2003-01-07 Thread johannes huettemeister
HI,

im totally newbie to Win32::GUI. So maybe one very foolish question: when i 
execute one of the sample skripts included, I always get the command.exe window 
(msdos-box formerly i guess).
Is there a way to avoid this?
Im really no windows expert, but since I got to use it at work, I need to run 
perl with windows.
cheers Johannes.


Re: [perl-win32-gui-users] cmd window when executing a perl skript

2003-01-07 Thread Erick Bourgeois
Johannes,

Try, maybe this:

# Create window
my $window = new GUI::Window( # __options___
);

# Add some controls to window

#Grab DOS window handle
my $DOS = Win32::GUI::GetPerlWindow();

# Hide DOS window
Win32::GUI::Hide($DOS);

# Show window
$window->Show();
Win32::GUI::Dialog();

#__more_code__

# Remeber to show the dos window 
# when your script is finished
Win32::GUI::Show($DOS)


Regards,

[ erick ]

On Tue, 7 Jan 2003 21:57:26 +0100
[EMAIL PROTECTED] (johannes huettemeister) wrote:

> HI,
> 
> im totally newbie to Win32::GUI. So maybe one very foolish question: when i 
> execute one of the sample skripts included, I always get the command.exe 
> window (msdos-box formerly i guess).
> Is there a way to avoid this?
> Im really no windows expert, but since I got to use it at work, I need to run 
> perl with windows.
> cheers Johannes.
>