Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic control loading => memory leak!!

Status
Not open for further replies.

kovesdan

IS-IT--Management
Nov 18, 2001
2
0
0
HU
Please help me!

I have an usercontrol in ocx project. I have a standard exe project (Main). Is there a form (frmCtrl) in main that contain this usercontrol from ocx project. The frmMain form is the main screen for main exe. When I reparent (API:Setparent) the frmCtrl picturebox (which contain this usercontrol) into a picbox of the frmMain the usercontrol is out of focus in runtime. The tabindex is not working... :((

I would like dynamically load lot of UI component for menu items. Menu items loaded from database. Each menu items contain a text for screen, and text for ProgID which will be loaded. The "form.controls.add(progID,...)" function has memory leak on Win9x platforms... :(((

Please help!

thx, any idea:
Dani

P.S: sorry my poor english!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top