I have written a program to generate mirc dialogs. You can add buttons, edit boxes and labels and the size and position can all be adjusted prior to generating the mirc code to incorporate in the remotes section.
Now, if I generate a dialog for my own PC it works fine, but if I then pass the code to a person with a different screen resolution the chances are that the top left corner of the dialog will be off that persons screen.
How can I use mirc to detect screen resolution, so I can incorporate that information into the generated script?