I wrote a little application that uses hotkeys, I was hoping to be able to do some functions while playing half-life.
So here is my problem: The application works fine on W2K but on Win98 when the game isn't running it works but does not work when the game is running. I'm using Visual C++ 6 on W2K for development.
I use GlobalAddAtom() and RegisterHotKey() to register the hotkey.
I use NULL for the HWND (handle to window).
In my WinMain message loop (while (GetMessage(&msg, NULL, 0, 0))) I look for the WM_HOTKEY message.
Anyoe know why this doesn't work on Win98?
So here is my problem: The application works fine on W2K but on Win98 when the game isn't running it works but does not work when the game is running. I'm using Visual C++ 6 on W2K for development.
I use GlobalAddAtom() and RegisterHotKey() to register the hotkey.
I use NULL for the HWND (handle to window).
In my WinMain message loop (while (GetMessage(&msg, NULL, 0, 0))) I look for the WM_HOTKEY message.
Anyoe know why this doesn't work on Win98?
