Thread View: borland.public.cppbuilder.nativeapi
2 messages
2 total messages
Started by Sky
Thu, 03 Apr 2003 06:29
Auto reply a Message box
Author: Sky
Date: Thu, 03 Apr 2003 06:29
Date: Thu, 03 Apr 2003 06:29
8 lines
1305 bytes
1305 bytes
hi all, I want show a message box if a appointed event triggered, but when the message box has been shown for a moment, I want close it automatically. for example: I have show a modal message box with a 'OK' button using API, how to close it by user click 'OK' button or it has shown 2 minutes. Any hint?
Re: Auto reply a Message box
Author: Torsten Franz (TeamBeer)
Date: Thu, 03 Apr 2003 08:40
Date: Thu, 03 Apr 2003 08:40
14 lines
1555 bytes
1555 bytes
Sky wrote: > hi all, I want show a message box if a appointed event triggered, > but when the message box has been shown for a moment, > I want close it automatically. > > for example: > I have show a modal message box with a 'OK' button using API, > how to close it by user click 'OK' button or it has shown 2 minutes. > Any hint? Create your own message box class (derived from TForm for example) which could contain a timer and in the timer event just close the window. Torsten
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads