Re: Question about changing windows titles please

From: Dmitry Karasik <dmitry_at_karasik.eu.org>
Date: 13 Aug 2004 10:38:45 +0200
To: prima_at_prima.eu.org

        Hi Teo!

On 12 Aug 04 at 17:10, "Teo" (Teo Sankaro) wrote:

>> And I was wondering if there were some way you could use Prima to start
>> up a compiled Windows program in a manner that would be perfectly
>> normal except that the window would have a different title (in the blue
>> bar on the top). As always, thank you for answering my questions.

 Teo> Joel - I looked in the Prima source, and while Dmitry has given us
 Teo> some platform-specific functionality, this does not appear to be part
 Teo> of it. However, I whipped up a little something that can change the
 Teo> name after the called program is started, using Win32::API. You need
 Teo> to know what the original text is for this to work. I don't know how
 Teo> to get the windows process ID for a windows process started this way,
 Teo> but if we had that, I'm sure there's a way to get the window handle
 Teo> from the process ID.

Yes, as far you're talking about an arbitrary Windows program, Prima is
not really the tool to use.

-- 
Sincerely,
	Dmitry
--- www.karasik.eu.org ---
Received on Fri 13 Aug 2004 - 10:38:50 CEST

This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2011 - 18:35:05 CET