when exactly HWND is created

  • Thread starter Thread starter shark
  • Start date Start date
S

shark

Hi,

My question is, when exactly window is being created? Let's assume that we
have user control placed on any form. Form's contructor create user control
and adds it to its controls collection. But when exactly this window is
created? When form window is created ?
I thought that it's created when first windows property is get/set, but
initializecomponent do it several times.

Thanks

SS
 
Hi shark,

The handle is created as you add the control to a ControlCollection.
 

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