I am writing an application where it would be helpful to automatically switch between having Windows XP’s desktop in dualview or cloned. The application uses a small wxWidgets window for the GUI. It would be nice to have a button within the GUI that could easily switch between dualview and cloned.
Is there a c/c++ library that gives access to controlling dualview or cloned?
The following code sort of works. It doesn’t keep the monitor resolution.