--- In [EMAIL PROTECTED], Alex Peters <[EMAIL PROTECTED]> wrote:
> Hi guys,
> 
> If a command list by the name of HookWindowEvents exists, then that
> command list is called with four arguments, the fourth of which
> (Arg(4)) contains the caption of the window in question.
> 
> With standard configuration in use though, it doesn't appear that the
> backslashes in the caption are properly escaped.
> 
> I have a window with a caption �Ԥ��Ĥ�he Thi\ng&#65533;, and my HookWind=
owEvents
> command is set to:
> 
> Win.Debug(Arg(4))
> 
> This returns �Ԥ��Ĥ�he Thig&#65533;.
> 
> PowerPro's configuration window returns this:
> 
> Configure Windows PowerPro - C:Program FilesPowerPropprocon
> 
> Note the lack of backslashes and also the lack of �Ԥ��Ť�.pcf&#65533; at=
 the end.
> I'm not sure whether this is a Debug window limitation or whether the
> caption is actually being truncated, but I'm suspecting the latter.

Hi, Alex.

You're right, the caption is indeed truncated, when the window is
newly created or activated.
However, it shows the "full caption" when the window is destroyed.

But, I can't test the missing of "\" atm, since
my configuration file is called with "/", I mean, I start PP with
"C:/powerpro/powerpro.exe C:/pproconf/pproconf.pcf"
On the other hand, I found a strange thing here.
I tried the following to test the missing of "\"
pprofolder = replacechars(pprofolder,?"/\")
expecting the caption will change accordingly, but I was wrong.

I believe it was indeed changed accordingly in the past, but not any
more. Now the caption seems to be hard-coded from the startup
parameter. However, in the past, the caption was written down
using, kind of, "pprofolder++pcfname", I believe.

I don't know exactly when this was changed, but it might be with
the introduction of the new keyword "pcfname".
Anyway, it seems a bit inconvenient, at least to me.



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to