Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #70219

Re: popup with timeout question

From T <T@invalid.invalid>
Newsgroups comp.lang.c++
Subject Re: popup with timeout question
Date 2019-12-03 14:14 -0800
Organization A noiseless patient Spider
Message-ID <qs6mo7$a5j$1@dont-email.me> (permalink)
References <qs4q9c$ghd$1@dont-email.me> <f4hduepelum48hc0nnvug6kg5uj3kph4rg@4ax.com>

Show all headers | View raw


On 2019-12-03 12:28, Geoff wrote:
> On Mon, 2 Dec 2019 21:02:35 -0800, T <T@invalid.invalid> wrote:
> 
>> Hi All,
>>
>> I write in Perl6.  I wrote a module to give me a pop up
>> in Windows to send information to the user.  It uses
>> a native call and I do believe it is a C++ call, but I
>> really don't know what I am doing when it comes to
>> anything C.
>>
>> Do any of you guys know how to add a time out to the
>> pop up?  I do believe it would be in the choice of the
>> constants.
>>
>> Many thanks,
>> -T
>>
>>
> 
> There is no provision for a timeout in any message box in Windows.
> However, you can probably use SetTimer in the initialization of the
> message box with a pointer to a TimerProc and when the timer expires
> the TimerProc function can send a WM_COMMAND message to the message
> box.
> 

That explains it.  Thank you!

I am spoiled by Linux's send-notify.

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

popup with timeout question T <T@invalid.invalid> - 2019-12-02 21:02 -0800
  Re: popup with timeout question Paavo Helde <myfirstname@osa.pri.ee> - 2019-12-03 10:13 +0200
    Re: popup with timeout question T <T@invalid.invalid> - 2019-12-03 01:17 -0800
  Re: popup with timeout question "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2019-12-03 11:08 +0100
    Re: popup with timeout question T <T@invalid.invalid> - 2019-12-03 03:06 -0800
  Re: popup with timeout question Geoff <geoff@invalid.invalid> - 2019-12-03 12:28 -0800
    Re: popup with timeout question T <T@invalid.invalid> - 2019-12-03 14:14 -0800
      Re: popup with timeout question Geoff <geoff@invalid.invalid> - 2019-12-04 01:19 -0800
        Re: popup with timeout question T <T@invalid.invalid> - 2019-12-10 04:07 -0800

csiph-web