Jump to content
Sign in to follow this  

RichEdit On Graphic ... can flashing be stopped?

Recommended Posts


I had the bright idea to place some rich edit text on top of a graphic. Technically, it works ... but it flashes terribly when scrolled ... and even a little when typing into the field. I've tried placing a white rectangle under the text, but that didn't help. Here's my test script and the graphic file. If you place some paragraphs from www.lipsum.com into the field and then use the scroll bar, the flashing is dramatic.

; Test of Rich Text on graphic
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <GuiRichEdit.au3>
#Include <GuiScrollBars.au3>
#include <ScrollBarConstants.au3>
$GUI=GUICreate("Rich Text On Graphic",900,800,60,60);,$WS_POPUP,$WS_EX_LAYERED+$WS_EX_TOOLWINDOW)
GUICtrlCreatePic(@ScriptDir & "\GraphicBackground.bmp",40,40,800,700)
$MainRich = _GUICtrlRichEdit_Create($GUI, "", 90, 90, 680, 600, BitOR($ES_MULTILINE, $WS_VSCROLL), 0x20) ; $ES_READONLY, $ES_WANTRETURN,
_GUICtrlRichEdit_SetFont($MainRich, 14, "Franklin Gothic Medium")
_GUIScrollBars_ShowScrollBar($MainRich, $SB_VERT, True)
While 1
    $nMsg = GUIGetMsg()
        Case $nMsg = $GUI_EVENT_CLOSE

Is there some setting or technique that can make it stable?

Thanks for any help or advice.


Share this post

Link to post
Share on other sites

Did you try Googling on it?

I found a few interesting results

RichEdit with transparent background in Delphi? Hell yes!

See through Rich Edit control

Try porting one to AutoIt and see how it goes.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this