wait for more than 5 seconds on a custom combobox dropdown list control causes win32 C++ application hangs in Windows7
-
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.
-
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.
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.
-
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.
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
-
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.
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
-
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
It may be leaky, but that (if it's the case) doesn't sound like the problem.
Steve
-
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.
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
-
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
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.
-
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
since it is a custom combobox control, I am not getting the notification message in the wndproc.