I haven't because I haven't ... I mean, I haven't come across this
phenomenon because I haven't used my Win32-GUI apps on a terminal server.
But I found that where I use graphical thingies, they also vanish by
minimizing/maximising and if another window happens to fly by, it wipes them
away and all that. What I do to get around that is use InvalidateRect on the
window, e.g.

$Main->InvalidateRect ($Main->GetClientRect (), 0);

maybe you'd have to work Paint events by subclassing a DC object and all
this stuff, and maybe you'll need to intercept GetFocus and BringToFront and
that stuff to know when to fire InvalidateRect. And maybe it doesn't work
for you at all :-$

Have fun,
Harald

-----Original Message-----
From: Joseph H. Schwendt II [mailto:[EMAIL PROTECTED]
Sent: Monday, July 22, 2002 21:40
To: perl-win32-gui-users@lists.sourceforge.net
Subject: [perl-win32-gui-users] Windows Terminal Server in Application
mode Refresh problems


Hello,

I'm having an issue where my application runs just fine on a Windows 
2000 Terminal Server via the WinXP RDP client from Microsoft when the 
server is in administration mode, but when the server is put into 
application mode, my application doesn't draw any controls in the 
window.  In fact, the only way I can get elements to appear is to click 
on them.  I have tried refreshing the display with no effect.  
Minimize/Maximize also doesn't work.  The window itself appears, but 
the controls do not until they are used.  Has anyone else seen such 
behavior?  It's quite strange and it preventing my application's use on 
several servers.

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


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users

Reply via email to