Isn't the presence of a 'bevel' principally a function of the window style, not what kind of control the window contains:
Code: Select all
nomainwin
WindowHeight = 470
statictext #w.st1, "No Stylebits", 50, 20, 200, 32
stylebits #w.st2, _SS_CENTER or _WS_BORDER, 0, 0, 0
statictext #w.st2, "Thin Line Border", 50, 65, 200, 32
stylebits #w.st3, _SS_CENTER or _WS_DLGFRAME, 0, 0, 0
statictext #w.st3, "Raised Background", 50, 110, 200, 32
stylebits #w.st4, _SS_CENTER, 0, _WS_EX_CLIENTEDGE, 0
statictext #w.st4, "Recessed Background", 50, 155, 200, 32
stylebits #w.st5, _SS_CENTER, 0, _WS_EX_CLIENTEDGE, 0
statictext #w.st5, "Recessed Disabled", 50, 200, 200, 32
stylebits #w.st6, _SS_CENTER, 0, _WS_EX_STATICEDGE or _WS_EX_CLIENTEDGE, 0
statictext #w.st6, "Double Recessed Edge", 50, 245, 200, 32
stylebits #w.st7, _SS_CENTER, 0, _WS_EX_DLGMODALFRAME or _WS_EX_CLIENTEDGE, 0
statictext #w.st7, "Raised Frame", 50, 290, 200, 32
stylebits #w.st8, _SS_CENTER or _WS_THICKFRAME, 0, _WS_EX_CLIENTEDGE, 0
statictext #w.st8, "Thicker Raised Frame", 50, 335, 200, 36
stylebits #w.st9, _SS_CENTER or _WS_BORDER, 0, 0, 0
statictext #w.st9, "Flat Disabled", 50, 386, 200, 32
open "Stylebits for Statictext" for window as #w
#w "font Times_New_Roman 14 bold"
#w.st5 "!disable"
#w.st9 "!disable"
#w "trapclose [quit]"
wait
[quit]
close #w
end
Of course not all these styles are necessarily available because some of them have effects other than visual ones (for example a window with a THICKFRAME style can be resized by the user dragging a corner or edge, whilst if it doesn't have that style it can't be resized).
.