Page 1 of 1

TextGadget with raised border?

Posted: Fri Aug 21, 2009 5:33 pm
by mesozorn
Is there any way to get a textgadget with a raised border? Sunken borders can be done with PB native flag, and a flat one can be achieved with #WS_BORDER, but what about a raised border, identical to #PB_Container_Raised?

Note that I'm not looking for a work-around such as having a textgadget inside a containergadget which has a raised border, but rather an actual textgadget with an actual raised border.

Can this be done through PB or Windows API? Thanks...

Posted: Fri Aug 21, 2009 5:48 pm
by SCRJ
Something like that?

Code: Select all

TextGadget(0, 10, 10, 300, 20, "Hello World", #WS_DLGFRAME)

Posted: Fri Aug 21, 2009 5:55 pm
by mesozorn
SCRJ wrote:Something like that?

Code: Select all

TextGadget(0, 10, 10, 300, 20, "Hello World", #WS_DLGFRAME)
That would indeed seem to do it, thanks!! I spent the last hour or so searching both here and on MSDN without any luck, but in this case just asking appears to have been the better approach :D