What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Transparent background for RichEditControl

Transparent background for RichEditControl
Author: Message:
Ash_
Senior Member
****

Avatar

Posts: 638
Reputation: 31
35 / Male / –
Joined: Aug 2004
RE: Transparent background for RichEditControl
i don't know how to do it with the Styles and stuff used for scripts but i think i remember how to do it with API.

heres the code in the best way i show you (sorry i havent made a script in ages dunno the calls to use the API)
code:
var GWL_EXSTYLE = -16
var WS_EX_TRANSPARENT = 0x20

var temp
temp = GetWindowLong(CtrlWnd, GWL_STYLE)
SetWindowLong(CtrlWnd, GWL_EXSTYLE, temp | WS_EX_TRANSPARENT)

(remember that CtrlWnd contains the handle of the RichTextBox not the entire window, im pretty sure your given the handle of the control when you create it (rtb = MsgPlus.CreateWnd(... or whatever it is))

hopefully that can solve your problem.

This post was edited on 05-28-2007 at 02:34 AM by Ash_.
[Image: jeansiger5.jpg]
05-28-2007 02:32 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Transparent background for RichEditControl - by pariah123 on 05-24-2007 at 02:55 PM
RE: Transparent background for RichEditControl - by Ash_ on 05-28-2007 at 02:32 AM
RE: RE: Transparent background for RichEditControl - by Matti on 05-28-2007 at 07:18 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On