Go to Post I hope that all of our new members are as helpful as the one above. We will be in for an amazing season if that is the case. - Greg Needel [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 07-11-2010, 01:57
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: Computer playing Bejeweled Blitz project

MSDN is your friend

http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx


This function allows you to move the mouse:
Code:
BOOL WINAPI SetCursorPos(
  __in  int X,
  __in  int Y
);
it is in the file: User32.dll
X and Y are absolute coordinates on the screen
with 0,0 being the upper left corner of the screen

It returns a boolean value.

It is a similar call to get the cursor's position
Code:
BOOL WINAPI GetCursorPos(
  __out  LPPOINT lpPoint
)

typedef struct {
  LONG x;
  LONG y;
} POINT;
I do not know how to use the labview library call node, but this should help.
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Computer Science or Computer Engineering? KRibordy College & University Education 14 09-10-2009 01:56
saving project as a new project windell747 NI LabVIEW 3 01-02-2009 04:41
Music Playing Problem on Computer John Gutmann Chit-Chat 9 31-07-2007 17:04
pic: Kaizen Blitz Presents... The Blitz Box 2006 Ian Curtis Robot Showcase 0 24-02-2006 16:47
The Blitz is a GO!! Erin Rapacki Off-Season Events 6 06-06-2003 19:31


All times are GMT -5. The time now is 21:28.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi