09-21-2006, 07:13 PM
Change Curtain code so that it would return curtain window handle.
To replace code, go to System folder properties and uncheck 'read-only'. After replacing, export-replace System folder.
This change will be in next QM release.
To close curtain window, use DestroyWindow. Example:
;/
function# [$text]
;Covers screen while macro is running.
;Returns curtain window handle.
;On Win98/Me, mouse commands will not work, because the
;curtain window is not transparent to mouse messages.
opt waitmsg 2
str controls="0"
str f=iif(len(text) text "Please wait ...")
ret ShowDialog("Curtain_dlg" &Curtain_dlg &controls 0 1)
To replace code, go to System folder properties and uncheck 'read-only'. After replacing, export-replace System folder.
This change will be in next QM release.
To close curtain window, use DestroyWindow. Example: