modal dialog
-
when i am trying to resize my applicalion at that time one modal dialog of my application appears on the screen and i am not able to get the focus on my dialog or application and the mouse pointer still shows the "resize" cursor. to activate my dialog or application i have to press (alt + tab). i think it's because there r 2 different thread and my applicacation still calls onsize() and suddenly that dialog appears. can anyone tell me what should i do?
-
when i am trying to resize my applicalion at that time one modal dialog of my application appears on the screen and i am not able to get the focus on my dialog or application and the mouse pointer still shows the "resize" cursor. to activate my dialog or application i have to press (alt + tab). i think it's because there r 2 different thread and my applicacation still calls onsize() and suddenly that dialog appears. can anyone tell me what should i do?
Jiten D. Gandhi wrote: ...one modal dialog of my application appears on the screen and i am not able to get the focus on my ... application This is how modal dialogs behave. You must dismiss them before focus returns to the application. Jiten D. Gandhi wrote: ...my applicacation still calls onsize() and suddenly that dialog appears. can anyone tell me what should i do? Remove the
OnSize()
handler and see if the problem goes away.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
-
when i am trying to resize my applicalion at that time one modal dialog of my application appears on the screen and i am not able to get the focus on my dialog or application and the mouse pointer still shows the "resize" cursor. to activate my dialog or application i have to press (alt + tab). i think it's because there r 2 different thread and my applicacation still calls onsize() and suddenly that dialog appears. can anyone tell me what should i do?
Why would you need to display a modal dialog in OnSize? Due Regards Mahendra