Problem with show dialog box window.
-
I have a menu item control. Which has four buttons.On clicking each button show the window, except the one button, which shows the show dialog windows. After opening all windows other then show dialog window, and finally opening the show dialog window, I changes the windows states for all(i.e minimizing all windows.) Now I am opening a window other then the show dialog window, by clicking the mouse on it(because this is presently in minimized mode). Now I am unable to perform any action in this window. My Question is , How should i bring the opened show dialogbox window in front of this non show dialog box window? So as to alert the user, to first perform any action on th show dialog box.
-
I have a menu item control. Which has four buttons.On clicking each button show the window, except the one button, which shows the show dialog windows. After opening all windows other then show dialog window, and finally opening the show dialog window, I changes the windows states for all(i.e minimizing all windows.) Now I am opening a window other then the show dialog window, by clicking the mouse on it(because this is presently in minimized mode). Now I am unable to perform any action in this window. My Question is , How should i bring the opened show dialogbox window in front of this non show dialog box window? So as to alert the user, to first perform any action on th show dialog box.
Your question is difficult to understand, but I'm going to take a stab and say that you might have to set the
TopMost
property of your dialog window to True before you show it.A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
Your question is difficult to understand, but I'm going to take a stab and say that you might have to set the
TopMost
property of your dialog window to True before you show it.A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008Dave, At which point u find the problem in understanding the question? Thanks
-
Dave, At which point u find the problem in understanding the question? Thanks
Beginning to end. It's not your English that has the problem. Most of your description makes assumptions that the reader knows exactly what you're talking about at all times without you explaining or assigning concrete references to objects and concepts.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008modified on Monday, March 9, 2009 3:11 PM
-
Beginning to end. It's not your English that has the problem. Most of your description makes assumptions that the reader knows exactly what you're talking about at all times without you explaining or assigning concrete references to objects and concepts.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008modified on Monday, March 9, 2009 3:11 PM
Dave, How are you? :) ok, No Problem. Sorry for not coming back in time. Now, I am explaining the whole process again. I have a form. In this form, I have a menu control, this menu control has four buttons. On clicking the first three buttons, open the window with Show() event. and the fourth button open the screen with ShowDialog() Now, One by one I am clicking the button , so finally i have now four windows of this application.(Three with Show() and one with ShowDialog()) Right? Now I am minimizing all the windows with the help of Window + D Button. After this, If I use the keyboard(Alt+ Tab) keys. This is opening the showDialog window on top because , As suggested by you , I changed the TopMost = True for this showDialog window. Now I come back to my problem. Again, All the windows are minimized. In the taskbar and Startmenu properties , I have selected the Group Similar Taskbar buttons This resulted in the heap of my application windows, one on the other. I hope you have understood this point. By doing this , same kind of windows lie one on the other. Now i click on one of my application window , and If I click the window other then the Show Dialog opened Window, this is not bringing the show dialog window to topMost. This is the problem. Please let me know if you still face any problem in understanding the question. Thanks and Regards Pankaj
modified on Wednesday, March 11, 2009 1:58 AM