[Q] How do I Create an NSEvent Using Runtime Functions?
[Q] How do I Create an NSEvent Using Runtime Functions?
- Subject: [Q] How do I Create an NSEvent Using Runtime Functions?
- From: Maurice Volaski <email@hidden>
- Date: Fri, 16 May 2003 13:04:30 -0400
I would like to create an NSEvent object in a plain C program by using
objc_msgSend to send the class method keyEventWithType, but I am getting
back "selector not recognized".
I ran a program that enumerates all the methods of NSEvent and there doesn't
seem to be any method registered in AppKit for keyEventWithType or any of
the methods for creating events.
What's going on?
--
Maurice Volaski, Flux Software email@hidden
http://www.fluxsoft.com/ ftp://ftp.fluxsoft.com
_______________________________________________
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.