🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #8132

c++/win API - background/richedit

#8132
From: Capt Lob
Date: Sat, 06 Jul 2002 20:44
12 lines
1331 bytes
Ik probeer de achtergrond kleur van een richedit zwart te krijgen, ik doe 
het volgende:

COLORREF Color = 0x00FFFFFF; //zwart
hwndPub = CreateWindowEx(0, "RICHEDIT", NULL,
	 WS_VISIBLE | WS_CHILD | WS_TABSTOP | ES_AUTOHSCROLL,
    	220, 565, 300, 20, hwndmain, (HMENU)0, GetModuleHandle(NULL), NULL);

SendMessage( hwndPub, EM_SETBKGNDCOLOR, 0, Color ); 

Eerst is de achtergrond wel zwart, maar vanaf ik iets erin type word die 
terug wit, wat doe ik verkeert?
Technical Details
Message-ID: <Xns9243E7724CF92capt@195.130.132.65>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!iad-peer.news.verio.net!news.verio.net!skynet.be!skynet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,4a8ff47c7b3bb093,start
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2002-07-06 13:44:58 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!iad-peer.news.verio.net!news.verio.net!skynet.be!skynet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
Newsgroups: be.comp.programming
Subject: c++/win API - background/richedit
From: Capt Lob <capt@lob.com>
Organization: Your Company
Message-ID: <Xns9243E7724CF92capt@195.130.132.65>
User-Agent: Xnews/5.04.25
Lines: 12
Date: Sat, 06 Jul 2002 20:44:10 GMT
NNTP-Posting-Host: 213.118.55.158
X-Complaints-To: abuse@telenet.be
X-Trace: afrodite.telenet-ops.be 1025988250 213.118.55.158 (Sat, 06 Jul 2002 22:44:10 MET DST)
NNTP-Posting-Date: Sat, 06 Jul 2002 22:44:10 MET DST