fudadmin Messages: 1321 Registered: November 2005 Location: Kaunas, Lithuania
Ultimate Contributor Administrator
I want to use HDC m_hdc=GetDC() and paint myself. I've found RemoveFullRefresh() method but I've got an error:
Ctrl::RemoveFullRefresh' : cannot access private member declared in class 'Ctrl'. How could I use it or what are the alternatives?
Yes, thank you, this works. But I wanted to disable U++ Paint-Draw system ...
Even that is possible. Depends on what level you want to do that. Relatively safe option is to use DHCtrl, which is special Ctrl that has HWND (normal Ctrls do not). Then override WindowProc and handle WM_PAINT messages.