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 » Problem with DHCTRL on Windows
Re: Problem with DHCTRL on Windows [message #50451 is a reply to message #50305] Wed, 31 October 2018 15:17 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
mdelfede wrote on Sat, 15 September 2018 15:34
Weird... if I change the WindowProc like this :

LRESULT DHCtrl::WindowProc(UINT message, WPARAM wParam, LPARAM lParam)
{
	DEBUG_INFO("WindowProc:" << message);
-->	if(message == WM_ERASEBKGND)
-->		return true;
	GuiLock __;
	return DefWindowProc(hwnd, message, wParam, lParam);
}


The problem disappears. Don't know why, but that's a solution at least.


Hi,

I have to say I am now in intense period of OpenGL development. I will probably cause you some problems, right now I suppose that "picking" does not work anymore (but IMO it should have been implemented separately anyway).

Things I have changed (so far just in Win32):

There is now just single OpenGL context. That is all that is required - OpenGL can switch context between windows. So it is faster and more importantly, textures etc.. can now be shared between windows safely.

I have noticed that if OpenGL view is part of application, some things are less snappy (e.g. when Splitter is involved), so I was playing with WM_PAINT a bit.

BTW, I think that I have did the same fix as you suggest independently, so perhaps you just updated to some intermediate variant.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: problem with IEBrowser from Control4U
Next Topic: Images not showing and callback not taking lambda
Goto Forum:
  


Current Time: Sat Jun 01 07:55:04 CEST 2024

Total time taken to generate the page: 0.01950 seconds