Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
31st October 2011, 10:32 | #1 | Link |
Registered User
Join Date: Sep 2008
Location: Birmingham (UK)
Posts: 69
|
[Delphi7] Odd behaviour with multiple monitors
I have a Delphi7 app that can launch a form to show video full screen, either on the primary monitor or the secondary monitor.
If the app itself is running on the primary monitor then all is well, and both the main app form and the video form respect my FormStyle settings (fsNormal or fsStayOnTop) i.e. when previewing full screen on the primary monitor whilst app is on primary monitor then the video hides the app window (as it should). However, if the app is in the secondary monitor then 1) The video form is completely invisible when on the primary monitor. 2) The video form is _behind_ the app when in the secondary monitor i.e. FormStyle settings are ignored. Now, I can bodge my way around (2), but (1) has me baffled. Delphi isn't my normal programming language, is this behaviour a known Delphi bug ? It happens in both XP and Vista so I'm guessing its not an OS issue. TTFN, Jon PS: The video is being painted manually - no fancy GDI+, Open GL or DirectX. |
|
|