David,
Yes, exactly - a WAIT WINDOW NOWAIT. And I think you are right about the separate thread, I had simply never worked with it before, but will play around with it.
And yes, any code you can dig up would be appreciated. I can certainly message in the status bar, but I like the on-screen window messaging for some actions!
>I assume you mean the wait window nowait feature? The regular wait window should be easy.
>
>I was toying with the idea of creating a wait window .net but never got around to implementing it correctly. The problem is that the wait window needs its own message loop for processing windows messages. I think you need to use muti-threading to make it work. Meaning you need to use Thread.Start or create a delgate and use the BeginInvoke method of the delegate. I'll see if I can dig up my old code.
>
>>I'm trying to simulate a WAIT WINDOW function in VB.Net, so I have created a small non-modal form with one label on it to hold the message. I pass the text message to show as a parameter, but the message does not appear. I have tried form.Refresh(), Form.Invalidate(), change the label to a textbox and many other methods to force the message to be painted, all without success. It does "flash" for moment just as the form is reactivated before it is closing.
>>
>>What am I missing here? I just want an on-screen message without waiting for user input that I can later close after processing is complete.
>>
>>Anyone know the technique I need to use?
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only