There's an easy solution - Use SCI_USEPOPUP to turn off the automatic
menu - this will make the WM_CONTEXTMENU message available so you can
set your own context menu.

I'm not sure if you can alter the language of the in-built pop-in
without editing the Scintilla source.

Cheers
Matt


On 15/02/06, Florian Marchal <[EMAIL PROTECTED]> wrote:
>
> Hello all...
>
> I'm working on a project using the Scintilla text editor within a Win32 
> application. The integration worked fine thus far, but now we've run into a 
> problem.
>
> Whenever I click the right mouse button inside the text editor a certain 
> context menu pops up. The functionality of this menu is fine, but 
> unfortunately all the menu items are shown in ENGLISH.
>
> The respective application is also rolled out in GERMAN, so it would be nice 
> if we could easily add support for German (or other languages), for example 
> by using a resource file or something like that.
>
> The way I see it, the items within this context menu are hard-coded, and 
> messing around in the base code is not an ideal solution from our perspective.
>
> My question is this: Is there a quick solution to this problem? A solution 
> without having to modify the Scintilla source? Or am I getting something 
> totally wrong here?
>
>
> Any help highly appreciated!!!
>
>
> ---
>
> Mit freundlichen Gruessen / with kind regards
>
> Florian Marchal
>
> Deutsche Bank AG
> Global Technology & Operations
> Architecture & Engineering
> IT Security Technology Research
>
> Alfred-Herrhausen-Allee 16-24
> 10th Floor, Area C, Desk 229
> 65760 Eschborn / Ts.
> Germany
>
> Tel: +49 (69) 910-68711
> email: [EMAIL PROTECTED]
>
> --
>
> Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte 
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
> irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und 
> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
> Weitergabe dieser Mail ist nicht gestattet.
>
> This e-mail may contain confidential and/or privileged information. If you 
> are not the intended recipient (or have received this e-mail in error) please 
> notify the sender immediately and destroy this e-mail. Any unauthorized 
> copying, disclosure or distribution of the material in this e-mail is 
> strictly forbidden.
>
> _______________________________________________
> Scintilla-interest mailing list
> [email protected]
> http://mailman.lyra.org/mailman/listinfo/scintilla-interest
>
>
>

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to