我正在尝试使用Haxe中的WindowsAPI来创建Windows应用程序。我已经使用ndlls和Haxe/Neko做到了这一点。但是,一旦我包含windows.h,它就会给出一个错误import cpp.Lib;
@:headerCode("#include <windows.h>")// if i comment this line or replace windows.h或DirectX SDK中
int x = 5;int coord = x | y;
NativeMethods.SendMessage(hwnd, WM_LBUTTONUP, new IntPtr(0), new IntPtr(coord));
使用上面的代码(ref: MSDN),我能够在外部应用程序的datagridview中选择一行。我想知道如何将ctrl-a和ctrl-c发送到同一