Hi,
Well I'm wondering if I have a static control with say the italics style how I would get that italic style from the control?
I'm guessing it's something like...
dwStyles = My static control
If dwStyles & ss_italics?
PRINT "Has itailics"
Endif
Help please.
Andy.
CONST GWL_STYLE = (-16)
DEF hwnd as UINT
hwnd = GetDlgItem(win.hwnd,id)
dwStyles = GetWindowLongA(hwnd,GWL_STYLE)
If dwStyles & ss_italics?
PRINT "Has itailics"
Endif
Thanks Larry!
Andy.
:)