Thanks for that MSDN link ... good to know that.
vertex
@vertex
Best posts made by vertex
Latest posts made by vertex
-
RE: WM_DESTROY, WM_CLOSE, ...
-
RE: WM_DESTROY, WM_CLOSE, ...
I figured it out ... finally. For everyone who needs to do the same thing, this little combo works:
ShowWindow(hWnd, SW_HIDE);
CloseWindow(hWnd);
DestroyWindow(hWnd);
To think that this took me about three days to figure out - I should be ashamed. ShowWindow actually works without animation, but it doesn't remove the window. CloseWindow removes the window from the taskbar without animation when the window is hidden. -
RE: WM_DESTROY, WM_CLOSE, ...
Doesn't stop the animation. It's really frustrating since windows get destroyed cleanly while the application is running, only when exiting and destroying all open windows they stay in the taskbar (I use the same destroy code in both cases). Maybe I'll put in a sleep() and a // FIXME and move on to more important things. sigh
-
RE: WM_DESTROY, WM_CLOSE, ...
Hmm - found that in old code of myself and in a lot of examples via google. The problem is that the windows are shown in the taskbar even after the app is no longer running. When I click the icon in the taskbar Windows somehow notices that they are no longer alive and removes them. I have no idea why, but I'll keep trying, got another idea.
-
WM_DESTROY, WM_CLOSE, ...
Hi!
I've got the following problem: my windows stay on the taskbar after my app exits; calling CloseWindow() before DestroyWindow() removes that problem, but then windows #&$!*§ animates the windows to the taskbar before closing them. Every single one of them - and since there's a chance that I have a lot of windows on screen that is so totally unacceptable.
So, after googling around and finding no helpful information whatsoever (why are there 3.2 quadrillion copies of the same tutorial on how to open a window when so many ides have a code snippet doing exactly that anyway?) I thought I'll ask here. I need information on why a window stays in the taskbar after calling DestroyWindow() from the thread that created the window or how to CloseWindow() a window without the animation. Thanks for any help.
-Mike
-
RE: Tablet pen pressure - how to?
@daniel c w said:
perhaps this might also help you:
http://msdn2.microsoft.com/en-us/library/ms645536.aspx
I'm currently handling input via SDL, afaik SDL does raw input anyway. I'll give it a couple hours to see if I can easily poll the pen pressure when I need it. If it doesn't work I'll screw the idea. All that hassle just for the odd chance that someone besides me has a tablet ... not worth it.
-
RE: Tablet pen pressure - how to?
Thanks!
Not tablet PC, Wacom tablets. Wintab is what I need, thanks, I hope I can link that with D; as far as I've seen with a quick newsgroup search there are some problems with the calling convention *sigh*. I wasn't aware that it's not possible with the Windows API - really, I just assumed that it's there - how hard can it be? It's just logical to expect some kind of struct MOUSEPOINTEREX or something.
-
Tablet pen pressure - how to?
I'm either too blind or too stupid to find something on that subject, but ... how do you get the pen pressure from a graphics tablet and find out if the user is drawing with the eraser ... in Windows? It would be nice if someone knew if that's possible with SDL, but ... any information would be nice. I don't know what to google for anymore, and searching MSDN is ... well ... not exactly helpful.
-
RE: Toilet Server
Funny that the last one isn't a server rack at all - it's an audio rack. and while writing this post I discovered the most bizarre WTF I ever had - with every keystroke except backspace the site jumps to the top or the bottom, alternating, that's really annoying, I tell you, I get epilepsy (sp?) and can't see what I've typed ... argh. Is that f'ed up javascript or Opera?