Fabricating a mouse down
Fabricating a mouse down
- Subject: Fabricating a mouse down
- From: email@hidden
- Date: Tue, 25 Nov 2003 21:19:29 -0500
To create a mouse down event I have the following code.
NSEvent* event = [NSEvent mouseEventWithType: NSLeftMouseDown
location: NSMakePoint(blahx, blahy)
modifierFlags: nil
timestamp: 0
windowNumber: [window windowNumber]
context: [NSGraphicsContext
graphicsContextWithWindow: window]
eventNumber: -1
clickCount: 1
pressure: 1.0];
How do I get the timestamp and the event number? Thanks.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.