Border around SAY defined in Resource

Post Reply
dpaterso
Posts: 142
Joined: Tue Jan 24, 2006 9:45 am
Location: South Africa
Contact:

Border around SAY defined in Resource

Post 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.
manuramos
Posts: 219
Joined: Mon Dec 26, 2005 7:25 pm
Location: Jerez de la Frontera (Spain)

Post by manuramos »

Try to Draw lines and squares around it via oDlg:bPainted.
Use GetClientRect or something like this
Nos Gusta Programar
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post 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
Post Reply