Arwen questions

new topic     » topic index » view thread      » older message » newer message

Hi all,

can anyone please tell me, how to change the background color of a
MultiEditText control in Arwen?

----------=----------=----------=----------=----------=----------=----------
include arwen.ew
without warning
constant DEMO  = create(Window,        "Test",  0, 0,   300,150,300,350,{0,0})
constant EDIT  = create(MultiEditText, "Hello", 0, DEMO, 30, 25,230,150,
{0,WS_EX_CLIENTEDGE})
object Void  Void = c_func(xSetBkColor, {EDIT, c_func(xGetSysColor,
{COLOR_INFOBK})})
WinMain(DEMO, SW_NORMAL)
----------=----------=----------=----------=----------=----------=----------

The code above runs without an error, but the 5th line doesn't have any
effect, i.e. the background remains white.


And how can I change the program icon? It seems, that all Arwen programs
use a red dot with a white cross inside by default. I've made my own
.ICO file, and want to use that icon.

Thanks in advance,
  Juergen

-- 
 /"\  ASCII ribbon campain  |  The difference between men and boys
 \ /  against HTML in       |  is the price of their toys.
  X   e-mail and news,      |
 / \  and unneeded MIME     |  http://home.arcor.de/luethje/prog/

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu