home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 10,073 of 10,840   
   StoneWare to All   
   Re: Send mouse clic   
   27 May 06 16:25:33   
   
   From: HejMedDig@NoSpam.Net   
      
   "Totoche"  skrev i en meddelelse   
   news:e59lst$d9m$1@news.tiscali.fr...   
   > Hello,   
   > I cant find a way to send a "mouse clic" (right or left) to an   
   > application, like SENDKEYS for the keyboard.   
   > Thanks for any answer   
      
   Use the Form_MouseDown routine...like this   
      
   Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single,   
   Y As Single)   
       If Button = 1 Then MsgBox "left"   
       If Button = 2 Then MsgBox "right"   
   End Sub   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca