Hi!
I'm trying to write a Windows screensaver and I'm having trouble getting the preview mode to work.
In preview mode, the screensaver gets a window handle from the system which describes the window where the screensaver should run in. This is the small "monitor" widget in the screensaver setup dialog.
So I need my screensaver to not run fullscreen but inside this window. I found out that this should be possible by using QWidget::create() and passing the window handle as WId parameter. But everytime I try this I get the following output:
QWidget::create: Failed to set window procedure (Access denied)
What am I doing wrong here? Anyone know how this is supposed to work?
Thanks
--Michael
Bookmarks