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 #49440 is a reply to message #49426] Fri, 09 February 2018 20:51 Go to previous messageGo to previous message
luoganda is currently offline  luoganda
Messages: 197
Registered: November 2016
Experienced Member
Quote:
Maybe you could quite the whole complaint here...

"Assertion failed in ...CtrlCore\Win32Wnd.cpp,line 528
top->hwnd"
Dll has regular DLL_APP_MAIN and PromptOK is called within LeftDown.
Couldn't it be done without DLL_APP_MAIN, that is without Ctrl::InitWin32(AppGetHandle()); and AppInitEnvironment__();,
just regular DllMain(onWVer)?
Or are this totally different(nonsharable) things and that 2calls must be called for Ctrl's to work properly?

Quote:
And another one / how to get Ctrl rect relative to main TopWindow?
Quote:
What exactly does that mean?

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
 
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: Fri May 10 01:28:51 CEST 2024

Total time taken to generate the page: 0.03539 seconds