Yes I can work with WM_LBUTTONDOWN try something like this
WM_LBUTTONDOWN:
MessageBox(NULL,"Left Button!","Tittle Hello",MB_OK);
break;
BeginPaint() and EndPaint() is bad, because, when I will call it, the buttons will be really invisible just what I painted is visible, thats bad!
With GetDC...
Hi there, I have problem with subclassing, with painting. Try my code, it looks ok, but doesnt work. What I am doing bad?
I need paint some on my buttons.
#include <windows.h>
#include <stdlib.h>
#include <wingdi.h>
/* Make the class name into a global variable */
char szClassName[ ] =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.