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. Image for the cookie policy date

RegisterMdiChildTypes and UpdateUI

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?

1 Reply

PR Purusothaman R Syncfusion Team 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?

Regards,
Purusothaman.R

Loader.
Live Chat Icon For mobile
Up arrow icon