|
unit1.h
// ------------------------------------------------ ---------------------------
class TfmFile: public TForm
{
__published: // IDE-managed Components
...
private: // User declarations
...
public: // User declarations
...
protected:
void __fastcall CreateParams (Controls :: TCreateParams&Params);
};
// ------------------------------------------------ ---------------------------
unit1.cpp
// ------------------------------------------------ ---------------------------
void __fastcall TfmFile :: CreateParams (Controls :: TCreateParams&Params)
{
TForm :: CreateParams (Params);
Params.WndParent = GetActiveWindow ();
}
// ------------------------------------------------ --------------------------- |
|