Results 1 to 2 of 2

Thread: ReleaseCapture,SendMessage()

  1. #1

    Question ReleaseCapture,SendMessage()

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: ReleaseCapture,SendMessage()

    How is this Qt related?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.