Latest News

  • Super Tower Defense 2 Game
    Sep 03, 2010

    New to the games section is Super Tower Defense 2. Featuring more maps, new units and bigger explosions.

  • Super Cards Online Multiplayer Game
    Aug 13, 2010

    Released today in the games section is the new Super Cards multiplayer card game. The aim of the game is to get rid of all your playing cards before your opposition.

  • Silverlight Online Chat
    Jul 24, 2010

    Today we launch the new Silverlight Live Chat application demonstrating the Liquid RichTextBox and Emoticon replacements.

  • New Super Shoot Em Up 2 Game
    Jun 29, 2010

    Added to the Games section is the new Super Shoot 'Em Up 2 game. Take control of your tank with the aim to defeat the computer controlled opponents. Features all new weapons, levels and Battle Mode!

  • Silverlight 4 Controls V5.3.2 Released
    Jun 28, 2010

    This release contains several fixes raised in the forums.

beaudetious
beaudetious
MenuItem MouseLeftButtonDown Event MouseButtonEventArgs Posted: Mar 26, 2010
 

I have a Menu that pops up over a Image control which I'm capturing the MouseLeftButtonDown (MLBD) event.  I also am capturing thet MLBD event for the menu items in the menu.  I've noticed that when the menu is over my control and I left click on a menu item that my control's MLBD event is fired too.  


I have tried setting the MouseButtonEventArgs Handled property to true but then the menu doesn't collapse - it stays visible after the click.


Any suggestions here on how I can "handle" this so that I do not fire the underlying control's MLBD event?


Thanks,

beaudetious

 
 
beaudetious
beaudetious
RE: MenuItem MouseLeftButtonDown Event MouseButtonEventArgs Posted: Mar 29, 2010
 

I'm sure I'm not the first one to notice this.  Any suggestions?

 
 
dan
dan
RE: MenuItem MouseLeftButtonDown Event MouseButtonEventArgs Posted: Apr 10, 2010
 

Hi,


This is correct, you need to close the menu yourself, so in your event handler call the Menu.Hide() method to hide the menu.


Thanks!