VB6 - Form Increasing Size |
Post Reply |
Author | |
b4gn0
Groupie Joined: 26 November 2007 Status: Offline Points: 30 |
Post Options
Thanks(0)
Posted: 18 November 2008 at 5:35am |
Language is VB6
Each time i run the application, this form increases in heigth (please note, i use the commandbars control just for a popup menu with icons in this form) both in designtime and in runtime. I run this code in the form_load event to prevent an empty bar to be shown: With comBarsMenu Call .EnableCustomization(False) Call .DeleteAll Set mobjPopupMenu = .Add("Popup", xtpBarPopup) 'module popup variable End With Everything works perfect except for the increasing-size issue. More info: this form is included inside an external dll. We use the SetParent Windows API to attach it to the main form (causing it to become some sort of MDI Child, avoiding it to be moved outside of the main form sizes), after the Form_Load event is fired. Best regards, Alex |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |