P
P.Avg
Guest
Hello.
I'm practicing at c++ and i'm trying to build a project for key pressed count (i want to count the keys that user press per day).
So i'm using Microsoft visual studio, and i create a win32 project (desktop application).
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam){
switch (message) {
case WM_KEYDOWN:
The first 2 lines was by default and i add the WM_KEYDOWN.
It works very well when i press a key but its not working when the program is minimized.
So i was wondering there is any way to make it work while is minimized?
Continue reading...
I'm practicing at c++ and i'm trying to build a project for key pressed count (i want to count the keys that user press per day).
So i'm using Microsoft visual studio, and i create a win32 project (desktop application).
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam){
switch (message) {
case WM_KEYDOWN:
The first 2 lines was by default and i add the WM_KEYDOWN.
It works very well when i press a key but its not working when the program is minimized.
So i was wondering there is any way to make it work while is minimized?
Continue reading...