
Ich möchte einen Dialog "Bitte warten..." anzeigen sobald der Benutzer auf einen Button klickt!
Der Button hat folgende Events:
Posted 25 June 2008 - 17:58
CODE |
DoAction WaitAction 1 SpawnWaitDialog WaitDialog DoneWithAction |
CODE |
Delay(5); MsiSetProperty(hMsi, "DoneWithAction", "X"); |
Posted 26 June 2008 - 13:34
Posted 26 June 2008 - 13:53
Posted 26 June 2008 - 14:56
Posted 27 June 2008 - 10:48
CODE |
function INT showWaitDialog(hMsi) begin SdShowMsg("showWaitDialog",TRUE); Delay(8); SdShowMsg("showWaitDialog",FALSE); return ERROR_SUCCESS; end; |
Edited by Michael.Hu, 27 June 2008 - 10:48.
Posted 27 June 2008 - 12:24
QUOTE |
function showWaitDialog(hMsi) HWND nHwnd; NUMBER nlParam; begin nHwnd=GetWindowHandle(HWND_INSTALL); SendMessage (nHwnd, WM_SYSCOMMAND, SC_MINIMIZE, nlParam); SdShowMsg("showWaitDialog",TRUE); Delay(3); SdShowMsg("showWaitDialog",FALSE); SendMessage (nHwnd, WM_SYSCOMMAND, SC_RESTORE, nlParam); end; |
Edited by felltier-a, 27 June 2008 - 12:26.
Posted 27 June 2008 - 13:31