[perl-win32-gui-users] RE: communication between GUI scripts

2002-07-15 Thread Straub, Peter (Peter)
Hi,

Kevin and Scott thank you very much for your replies.
It seems to be very hard to combine the IPC stuff with
the GUI event model, at least with regard to the means
Win32::GUI offers.
Receiving user defined events seems to be the main
problem because there is no suitable access to the
main event loop that I am aware of.
And I can't think of a sensible way to call PeekMessage
in a second application (except from scattering calls
all over the code).

The solution I am going to use is a very ugly one:
In both applications I set up a timer to trigger a
timer event. This event is used to check for incoming
messages in a file.

Cheers,
Peter



[perl-win32-gui-users] RE: textfield prompt color

2002-07-15 Thread Rogers, John
Scott,

It dosnt seem like anyone has answered you yet, so here goes,

1) define Textfield, or label colour.
-foreground =>[ 0, 0, 255] ,
-background =>[0,255,0],

0 to 255 red,green,blue

2) you can get the handle with  -handle eg
$handle=$winMain->lblname()->{-handle});

JohnR






From: Scott Wildenberg <[EMAIL PROTECTED]> 
 textfield prompt color   
2002-07-10 07:14  
 
 
 How would I set the background color for a textfield prompt label or in a
 checkbox label? I can see how I might be able to set it if I could get the
 handle for that label, but I can't figure out how I would do that either.
 Is there a way to get the handle for a control that you have a name for but
 that you don't have a reference for?



## 
Disclaimer 

If this e-mail has been sent to you in error, please notify 
Océ-Australia Limited immediately and delete this e-mail from 
your system. 

Any views expressed in this e-mail are those of the individual 
sender and may not necessarily reflect the views of 
Océ-Australia Limited. 
##