|
-
January 27th, 2005, 11:56 AM
#1
Hide the window, and still draw.
I have made a splash screen by getting the desktop DC and I am drawing it right on it. But I can't draw if I am not showing the window. So it has to be minimized or maximized to be able to draw.
So there is two options as I can see it (unless anyone have a better idea that is):
- To take away the blue thingy on the top (not sure what it is called, made it hard to search this forum for it), and then make the window endlessly small. I know this is possible because it is pretty easy to do it VB.
- To minimize it, and then make it not show in the task bar (or what it is called down there), I know this is possible too, done it in VB. But yet again, I have no idea how to do that in C++.
Any ideas on how to do that. Or any other good ideas on the topic.
Thanks
ØØ
-
January 27th, 2005, 12:03 PM
#2
Re: Hide the window, and still draw.
That's just an idea and I don't know if it would work but you could try to move the window offscreen with MoveWindow with a location of say x= -2000 and y = -2000.
This way it would not even show up in the taskbar either.
K.
//edit: use SetWindowPos instead.
Last edited by ZuK; January 27th, 2005 at 12:07 PM.
-
January 27th, 2005, 12:08 PM
#3
Re: Hide the window, and still draw.
Yeah, I was thinking about that too. Kind of silly way to do it though, but I guess it will work. and actualy I don't need to move it at all, can just fire it up there when I make the window.
Will have a go and test.
Øyvind Østlund
Last edited by NoteMe; April 27th, 2006 at 08:02 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|