Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hiding screen activities with a "curtain" for bett
#1
In many programs with macro languages, I can hide the activities of what is happening with a screen that says something like, "Please Wait". This makes it so that the user does not see things jumping all over the place. Is it possible to do something like that? It can make things look less "Klugey"

Thanks...Craig
#2
Could you display a really large dialog with please wait in the middle?
#3
Yes, but mouse commands then cannot be used.
#4
I haven't had a chance to try this out. But, Gintaras, by specifically referring to mouse commands NOT being available for use, are you implying that keystroke commands COULD continue to be executed even as the dialog box remained on the screen? C
#5
Yes.

Function Curtain:

Code:
Copy      Help
;\Dialog_Editor
function# [hDlg] [message] [wParam] [lParam]
if(hDlg) goto messages

BlockInput 1
opt waitmsg 2
if(!ShowDialog("Curtain" &Curtain 0 0 1)) ret

;BEGIN DIALOG
;0 "" 0 0x88 0 0 227 154 "Please wait ..."
;END DIALOG
;DIALOG EDITOR: "" 0x2010505 "*" ""


ret
;messages
sel message
,case WM_INITDIALOG
,DT_Init(hDlg lParam)
,SetWindowPos hDlg HWND_TOPMOST 0 0 ScreenWidth ScreenHeight SWP_SHOWWINDOW|SWP_NOACTIVATE

Example macro:

Code:
Copy      Help
Curtain
rep 5
,key " kkk"
,1


Forum Jump:


Users browsing this thread: 1 Guest(s)