Raw Style Bits (OpenInsight 32-Bit)
At 15 OCT 2010 01:08:34AM Colin Rule wrote:
I noted that the Edit box has a form property to AutoIndent.
From what I can see in the help there is no property to set this in code.
There is a Raw Style Bit for this.
Q: Is there an undocumented property for this?
Q: If not, how does one programatically set a Raw Style bit
I have compared the STYLE property on two controls, one with and one without this bit set, and they are identical, otherwise I would use this.
Any ideas?
Colin
At 15 OCT 2010 08:11AM Erik Smith wrote:
Colin,
I don't believe there is a documented property for this.
AUTOINDENT is a PSSTYLE, so this is why the STYLE property reports back identical for the two controls.
You will have to use this psstyle and recreate the control at runtime to toggle autoindenting.
Equ PSS_EB_AUTOINDENT To 0x0200
Thanks,
Erik