You can use TTitle
What I want to do would be custom warning, error and etc messages
like this in the image,
in this case I tested the know example but where the brush
does not accept anything over transparent.
use windows or dialog
transparent- or brushed title
brushed 3D-text
defined border with pensize and transparent-level
or NO border
I added another test to sample < Testtitle.prg >
...
...
  @ 250, 150 TITLE oTitle3 size 460, 60 of oWnd TRANSPARENT NOBORDER
  @  8,  100 TITLETEXT OF oTitle3 TEXT FWVERSION FONT oFont1 brush oBrush4 3D SHADOW TOPRIGHT
  @  2,  30 TITLEIMG OF oTitle3 BITMAP "..\bitmaps\32X32\keys.bmp" SIZE 50, 50 REFLEX TRANSPARENT ;
  ACTION MsgInfo( "Keys" )
oWnd:bPainted := < |hDC|
  DRAWBORDER( oWnd, oTitle3 )
RETURN NIL
>
...
...
// -----------
FUNCTION DRAWBORDER( oWnd, oTitle3 )
LOCAL oGraphics := Graphics():New( oWnd:hDC )
LOCAL nRed   := nRGBRed( 255 ) // red
LOCAL nGreen  := nRGBGreen( 255 )
LOCAL nBlue   := nRGBBlue( 255 )
LOCAL oPen   := Pen():New( 255, nRed, nGreen, nBlue, 5, .T.) // nTransparency, nRed, nGreen, nBlue
oGraphics:DrawRoundRect( oPen, , oTitle3:nLeft, oTitle3:nTop, oTitle3:nWidth, oTitle3:nHeight, 30 )
oGraphics:Destroy()
oPen:Destroy()
RETURN NIL