PDA

View Full Version : ReleaseCapture,SendMessage()



Naveen
2nd March 2006, 11:53
I'm using these two sentences

ReleaseCapture();
SendMessage(this->winId(), WM_NCLBUTTONDOWN, HTCAPTION, MAKELPARAM(m_old_pos.x(), m_old_pos.y()));

//Are these sentences used to give control back to the Operating system, to enable context menu by the operating system......

my doubt is When My application is in the restore mode and when it is minimized to the status bar .....
And when the left click is pressed The Application pops up onto the window and without moving the position of the Mouse when I right click on the Application on the status bar
the context menu is not remaining static but is sought of vanishing off as soon as it pops up


Could anyone Help

Thanks in Adv
Naveen

high_flyer
2nd March 2006, 19:01
How is this Qt related?