Board index » delphi » Screen resolution change affects windows (negativelly)...
Supply and Demand
![]() Delphi Developer |
Thu, 24 Mar 2005 23:53:26 GMT
Screen resolution change affects windows (negativelly)...
- Question 1:
I am using a procedure that changes the 'screen mode' to any specified resolution (such as to 640x480). When I change the screen to this mode and then restore it back to the old mode (say 1024x768), then ALL windows that were open before are (mis)aligned! I.e, they do not keep their old position. So if you centered the Explorer window before you started my little program, then the Explorer window will have a new position after you've shut my program down! And I wonder Why? If you've seen ANY other scree mode changing programs (e.g. Starcraft, Quake) then you'll also see that all windows will remain in their old spot after you've closed these two apps! - Question 2: I have suppled the source code to this infamous procedure at the bottom! === CODE === === END OF CODE === |