
Changing font style in CEdit derived control.
You can use the CWnd::SetFont() function after you have created the desired
font.
John
Quote:
>Hi there,
>To limit character input to a CEdit control I derived a class from CEdit
and overloaded (is that the
Quote:
>word?) the OnChar event handler. This all works just fine, except that the
font style in a manually
Quote:
>(that is run-time) created CEdit control is "System" (it looks like it
anyway).
>So my question is: How does one change the default font style of a run time
created Edit control?
Quote:
>Thanks in advance,
>Sytse.
>(It would greatly benefit the correct delivery of your mail if you replace
my nickname with lonehelm
Quote:
>before replying to me in person)
>ICQ UIN: 2488983