Page 1 of 1

Holding rightmousebutton down

Posted: Sun May 20, 2007 5:36 pm
by Character
I hope this is not a stupid question.
(forgive me if it is)

When holding down the rightmousebutton while pointing at the
titlebar of any program, (also IExplorer when loading a website
for example), will freeze the thing the program is doing at that
moment. When releasing the button again, the process continues
where it stopped.
When you use a (native) thread this does not happen.

My question is:
What is the cause of this? Does anybody know?

Netmaestro already helped me out by advising me another API
(http://www.purebasic.fr/english/viewtop ... highlight=)
but I am still wondering what the cause is. (thanks Netmaestro!)
Microsoft bug? Or API intentional?

Funny, I must have clicked on window-titlebars millions of times
but never noticed it...

Posted: Sun May 20, 2007 6:46 pm
by Num3
ARghhh...

You've found the MS secret bug...

That's why they made Vista!!!!

Posted: Tue May 22, 2007 5:18 pm
by Fluid Byte
You can stop the program from freezing by swallowing the #WM_NCRBUTTONDOWN message. You would have to manually handle the system menu though.