I have been doing a bit of research on how to implement an IP-Address box in an NSIS installer. For those of you who are familiar with writing MFC apps using Visual Studio, I'm trying to achieve the equivalence of an "IP Address Control."
Basically I want the textbox to look like a normal one, except with four periods. Here is an example:
When the user tries to type something in, I want to restrict their input to only numbers, three digits at a time. For example, when I type in "192" I want the cursor to parse just past the first period. In the case "." is typed I want to parse past the next period. This is implemented in Windows' TCP/IP connection properties dialog, which can be reached in WinXP by opening Network Connections and right clicking on a connection->Properties and clicking on Internet Protocol(TCP/IP) and clicking Properties button.
I know it's not straightforward to do something like this using InstallOptions, but I would like to know if any of you have seen or written a plugin that might help. As always, any help is greatly appreciated 😁.
Sincerely,
Joe