TextGadget with raised border?

Just starting out? Need help? Post your questions and find answers here.
mesozorn
Enthusiast
Enthusiast
Posts: 171
Joined: Fri Feb 20, 2009 2:23 am

TextGadget with raised border?

Post 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...
SCRJ
User
User
Posts: 93
Joined: Sun Jan 15, 2006 1:36 pm

Post by SCRJ »

Something like that?

Code: Select all

TextGadget(0, 10, 10, 300, 20, "Hello World", #WS_DLGFRAME)
mesozorn
Enthusiast
Enthusiast
Posts: 171
Joined: Fri Feb 20, 2009 2:23 am

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