IFontDisp (OpenInsight 32-Bit)
At 04 OCT 2005 12:41:27PM Jim Vaughan wrote:
I am using a OLE control that uses the IFontDisp interface to specify the font.
I can get the current font by using a Get_Property call like this:
lFont=Get_Property(ctrl, "OLE.Font")
lFont is a number like 0x227e9c.
Can I use this number within OI to manipulate the font that is used by the OLE control either by changing the properties of the font or by passing a new font to the control?
At 04 OCT 2005 12:50PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Jim,
Can you do:
Set_Property( ctrl, "OLE.Font.Bold", 1 )Fonts in OLE are objects too - check this out
World leaders in all things RevSoft
At 04 OCT 2005 01:22PM Jim Vaughan wrote:
Well that was easy…
… very cool.