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.

 

Go Back   Doom9's Forum > Programming and Hacking > Development
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 31st October 2011, 10:32   #1  |  Link
JonE
Registered User
 
JonE's Avatar
 
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.
JonE is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:55.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.