SystemParametersInfo ??


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: SystemParametersInfo ??

  1. #1
    Join Date
    Jul 2005
    Posts
    87

    Question SystemParametersInfo ??

    hi i have a probalm i make a loop
    that start with mouse Down
    And finsh with Mouse Up

    but i have DoEvent in the loop

    so what i need is to know in the loop if the mouse
    is Down if so i contnue if not i Exit

    what i need to ask
    if MouseDown then ....contnue

    i tray to ask with
    SystemParametersInfo (3,0&,vatptr(mMouse(0)),0&) all i get is

    mMouse(0)= 0
    mMouse(1)= 0
    mMouse(2)= 0

    Help Please

    Thank you
    iMosha

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Jul 2005
    Posts
    87
    Thank you


    the Probalm with PeekMessage is that
    wPramam = 1 if Mouse Up
    and
    wPramam = 0 if Mouse Down
    But if i just click i get (not moveing the mouse)
    i get
    wPramam = Priv_wPramam* if Mouse Up
    or
    wPramam = Priv_wPramam * if Mouse Down
    * (Priv_wPramam = 1 or Priv_wPramam = 0)


    so it's not working with MouseDownUp Events (Only) it need mouse move


    it's need to be samthing like:
    StillDown()
    or
    GetMouse()
    Last edited by imosha; 04-06-2006 at 07:43 PM.

Similar Threads

  1. Screensaver timeout value query
    By Ben Neville in forum VB Classic
    Replies: 4
    Last Post: 03-22-2001, 09:42 PM
  2. Replies: 4
    Last Post: 07-28-2000, 06:29 AM
  3. Replies: 0
    Last Post: 07-14-2000, 09:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center