Re: dialog box at sign in...anyone know of a component to do this




"Ed" <ebrazell@xxxxxxxxxxxx> wrote in message
news:479f4a23@xxxxxxxxxxxxxxxxxxxxxxxxx

I have a service app that runs on a pc and at 5:00pm I want
to open a dialog box that reminds them not to turn off their
pc tonight.

For simple message boxes, you could call the Win32 API MessageBox() function
specifying the MB_SERVICE_NOTIFICATION flag. To expand on that, you could
call it in a worker thread so the rest of the service code is not blocked,
and have that thread monitor the system time and close the message box when
needed.


Gambit


.