how to make a screen saver preview in Delphi?

会有一股神秘感。 提交于 2019-12-06 03:59:40

问题


I want my screensaver appears in the screensaver preview box?


回答1:


When you make a screen saver you need to support a command line argument (/p [HWND]) that will tell you in which windows to show your screen saver. The command line will be pass to you thru the screen saver control panel. here is a link to the full spec.




回答2:


You can start the screen saver, get it's window handle then change it's parent to your forms handle or panel's handle or wherever you want it.



来源:https://stackoverflow.com/questions/903180/how-to-make-a-screen-saver-preview-in-delphi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!