G
glenhong
Im trying to display a popup window (similar to a context menu) and
return a result from the selection. I want to do this as a modal popup
ie. The code runs and displays the popup but pauses until the window
is closed and then returns the result very similar as to ShowDialog()
on the form class.
The popup window is a 3rd party control which I hope to wrap up in
another class. I have tried using threads but have been unsuccesful,
the main problem being I block the UI thread which is no good.
Any help aprreciated.
return a result from the selection. I want to do this as a modal popup
ie. The code runs and displays the popup but pauses until the window
is closed and then returns the result very similar as to ShowDialog()
on the form class.
The popup window is a 3rd party control which I hope to wrap up in
another class. I have tried using threads but have been unsuccesful,
the main problem being I block the UI thread which is no good.
Any help aprreciated.