My program is a wrapper for Remote Desktop Connection which generates a ".rdp" file and launches the file through the normal program. I am trying to mimic Remote Desktop Connection's resolution slider so I can enter in to the file the desired size of the new window, here is a screen shot of the program:
What would be the best way of generating the stopping points for my version of the slider? Currently I see two options:
- Build a large list of common resolutions and filter out ones that can not be used because the monitor does not support it (I think this is what Remote Desktop Connection is doing)
- Take the difference between the minimum and maximum resolution then divide by a fixed number of ticks I want to display.
If I go with option 1 I am concerned about putting too many items in the list. I would likely use the list from the List of common resolutions page from Wikipedia but I don't know which ones I should include and which ones I should not.
Here is my preliminary list of resolutions that I plan on using for option 1
1024 x 768 1366 x 768 1280 x 960 1440 x 900 1280 x 1024 1600 x 900 1400 x 1050 1440 x 1080 1600 x 1200 1920 x 1080 1920 x 1200 2048 x 1152 2560 x 2048 3200 x 2048