How to make a floating DirectX Child Window with Delphi? -


I have a Delphi project and the main form is a child window of another app parent application (coded in C ++ 3D game), there are two window states, the windowed and full screen in the window mode Delphi forms completely floating on top of the original application. It can be clicked, dragged around, there is no problem (CreateParams process of your main form using params.Style: = WS_POPUP; ):

  Process TMyFormOpen (var Param: Tekta Param); inherited from; Start (ultimate); HandleToTheOtherApp: = FindWindow ('THE_OTHER_APP', zero); If HandleToTheOtherApp = 0 then ShowMessage starts ('Basic application not found'); Go out; End; Params.Style: = WS_POPUP; Params.WindParent: Handles on Audiobre; Params.WinClassName: = 'MyAppClassName'; End;  

However if the original application is put in the Full Screen mode (it uses DirectX 9/10) then my Delphi form is hidden from the view. . It seems that it is still on the screen because it sometimes shines or not, but is not being underlined again.

If I click on the window (or where it appears) then it appears again to each other and then the game is taken out of full screen mode and then window mode Goes back in. Obviously there is something that does not like it about the form. The used form to appear in previous versions of this game, but possibly due to a change in DirectX version (my guess) does not appear anymore.

The form is not displayed Anything complex like 3D graphics, just basic controls like buttons and list boxes I've tried many window styles and have made it double buffer, everyone has no advantage. Maybe there is someone who has been able to show a window in these circumstances using a specific function, window style or header?

Does Delphi Form Direct DirectX

I do not think this can be done is.

When a DirectX video window becomes full screen, then DirectX takes over the full screen diagram (as you make a Windows Media Player full screen: all other apps disappear, and Sometimes the resolution changes)


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -