We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

RegisterMdiChildTypes and UpdateUI

Thread ID:





47833 Aug 14,2006 08:48 AM UTC Aug 17,2006 01:11 AM UTC WinForms 1
Tags: Tools
Leow Kah Man
Asked On August 14, 2006 08:48 AM UTC

I followed a suggestion found in your forum on how to speed up merging of child forms'' menus; through the use of RegisterMdiChildTypes.

I also use UpdateUIMFCStyle.

RegisterMdiChildTypes needs to call the default constructor of child forms.
The default constructor does not initialise every variable thus some variables are still null.

Now I see that UpdateUI is fired for the "dummy instances". In UpdateUI events, now I have to place null checks on the variables that I haven''t initialised.

My question is, if I use RegisterMdiChildTypes, should I switch off UpdateUIMFCStyle?

Purusothaman R [Syncfusion]
Replied On August 17, 2006 01:11 AM UTC

Hi Leow,

We regret for the inconvenience caused. If possible, could you please provide a simple sample that shows this issue?



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon