Mousedown event for pocket pc

  • Thread starter Thread starter juky
  • Start date Start date
J

juky

Hi all,

I am writing a code in vb .net for pocket pc 2003 and I need to handle
the event mousedown associated to a button. I tried with the following
function but it doesn't fire the event:

Private Sub Botton1_MouseDown(ByVal sender As Object, ByVal e As
System.Windows.Forms.MouseEventArgs) Handles Botton1.MouseDown

Moreover if I do the same with a picture instead of a button the
function works properly and catchs the event :

Private Sub PictureBox1_MouseDownP(ByVal sender As Object, ByVal e As
System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseDown

Any idea about it?

Thanks,

Juky
 
The Button contrl for CF does not have support for MouseDown event even if
it is displayed by IntelliSense window.
To see the list of supported events create a smart device application form,
drag and drop a button control and open up the Properties window
 
Not necessarily true. Many supported events don't show up in the Properties
window.
 
Back
Top