U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Widgets - General questions or Mixed problems » DHCtrl, Ctrl NoBackPaint ignored?
Re: DHCtrl, Ctrl NoBackPaint ignored? [message #49854 is a reply to message #49843] Fri, 18 May 2018 14:55 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
luoganda wrote on Wed, 16 May 2018 16:06
Using NoBackPaint or BackPaint(EXCLUDEPAINT) seems to be ignored(on DHCtrl for sure,on Ctrl probably the same).
When main window is resized, flickering is seen.
This could be probably solved on wPlatform with overriding WM_ERASEBKGND(just ret TRUE) if main Registered hBrushBack!=NULL.


Well, if you are using DHCtrl, you are sort of supposed to override

virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);


BTW, what is your reason to use DHCtrl?

Mirek
 
Read Message
Read Message
Read Message
Previous Topic: Ctrl creation via dll stuff
Next Topic: Suggestion for SuggestCtrl
Goto Forum:
  


Current Time: Tue Jul 14 09:14:58 GMT+2 2026

Total time taken to generate the page: 0.00444 seconds