richardchaven
Programmer
I am messing with a TTreeView (yes, I know, but I'm not going to use an alternative). I want to have the .Font apply to the embedded edit control.
I can "override" the WndProc and do the painting myself, but the text caret does not align to the correct character and the control itself is too narrow when the I choose to paint a node's text in bold, italic, etc.
I finally found WM_SETFONT, but it does not seem to work when I Post it to the edit control's handle in response to the TVN_BEGINLABELEDIT message.
Any ideas?
Cheers
I can "override" the WndProc and do the painting myself, but the text caret does not align to the correct character and the control itself is too narrow when the I choose to paint a node's text in bold, italic, etc.
I finally found WM_SETFONT, but it does not seem to work when I Post it to the edit control's handle in response to the TVN_BEGINLABELEDIT message.
Any ideas?
Cheers