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. C / C++ / MFC
  4. wait for more than 5 seconds on a custom combobox dropdown list control causes win32 C++ application hangs in Windows7

wait for more than 5 seconds on a custom combobox dropdown list control causes win32 C++ application hangs in Windows7

Scheduled Pinned Locked Moved C / C++ / MFC
c++help
8 Posts 5 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.
  • V Offline
    V Offline
    Virendra_ec10
    wrote on last edited by
    #1

    I have a win32 application in that on EditMolecule Dialog there are three tab controls.First tab control opens atom dialog. On atom dialog, there is a custom combobox control, while user clicks on the dropdownlist of this control and waits for more than 5 seconds(in Windows7),the EditMolecule window becomes nonresponsive. The same application works well in windows xp. Can anyone please suggest the solution to this problem. Thanks in advance.

    P _ D S 4 Replies Last reply
    0
    • V Virendra_ec10

      I have a win32 application in that on EditMolecule Dialog there are three tab controls.First tab control opens atom dialog. On atom dialog, there is a custom combobox control, while user clicks on the dropdownlist of this control and waits for more than 5 seconds(in Windows7),the EditMolecule window becomes nonresponsive. The same application works well in windows xp. Can anyone please suggest the solution to this problem. Thanks in advance.

      P Offline
      P Offline
      pasztorpisti
      wrote on last edited by
      #2

      Your program has a platform specific bug somewhere and you have to debug it. The info you provided is far less than what needed to find the bug. This bug can be anywhere in your program maybe it isn't gui related at all.

      1 Reply Last reply
      0
      • V Virendra_ec10

        I have a win32 application in that on EditMolecule Dialog there are three tab controls.First tab control opens atom dialog. On atom dialog, there is a custom combobox control, while user clicks on the dropdownlist of this control and waits for more than 5 seconds(in Windows7),the EditMolecule window becomes nonresponsive. The same application works well in windows xp. Can anyone please suggest the solution to this problem. Thanks in advance.

        _ Offline
        _ Offline
        _AnsHUMAN_
        wrote on last edited by
        #3

        may be a memory leak... Try profiling your application for memory leaks use windbg to point the hangs

        You talk about Being HUMAN. I have it in my name AnsHUMAN

        S V 2 Replies Last reply
        0
        • V Virendra_ec10

          I have a win32 application in that on EditMolecule Dialog there are three tab controls.First tab control opens atom dialog. On atom dialog, there is a custom combobox control, while user clicks on the dropdownlist of this control and waits for more than 5 seconds(in Windows7),the EditMolecule window becomes nonresponsive. The same application works well in windows xp. Can anyone please suggest the solution to this problem. Thanks in advance.

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          Virendra_ec10 wrote:

          ...while user clicks on the dropdownlist of this control and waits for more than 5 seconds(in Windows7),the EditMolecule window becomes nonresponsive.

          So are you handling one of the CBN_xxx notifications?

          "One man's wage rise is another man's price increase." - Harold Wilson

          "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

          "Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous

          V 1 Reply Last reply
          0
          • _ _AnsHUMAN_

            may be a memory leak... Try profiling your application for memory leaks use windbg to point the hangs

            You talk about Being HUMAN. I have it in my name AnsHUMAN

            S Offline
            S Offline
            Stephen Hewitt
            wrote on last edited by
            #5

            It may be leaky, but that (if it's the case) doesn't sound like the problem.

            Steve

            1 Reply Last reply
            0
            • V Virendra_ec10

              I have a win32 application in that on EditMolecule Dialog there are three tab controls.First tab control opens atom dialog. On atom dialog, there is a custom combobox control, while user clicks on the dropdownlist of this control and waits for more than 5 seconds(in Windows7),the EditMolecule window becomes nonresponsive. The same application works well in windows xp. Can anyone please suggest the solution to this problem. Thanks in advance.

              S Offline
              S Offline
              Stephen Hewitt
              wrote on last edited by
              #6

              As always, you need to know what's going. To find out wait for the app to hang, break into it with a debugger and get you some stack traces. Do the UI thread first.

              Steve

              1 Reply Last reply
              0
              • _ _AnsHUMAN_

                may be a memory leak... Try profiling your application for memory leaks use windbg to point the hangs

                You talk about Being HUMAN. I have it in my name AnsHUMAN

                V Offline
                V Offline
                Virendra_ec10
                wrote on last edited by
                #7

                we are not able to reproduce the issue using windebug. The debugger is not breaking. Could you please suggest what can be the possible reason, because after attaching the process to debugger the issue is not reproducible.

                1 Reply Last reply
                0
                • D David Crow

                  Virendra_ec10 wrote:

                  ...while user clicks on the dropdownlist of this control and waits for more than 5 seconds(in Windows7),the EditMolecule window becomes nonresponsive.

                  So are you handling one of the CBN_xxx notifications?

                  "One man's wage rise is another man's price increase." - Harold Wilson

                  "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                  "Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous

                  V Offline
                  V Offline
                  Virendra_ec10
                  wrote on last edited by
                  #8

                  since it is a custom combobox control, I am not getting the notification message in the wndproc.

                  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