Thanks for the excellent job!!!
the only thing I found is in your sample porject in which you create a hand cursor and call AfxGetApp()->LoadCursor(IDC_HAND). the nice way to use these kind of standard cursor is to call AfxGetApp()->LoadStandardCursor(IDC_HAND) without creating it in your own application.
After I added GetText() (so I could do concatenation) I found it would not work. Examining the source of SetText()
I found that the member variable m_strText was not set. So I guess that the following line has gone missing:
I want to generate a dialog and in this dialog a Comment by using the �Static Text' Control.
In which way is it possible to place special signs like greek letters or to display Textparts high- or low-ranked?
A nice enhancement would be attribute settings in the control's window text. For example, use a tilde as an introducer, followed by comma separated parameters. One that I've used has the format:
Text String Here~font-name,font-size,font-attributes,r,g,b
where font-attributes = [b,u,i] for bold,underline,italic
r,g,b = RGB values 0-255
will display "Test" as red, bold, underline in Arial
Parse the windows text string in the Create() override and set the attributes there.
It's a time saver having a way to set attributes without having to program the calls to do so.