Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Compatibility issues with changing the Window class to another class. (Read 1624 times)
JackPan
Full Member
***
Offline


I Love MindFusion!

Posts: 134
Joined: Apr 9th, 2020
Compatibility issues with changing the Window class to another class.
Apr 20th, 2020 at 3:06pm
Print Post  
Hi All,

I have embedded another control in the project and need to change the original window class to DXRibbonWindow: public partial class MainWindow: DXRibbonWindow. This class:DXRibbonWindow also inherits from Windows and other interfaces. The result is that the event diagram_PreviewMouseWheel is not responding. Is there any way to solve it?

Any assistance would be appreciated.
Please pay attention to epidemic prevention.I send my best wishes to you and hope you can return to normal life as soon as possible.

Jack
  
Back to top
 
IP Logged
 
Lyubo
God Member
*****
Offline


MindFusion team

Posts: 511
Joined: Jun 17th, 2010
Re: Compatibility issues with changing the Window class to another class.
Reply #1 - Apr 21st, 2020 at 6:19am
Print Post  
Hello,

Make sure your DXRibbonWindow is not already handling the PreviewMouseWheel event and setting it to Handled.

Regards,
Lyubo
MindFusion
  
Back to top
 
IP Logged
 
JackPan
Full Member
***
Offline


I Love MindFusion!

Posts: 134
Joined: Apr 9th, 2020
Re: Compatibility issues with changing the Window class to another class.
Reply #2 - Apr 21st, 2020 at 8:59am
Print Post  
Thank you, Lyubo.

Yes, e.andled I've set true.DXRibbonWindow also does not set the MouseWheel event.The result still affects the diagram_PreviewMouseWheel trigger.
But it doesn't matter. I've decided not to use this control of it, but to go back to the Windows class.Because it will affect my normal use of the diagram.

cheers,

Jack
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint