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 gkittelson 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. danielprovin

    persistent graphics

    I had finally found a happy end to my problem What I had to do was to subclass the existing window to a new function to handle the messages (like WM_PAINT) using SetWindowLong with the hwnd, GWL_WNDPROC argument, and the name of the new function to handle messages, than it handle only the...
  2. danielprovin

    persistent graphics

    I found that on MFC applications, u can't use WndProc to handle the WM_PAINT messages, u need to use the AfxRegisterWndClass function, but the help didn't help me that much so, anyone know something about handling window messages on a MFC dll? thanks Daniel
  3. danielprovin

    persistent graphics

    This code have worked on THE application, but when I tried to implement a dll that gets the hwnd from a window of another application, it won't hook to process the WM_PAINT message is there any way to make it goes thru the dll?
  4. danielprovin

    Dialog Box: Bitmap gets erased when a screen is dragged over.

    u just have to handle the WM_PAINT messages, give a look at that: http://www.flipcode.com/articles/article_win32skins.shtml then just look at the skinning part, and u can download the code too and there is one example from the MSDN library at...
  5. danielprovin

    persistent graphics

    Yes, the window is a PictureBox object from VB, but I will create an activeX_dll that will modify that PictureBox. I tried to handle the WM_PAINT message, re-painting the graphics, but it didn't work that's what I use: LRESULT CALLBACK WndProc(HWND hWnd, UINT uMessage, WPARAM wParam, LPARAM...
  6. danielprovin

    persistent graphics

    I am having problems trying to modify the persistent graphics of a window (the window already exist) using it hWnd and the Device Context. I can already paint on the window, but when another window goes on top of this window, it erases the paint So, can I paint to the background of the window...
  7. danielprovin

    persistent graphics

    I am having problems trying to modify the persistent graphics of a window (the window already exist) using it hWnd I can already paint on the window, but another window goes on top of this window, it erases the paint

Part and Inventory Search

Back
Top