[Qt-interest] QAccessible

David Ching dc at remove-this.dcsoft.com
Tue Mar 30 17:08:10 CEST 2010


"Kanitz, Annett" <Annett.Kanitz at dzb.de> wrote in message 
news:59182F4ACF126B4795BDFE539DA00F8FB401F6 at DZBXC02.dzb.de...
>
> Thank you for helping me.
> The dll was loaded, but when I used WinCheat 1.6 (cause I don't use Visual 
> Studio) the border was around the whole application and not around the 
> QPlainTextEdit. I used the CodeEditor example on 
> http://doc.qt.nokia.com/4.6/widgets-codeeditor.html for testing purposes. 
> What can I do make Qt not to handle it as an alien widget?
>

This is from Qt Assistant 4.5.3:

Use the QT_USE_NATIVE_WINDOWS=1 in your environment.
Set the Qt::AA_NativeWindows attribute on your application. All widgets will 
be native widgets.
Set the Qt::WA_NativeWindow attribute on widgets: The widget itself and all 
of its ancestors will become native (unless Qt::WA_DontCreateNativeAncestors 
is set).
Call QWidget::winId to enforce a native window (this implies 3).
Set the Qt::WA_PaintOnScreen attribute to enforce a native window (this 
implies 3).

Good luck,
David 




More information about the Qt-interest-old mailing list