Cuando defino lo sigueinte:
Código:
private const int MOUSEEVENTF_LEFTDOWN = 0x02;
private const int MOUSEEVENTF_LEFTUP = 0x04;
private const int MOUSEEVENTF_RIGHTDOWN = 0x08;
private const int MOUSEEVENTF_RIGHTUP = 0x10;
private const int MOUSEEVENTF_MOVE = 0x0001;
private const int MOUSEEVENTF_LEFTUP = 0x04;
private const int MOUSEEVENTF_RIGHTDOWN = 0x08;
private const int MOUSEEVENTF_RIGHTUP = 0x10;
private const int MOUSEEVENTF_MOVE = 0x0001;
Veis que pongo 0x0... y lo siguiente. Esto me han dicho que es así y funciona pero quiero saber porque algunos ponen 0x000000002 y otros 0x02. Me gustaría saber exactamente la función que tienen esos números y porque distan tantos uno de otros.
Gracias.