16
Technical forum / Re: how to store multiple actors into array?
« on: May 02, 2008, 11:17:23 AM »
It's ok,thanks very much.
For WME related articles and tutorials visit WME Resource Center.
As far as I remember, delphi forms have a "StayOnTop" or "alwaysOnTop" somewhere, in the window style or as a special property. I don't know wether this works while directX is handling a full screen device, but it should work. Otherwise, try the bringToFront() method."StayOnTop" or bringToFront() even use Window's API setwindows all have not effect in the fullscreen mode,but work well in the window mode。I use normal windows forms because my game has many data input and output forms,also many forms have complex layout, it's terribly and impossible if i use WME's UI controls。I think use a normal windows form that contains a webbrowser control is a good idea。I display the normal windows form top of the game scenes,my clients use web pages input their data and view all kinds of report,my game will connected to the web server retrieve data and redraw the scenes......
BUT ... Having normal windows.forms windows appear while a directx fullscreen window is launched is always tricky and may crash on some systems, or slow down the engine on others. It's never a good idea to steal the focus of a directX surface.
Try using WME windows instead. You could use a screenshot of your window to preserve the visual appearence, and remodel the window with wme controls.