Page 1 of 1

Border around SAY defined in Resource

PostPosted: Sun Feb 12, 2006 12:00 pm
by dpaterso
Does anyone know how to draw a border around a SAY that is defined as a resource.

I am using BRW and the GETs that are defined as resources have a very neat flat blue border around them when displayed from FWH.

Is it possible to display the SAYs with the same flat blue border.

I have tried turning the border on for the resource in BRW (which translates to WS_BORDER in BRW) but when displayed from FWH there is indeed a border but it appears to be RECESSED or 3D and is not a flat blue line border (like the borders of the inputs of XHB Project Builder).

Also does anyone know the RGB colors used for the 'XP' BLUE BACKGROUND on the XHB Project Builder?

Regards,

Dale.

Re: Border around SAY defined in Resource

PostPosted: Sun Feb 12, 2006 3:44 pm
by Enrico Maria Giordano
As an alternative you can use a disabled GET instead of a SAY.

EMG

PostPosted: Sun Feb 12, 2006 6:31 pm
by manuramos
Try to Draw lines and squares around it via oDlg:bPainted.
Use GetClientRect or something like this

PostPosted: Tue Feb 14, 2006 6:33 pm
by James Bott
Dale,

I am using BRW and the GETs that are defined as resources have a very neat flat blue border around them when displayed from FWH.

Is it possible to display the SAYs with the same flat blue border.


The problem is that if you do that, then the SAY looks just like a GET to the user. This would be confusing.

James