S
sgrm123
Guest
Hi,
In my MFC dialog based application I want to align the text vertically in edit control. My Edit control is not using WS_BORDER style.
The link How can we vertically align text in edit box? gives solution for my problem and it is working for me.
That link is handling ON_WM_NCCALCSIZE() and ON_WM_NCPAINT() messages.I would like to know can I meet my requirement by overriding only onPaint() without overriding ON_WM_NCCALCSIZE() and ON_WM_NCPAINT() messages?
Continue reading...
In my MFC dialog based application I want to align the text vertically in edit control. My Edit control is not using WS_BORDER style.
The link How can we vertically align text in edit box? gives solution for my problem and it is working for me.
That link is handling ON_WM_NCCALCSIZE() and ON_WM_NCPAINT() messages.I would like to know can I meet my requirement by overriding only onPaint() without overriding ON_WM_NCCALCSIZE() and ON_WM_NCPAINT() messages?
Continue reading...