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 » Ctrl creation via dll stuff
Re: Ctrl creation via dll stuff [message #49655 is a reply to message #49440] Thu, 22 March 2018 11:24 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
luoganda wrote on Fri, 09 February 2018 20:51

If i have a DHCtrl and want to use it in TabCtrl for exact child position where "slaveCtrl" usually is,
how do i get that position? for regular Ctrl you just call TabCtrl.Set(...), but here it's a little different.
When DHCtrl is assigned to TabCtrl.Set(...) it becomes child of a main TopWindow, so a little hokus pokus must be used to set position of DHCtrl correctly


I believe that this should work out of box - position of that slave HWND should be recomputed correctly.

If it does not, we need to fix that... Testcase package would be very welcome here. (I mean: provide me a testcase and I will fix this Smile

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Random problems with destructors in GUI classes
Next Topic: DHCtrl, Ctrl NoBackPaint ignored?
Goto Forum:
  


Current Time: Thu May 09 23:37:57 CEST 2024

Total time taken to generate the page: 0.02413 seconds