Hello, All:

Recently I have been annoyed by the following question very much. It will be highly appreciated if anyone could help me!

I want to refer to some properties or controls in another form while I don't want to declare too much public variables.

For example, in module1, I want to get hwnd of frmMain:

hwnd = frmMain.hwnd

Here is my question:

When call the properties or control outside a form through the form name,

1. the event Form_Load (or Form_Initialize) will also be triggered in some projects;
2. while in some other projects, Form_Load (or Form_Initialize) will not be triggered and I can call it just as a variable.

In which cases Form_Load will be triggered and in which not?

Please help me!!! Thank you very much!