quote:
Originally posted by SpunkyLoveMuffcode:
var SW_MINIMIZE = 0x6;
Interop.Call('user32', 'ShowWindow', game.Handle, SW_MINIMIZE);
Why not:
code:
Interop.Call('user32', 'ShowWindow', game.Handle, 0x6);
in my opinion its better/more convenient to use constants like that, however I'd declare them globally instead of locally in the function :/