C#, Hidden form and WndProc message

  • Thread starter Thread starter sshuangw
  • Start date Start date
S

sshuangw

Hello:

I am encountering a werid problem, in my application,
When I have hidden my form ("myform.Visible = false"), WndProc doesn't
catch messages sent to the app. When the
form is not hidden, WndProc successfully catches the message.

What could be the possible reasons for this issue? Could anyone shed a
light on this!

Thanks a lot!
Shwan
 
Hi :
I write a sample code like your case but not like you said .
The from can catch the message when it's visible is false
please check your code !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top