Click to See Complete Forum and Search --> : Hide the window, and still draw.


NoteMe
January 27th, 2005, 10:56 AM
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
ØØ

ZuK
January 27th, 2005, 11:03 AM
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.

NoteMe
January 27th, 2005, 11:08 AM
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 (http://www.noteme.com)