Ok, then i'll check with the author of the GUI component i'm using, thanks.
I was sure it wasn't Scintilla intentionally changing selection on focus, because on Win98 it doesn't happen. I seem to understand from you reply that the problem comes from responding to WM_GETDLGCODE with DLGC_HASSETSEL . That's good info as well for me, thanks. > ----- Original Message ----- > From: "Neil Hodgson" <[EMAIL PROTECTED]> > To: "Discussion of the Scintilla editing component" > <[email protected]> > Subject: Re: [scintilla] Selection and caret position altered on gotfocus. > Date: Mon, 14 Aug 2006 19:56:46 +1000 > > > Scintilla doesn't automatically change selection on focus. There > is a good chance this is caused by default container processing such > as dialog management code. You could stop such processing in your > container. If you don't control this then you can try subclassing > Scintilla to respond to WM_GETDLGCODE without DLGC_HASSETSEL. > > Neil > _______________________________________________ > Scintilla-interest mailing list > [email protected] > http://mailman.lyra.org/mailman/listinfo/scintilla-interest > -- _______________________________________________ Surf the Web in a faster, safer and easier way: Download Opera 9 at http://www.opera.com Powered by Outblaze _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
