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.
Unfortunately, activation email could not send to your email. Please try again.

RegisterMdiChildTypes and UpdateUI

Thread ID:

Created:

Updated:

Platform:

Replies:

47833 Aug 14,2006 04:48 AM Aug 16,2006 09:11 PM Windows Forms 1
loading
Tags: Tools
Leow Kah Man
Asked On August 14, 2006 04:48 AM

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 16, 2006 09:11 PM

Hi Leow,

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

Regards,
Purusothaman.R

CONFIRMATION

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.

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.

;