|
Multiple detatched displays
Hello
My application uses several extra displays which are detatched from the desktop. All is well until I re-boot the system when XP insists on making these extra displays part of the desktop, thus stopping my application from working; I have to re-set the properties on each re-boot. That is the problem; here are some more details and subtlties:
The problem is evident in all combinations of cards I have tested and in two very different PC's. (I have tries nVidia, ATI and Colourgraphic single- and multi-channel display cards and in AGP/PCI and PCI/PCI combinations) so I think it is an OS issue and not specific to any particular manufacturer.
If I do not run my app, there is no problem (XP doesn't reset the desktop). Only after I have run my app does the problem occur. I have writen the smallest possible test app which simply enumerates the displays, gets a DC for each unattached display, then releases the DC and quits the app.
The desktop re-set actually takes place on log-on, not on re-boot. I get to the log-on screen ok, then when I log on (to any user), the secondary displays fire up and the desktop gets dispersed.
I have tried a couple of manufacturers' utilities which should force the required setup on start-up, and they probably do; but I guess this occurs before log-on.
A would be grateful for any suggestions, either to correct this behaviour, or to modify my app with an API call (I've not found one) that can detatch the secondary displays from the desktop as if I had changed the configuration manually in Display Settings (so there must be one!).
Many thanks for any help,
Denville.
|