Forums

"On...WndProc" for mor controls

Last post 9/9/2010 2:27 AM by Claus Vogelmann. 2 replies.
Sort Posts: Previous Next
  • Claus Vogelmann

    "On...WndProc" for mor controls

    9/8/2010 6:06 AM
    • Not Ranked
    • Joined on 9/8/2010
    • Posts 2

    I have derived a custom control from "ComboBoxEdit". There i can override the method "OnMaskBoxWndProc(ref Message m)" and now I am wondering if there is also a possibility for implementing a similar method for i.e. the "ButtonEdit" ...

    Thanks in advance,
    Claus

    Filed under: ,
  • Brendon Muck [DX Squad]

    Re: "On...WndProc" for mor controls

    9/8/2010 10:47 AM
    • Top 10 Contributor
    • Joined on 5/16/2007
    • Buffalo, NY
    • Posts 5,810

    Like this?

     

        public class MyButtonEdit : ButtonEdit

        {

            protected override void OnMaskBoxWndProc(ref Message msg)

            {

                base.OnMaskBoxWndProc(ref msg);

            }

        }

     

    Please do not email me directly for support. Use the Support Center or Community Forums so that everyone may benefit.
  • Claus Vogelmann

    Re: "On...WndProc" for mor controls

    9/9/2010 2:27 AM
    • Not Ranked
    • Joined on 9/8/2010
    • Posts 2

     No I mean

        public class MyComboBoxEdit: ComboBoxEdit

        {

            protected override void OnMaskBoxWndProc(ref Message msg)

            {

                base.OnMaskBoxWndProc(ref msg);

            }

            // so far so good... but now i wanna also have such a method for the EditButton like...

            protected override void OnButtonEditWndProc(ref Message msg)

            {

                base.OnButtonEditWndProc(ref msg);

            }

        }

     

    thank you!

     

     

More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.