IP Address Control 控件的使用
- CString IP;
- BYTE f1,f2,f3,f4;
- TCHAR temp[10] = "\0";
- this->m_IPAddress.GetAddress(f1,f2,f3,f4);
- IP = _itoa(f1,temp,10);
- IP += _T('.');
- IP += _itoa(f2,temp,10);
- IP += _T('.');
- IP += _itoa(f3,temp,10);
- IP += _T('.');
- IP += _itoa(f4,temp,10);
posted on 2009-01-05 15:11 isabc 閱讀(3149) 評論(2) 編輯 收藏 引用 所屬分類: 控件操作