Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Please respond ASAP Collapse All
Subject Author Date
Offer Har Mar 23, 2009 - 3:36 PM

Dear Support,


I reported a bug, sent you application to reproduce it and a clip, and never even heard a word from you. The minimum is that you will tell me that you received it!


http://www.prof-uis.com/prof-uis/tech-support/support-forum/bug-un-mdi-applications-also-in-mdi-sample-application-63842.aspx#@lt;/p>

Maybe now you can tell me what is the status of this? We need to release a version, and we cannot release it with this crash.


Can youprovide me some work-around for this bug


Thanks,


Ron.

Technical Support Mar 24, 2009 - 2:28 PM

We have 3 issues reported by you under development: tree item hide issue (not fixed yet), fast 3 mouse clicks issue (still cannot reproduce it) and MDI crash issue (fixed).

To fix the MDI crash issue, please find the following code in the CExtMenuControlBar::OnHookWndMsg() method:

               if(                     nMessage == WM_MDIACTIVATE
                                    ||           nMessage == WM_MDIDESTROY
                                    ||           nMessage == WM_MDINEXT
                                    )
                        {
                                    if(                     nMessage == WM_MDINEXT
                                                &&        IsOleIpObjActive()
                                                )
                                    {
                                                lResult = 0;
                                                return true;
                                    }
                                    _DelaySyncActiveMdiChild();
                        }

And replace it with the following:
               if(                     nMessage == WM_MDIACTIVATE
                                    ||           nMessage == WM_MDIDESTROY
                                    ||           nMessage == WM_MDINEXT
                                    )
                        {
                                    if(                     nMessage == WM_MDINEXT
                                                &&        IsOleIpObjActive()
                                                )
                                    {
                                                lResult = 0;
                                                return true;
                                    }
                                    _DelaySyncActiveMdiChild();
                                    _DelayUpdateMenuBar();
                        }