标签:wip visible null ipaddress and message create amp 加ip
HWND hwIpEdit;
hwIpEdit = CreateWindow(WC_IPADDRESS, NULL, WS_CHILD | WS_VISIBLE, 1, 1, 136, 24, Handle, 0, HInstance, NULL);
int nIP;
SendMessage(hwIpEdit, IPM_GETADDRESS, 0, int(&nIP));
nIP = MAKEIPADDRESS(192, 168, 0, 1);
SendMessage(hwIpEdit, IPM_SETADDRESS, 0, nIP);
SendMessage(hwIpEdit, IPM_SETFOCUS, 3, 0);
SendMessage(hwIpEdit, IPM_CLEARADDRESS, 0, 0);
标签:wip visible null ipaddress and message create amp 加ip
原文地址:https://www.cnblogs.com/suhq/p/10390968.html