Hello All,

I am new to this list, and just started working with WIN32-GUI. As I have
read so many times, I am finding the documentation less than stellar, but I
think the library has great potential.

Here is my problem.

when I use the following in a click event, it does what it is supposed to,
change the window background color.

$Textbox->SendMessage(1091, 0, hex('cd0000'));

But when I use this (which is the same constant as the numeric above, it
doesn't work

$Textbox->SendMessage(EM_SETBKGNDCOLOR, 0, hex('cd0000'));

I have found both of these resources in this list, but can't find a
reference for the numeric constants.
Can anybody help me locate a reference, or give me a tip to make the text
versions work?

MSDN user interface library
http://msdn.microsoft.com/library/default.asp?URL=/library/psdk/psdkref/catf
unc_26m1.htm
Constant values for the Win32 API:
http://www.mvps.org/vbnet/index.html?http://www.mvps.org/vbnet/api/_consts/c
onstsa.htm

Much appreciated,

Bill


Reply via email to