--- In [email protected], "entropyreduction" <[EMAIL PROTECTED]> wrote:
>
> --- In [email protected], "swzoh" <seanzoh@> wrote:
> >
> > At first, naturally, I tried:
> > "dll.call(?'DeleteObject|ui',"++hFont++")"
> > 
> > It didn't work...
> 
> Interesting. 
> 
> I'll look into it when I get time.
> 
> Save me some time and post me sample script in which it don;t work?
> 
> Will save me the trouble of building a test script.

Here is the one:

-------------------------------------------------------------------
local hDlg, hFont

hFont=dll.call("CreateFont|i i i i i ui ui ui ui ui ui ui ui s ui",;;+
-19,0,0,0,700,0,0,0,0,0,0,0,0,"Courier New")

hDlg=dialog.define(0,0,xscreen/2,22/2,"","c nodlgframe",;;+
"","","",?'dll.call("DeleteObject|ui",'++hFont++")")

hDlg.define_control(0,0,xscreen/2,22/2,"editbox","runbox","",;;+
"c autohscroll","","","",0xFF00FF,0x00FF00)
hDlg.run

hDlg.get_handle("runbox").SendMessage(48,hFont,0)

dll.call("shlwapi|SHAutoComplete|ui ui",hDlg.get_handle("runbox"),0xF)
quit
--------------------------------------------------------------------

When I close the dialog by Alt+F4, the error message is:

Cannot access script file dll.call("DeleteObject|ui",###)

Sean






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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/power-pro/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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