Disable Right Click Mouse Option

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mahesh123
    New Member
    • Oct 2007
    • 64

    Disable Right Click Mouse Option

    Hi,

    I had a small problem regarding the Right click of the Mouse button. ie when the form as Border Style= Fixed style, Control Box = False. these are the properties set to the form. and the problem when we make the exe and run that form then click continously on the form at the task bar(right click) . then we find the pop menu with option close and minimise are enable and all are disable. Actual result is even though when we click continously they the popmenu should not come, but it is comming.


    Thanks & Regards
    ---------------------------
    Mahesh
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Taskbar is the part of windows not your application. when you are clicking on the taskbar ,you are not clicking on the application. Better make the ShowIn Taskbar property of the form to false. By doing that the application will not come in the taskbar at all.

    Comment

    • Killer42
      Recognized Expert Expert
      • Oct 2006
      • 8429

      #3
      Haven't heard of this problem before. If it's a Windows bug I doubt there's much you can do to prevent it.

      But you could put some code in your Form_QueryUnloa d event procedure to cancel if it was caused by the user hitting the Close button.

      Comment

      Working...