title: Get IP input from user and validate WINAPI
body: <p>How can I get the IP that a user inserts in a IP Control box in Winapi, in a way that I can validate it after?</p>
  
  <p>Already tried GetDlgItem() but it doesn't seem to store the IP in the correct format, maybe I'm doing it wrong. I was storing it as a DWORD.</p>
  
  <p>Any tips?</p>