You know why. Because you are good at female body language but not good on written English body language.
U
User 5680157
@User 5680157
Posts
-
Job Specifications -
catching return key (VK_RETURN) with OnKeyDownDon't forget to add ON_WM_GETDLGCODE() to the message map of your class.
-
Strange that CFont::GetLogFont not constJust look what I do. The important line can work on a const method! I am following Scott Meyers recommendations!
CSomeClass& CSomeClass::operator=(const CSomeClass& source)
{
m_name=source.m_name;LOGFONT lf; (const\_cast(static\_cast (source.m\_font)).GetLogFont(&lf)); //this is the important line m\_font.Detach(); m\_font.CreateFontIndirect(&lf); //... return \*this;
}