Dialog box gets hanged..
-
Dear all, In my program we have written code to download folders from the server to the PC,When the downloading process is started my dialog box disappears.Actually we have 3 dialog boxes and all these 3 boxes are loaded once our application starts and each and every time when i want a window the corresponding window is hide and displayed using FindWindow() and ShowWindow()... What can be the problem Plz anyone help me... Kind regards anitha
-
Dear all, In my program we have written code to download folders from the server to the PC,When the downloading process is started my dialog box disappears.Actually we have 3 dialog boxes and all these 3 boxes are loaded once our application starts and each and every time when i want a window the corresponding window is hide and displayed using FindWindow() and ShowWindow()... What can be the problem Plz anyone help me... Kind regards anitha
:confused: :wtf: Read what you've written and see if you think it makes sense. The only thing clear is that you have three dialog boxes. I cannot figure out whether you want them hidden or shown and whether the use of
FindWindow()
is part of the problem or the solution."It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown -
:confused: :wtf: Read what you've written and see if you think it makes sense. The only thing clear is that you have three dialog boxes. I cannot figure out whether you want them hidden or shown and whether the use of
FindWindow()
is part of the problem or the solution."It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknownwe have 3 dialog boxes and all these 3 boxes are loaded once our application starts and each and every time when i want a window the corresponding window is found using FindWindow() and displayed using ShowWindow()...In one of the dialog when we click a button it starts downloading the files from the server. When it is downloading i need a progress bar to be ruuning in my dialog box. But in my code the dialog box disappears. Please help me to know what can be the problem why the dialog box disappears when the it starts downloading..
-
we have 3 dialog boxes and all these 3 boxes are loaded once our application starts and each and every time when i want a window the corresponding window is found using FindWindow() and displayed using ShowWindow()...In one of the dialog when we click a button it starts downloading the files from the server. When it is downloading i need a progress bar to be ruuning in my dialog box. But in my code the dialog box disappears. Please help me to know what can be the problem why the dialog box disappears when the it starts downloading..
1. Why do you load all the 3 dialog boxes when your application starts? Can't you just show it when required (with
DoModal()
?) 2. Why are you usingFindWindow()
andShowWindow()
at all? Are the dialogs hidden? Or is it that all dialogs are just shown on the screen? That would be really bad. 3. Your dialog box disappears when a download starts? Can you show that relevant piece of code? Relevant code only, please.It is a crappy thing, but it's life -^ Carlo Pallini
-
1. Why do you load all the 3 dialog boxes when your application starts? Can't you just show it when required (with
DoModal()
?) 2. Why are you usingFindWindow()
andShowWindow()
at all? Are the dialogs hidden? Or is it that all dialogs are just shown on the screen? That would be really bad. 3. Your dialog box disappears when a download starts? Can you show that relevant piece of code? Relevant code only, please.It is a crappy thing, but it's life -^ Carlo Pallini
* I tried domodal() in one of my application but if i use domodal() i can change between dialog only 30 or 40 times after that it shows a message which says resource not available.