Re: Font size
- Posted by Derek Parnell <ddparnell at bigpond.com> Dec 10, 2002
- 526 views
Try this... atom char, pnt, ok char = struct_CHARFORMAT( 0,0,0,0,0,0,0,"") ok = sendMessage( myRichEdit, EM_GETCHARFORMAT, 1, char ) pnt = fetch(char, CHARFORMAT_yHeight) / 20 release_mem(char) -------- cheers, Derek ----- Original Message ----- From: Patrick.Barnes at transgrid.com.au Date: Tuesday, December 10, 2002 11:52 am Subject: Font size > > To win32lib guru's: > > How do I get the current font size in points, from the current > cursor position in a richedit? > > I'm stuck. > ======================= > Patrick Barnes > Information Systems Group > 201 Elizabeth St, Sydney > Patrick.Barnes at tg.nsw.gov.au > Ext: 91-3583 > Ph:(02) 9284-3583 > Mob: 0410 751 044 > > *********************************************************************** > > *********************************************************************** > > > >