Joaoha

Results 3 comments of Joaoha

Hi How can I change this to be the upper right corner of the screen? LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { if (uMsg == WM_DISPLAYCHANGE)...

Doesn't seem to work... cl /nologo /O2 /c hotcorner.c hotcorner.c hotcorner.c(26): error C2099: initializer is not a constant hotcorner.c(152): warning C4047: 'function': 'LONG' differs in levels of indirection from 'LRESULT...

ok, I've changed it but it still activates on top LEFT corner, not Top Right corner. ```#defineWIN32_LEAN_AND_MEAN #include #include #pragma comment(lib, "USER32") #pragma comment(linker, "/SUBSYSTEM:WINDOWS") #define KEYDOWN(k) ((k) & 0x80)...