Background colour on editbox with Rich Editor checked (OpenInsight 32-Bit)
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.