virtual void OnInitDialog() { if (!m_hContact || !m_proto->icqOnline()) EndDialog(m_hwnd, 0); m_auth.SendMsg(EM_LIMITTEXT, 255, 0); m_auth.SetText(TranslateT("Please authorize me to add you to my contact list.")); }
virtual void OnInitDialog() { m_pw1.SendMsg(EM_LIMITTEXT, 3, 0); m_pw1.Enable(false); m_pw2.SendMsg(EM_LIMITTEXT, 3, 0); m_pw2.Enable(false); }