I want to create a window with some information in it that is on a timer. When the timer expires the window is destroyed. However, the .exe that created it will close long befor the window times out.
I think I need to initiate a thread in the .exe. Would this do it?
Then when I try to send a string to the thread I get compile errors:
------------------
Kind Regards
Mike
I think I need to initiate a thread in the .exe. Would this do it?
Then when I try to send a string to the thread I get compile errors:
Code:
FUNCTION ConfirmAction(dStr AS STRING) AS LONG LOCAL Ht AS LONG, hDlg AS LONG Ht = (TALLY(dStr, $CRLF)+1)*9 + 24 DIALOG NEW 0 ,"Compile Information", , , 110, Ht, %WS_POPUP OR %WS_DLGFRAME TO hDlg CONTROL ADD LABEL, hDlg, 110, dStr, 4, 4, 105, Ht-5, CONTROL ADD BUTTON, hDlg, 102, "OK", 35, Ht-18, 40, 16, 1 DIALOG SHOW MODELESS hDlg END FUNCTION '-------------------------------------------------------------- PBMAIN ' ' ' THREAD CREATE ConfirmAction(DisplayStr) TO i ' ' End Function
Kind Regards
Mike
Comment