Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
215
How to catch the WM_IME_NOTIFY message in the UltraTextEditor
posted

Hi~

I want to handle the WM_IME_NOTIFY message in the UltraTextEditor.

Please let me know how to do.

 

 

//sample

protected override void WndProc(ref Message m){

    base.WndProc(ref m);    

    //WM_IME_NOTIFY??

}

Parents
No Data
Reply
  • 69832
    Offline posted

    I am pretty sure the answer is: you can't. UltraTextEditor does not handle that message as native .NET controls only handle windows messages by necessity, since doing so constitutes unmanaged code, which we try to avoid when possible.

    UltraTextEditor uses a TextBox control to realize the editing, and you can override the WndProc for a TextBox, but in this case you have no chance to intercept the instance we create, so you can't override that method.

    If you describe in detail the reason you want to do this, we might be able to come up with an alternative solution.

Children
No Data