vb.net keep focus on panel
Posted on 2009-06-27
I have written a control which is a message box, the message box IS NOT a form it is a panel with controls contained inside.
What is the best way to prevent focus change when i show the message box?, i know there are other ways to achieve this on the desktop but i am using windows mobile for this project.
In effect i want to show the panel that has 3 buttons and make the sub routine wait until the user has made a selection, also i need to stop the user from pressing buttons in the background behind the panel (message box)
I am using VB2005 with CF2.