Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 15 APR 2010 06:14:16AM Dale Jessop wrote:

Is it possible to change the background colour of the edit box somehow when you have the 'Rich Editor' valud checked?

Any help/ideas appreciated

Dale.


At 15 APR 2010 06:36AM Dale Jessop wrote:

WM_USER$ =0x0400

EM_SETBKGNDCOLOR$=(WM_USER$ + 67)

hwnd=get_property(@window:'.STATUS_BAR2',"HANDLE")

void=SendMessage(hwnd , EM_SETBKGNDCOLOR$, 0, 230 + (230*256) + (255*65536) )

THIS WORKS!!!!!!


At 15 APR 2010 07:26AM Simon Wilmot wrote:

Hi Dale,

Interesting development - what version of OI is that on ??

Simon


At 15 APR 2010 08:46AM Dale Jessop wrote:

Hi Simon,

This is on OI 8.0 but in theory the code would work from 4.1.3 above (i think).

It appears the background property in OI can't be set but you can force windows via the API to do it for you.

Dale.

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/34c2284b2259f4f58525770600383d41.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1