Showing form without activation... HELP

  • Thread starter Thread starter sandy_pt_in
  • Start date Start date
S

sandy_pt_in

Hi,
I have modal form which I am showing with some fading effect...
(it is like balloon that comes when you receive a mail in the outlook.)

But when I show this form, Owner form looses focus.
I searched across net & I came across ShowWindow API, It seems working

for me ... but the fading effect is not working.Can you please suggest
me some way so that I will be able to show my modal form using
ShowDialog and Still it is deactivated when it is loaded... please
help...
 
Hi,

A modal form always grabs focus in scope of the owning application - that's
actually what modal forms exist for. What you probably need is a modeless
window you can show in the modeless fashion and that would start a timer
upon becoming visible to gradually decrease its transparency.
 
Back
Top