Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. JohnCarmack

    Subclassing -> WM_PAINT of child window

    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...
  2. JohnCarmack

    Subclassing -> WM_PAINT of child window

    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[ ] =...

Part and Inventory Search

Back
Top