Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Problem with show dialog box window.

Problem with show dialog box window.

Scheduled Pinned Locked Moved Visual Basic
questionhelp
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Pankaj Garg
    wrote on last edited by
    #1

    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.

    D 1 Reply Last reply
    0
    • P Pankaj Garg

      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.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      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

      P 1 Reply Last reply
      0
      • D Dave Kreskowiak

        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

        P Offline
        P Offline
        Pankaj Garg
        wrote on last edited by
        #3

        Dave, At which point u find the problem in understanding the question? Thanks

        D 1 Reply Last reply
        0
        • P Pankaj Garg

          Dave, At which point u find the problem in understanding the question? Thanks

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          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, 2008

          modified on Monday, March 9, 2009 3:11 PM

          P 1 Reply Last reply
          0
          • D Dave Kreskowiak

            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, 2008

            modified on Monday, March 9, 2009 3:11 PM

            P Offline
            P Offline
            Pankaj Garg
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups