IP Control for MFC (Conversion of IP Address to String)

(2) Fa 2 In VS, once the new project is completed, click on the toolbox ---"IP Address Control, you can drag out an IP-specific control 1. Get the IP address: (1) Law I Get the control's pointer first: CIPAddressCtrl * pIP=(CIPAddressCtrl*)GetDlgItem(IDC_IPADDRESS); BYTE nf1,nf2,nf3,nf4; pIP->GetAddress(nf1,nf2,nf3,nf4); CString s ...

Posted by MadRhino on Mon, 13 Sep 2021 09:32:13 -0700