I would be ever so grateful if you would have a look at this test 
button and menu. In a couple menu items, I am trying to tile the 
active window with Notepad (The button is a caption button; the 
option appears on the caption button-menu from quasi high level 
windows that are not Notepad) Notepad must be also be open and not 
minimized to have the option). Such as I have it, it tiles the 
active window with all Notepad windows. I really only want to tile 
with NPHan. In my real application I'm tiling with a Delphi app, but 
I thought it might be easier to experiment with something simpler 
which every has (notepad).

And you can see the Untiling I did.

http://groups.yahoo.com/group/power-pro/files/0_TEMP_/HandleIssue.zip

Thanks in advance,
Sheri

--- In [email protected], sgp <[EMAIL PROTECTED]> wrote:
>
> 
> I had better luck using the exec.tile() syntax - maybe this 
example can help:
> 
> ;: arg(1) = window handle
> ;: arg(2) = mode (c=columns, t=tiles, r=rows)
> ;: ~~~
> 
> @TileWindowClass
> args handle mode
> local hl=win.handlelist("c="++win.class(handle))
> exec.tile("w"++mode, "c="++win.class(handle))
> for(local i=word(hl,0); i>0; i=i-1)
>   win.showNA(word(hl,i)) ;; actually I use .showNA script
> endfor
> quit
>







Attention: PowerPro's Web site has moved: http://www.ppro.org 
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