Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » DHCTRL not refreshed
Re: DHCTRL not refreshed [message #50943 is a reply to message #50828] Mon, 14 January 2019 19:29 Go to previous messageGo to previous message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
Hi Mirek,

this is "solved" modifying the window proc of my ctrl like this :

LRESULT OCEView::WindowProc(UINT message, WPARAM wParam, LPARAM lParam)
{
	if(message == WM_PAINT)
	{
		RefreshLayout();
	}
	return DHCtrl::WindowProc(message, wParam, lParam);
}



Don't ask why... I really dont' know. I've tried with everything else with no changes or crashes.
This one works. Simple Refresh() doesn't, nor UpdateWindow nor anything else.

Ciao

Massimo
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TreeCtrl - How to expand all?
Next Topic: Brand new Win32 API project (no U++) with compilation error
Goto Forum:
  


Current Time: Wed Apr 24 16:22:27 CEST 2024

Total time taken to generate the page: 0.03183 seconds