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 #49658 is a reply to message #49426] Thu, 22 March 2018 21:46 Go to previous messageGo to previous message
luoganda is currently offline  luoganda
Messages: 214
Registered: November 2016
Experienced Member
DLL_APP_MAIN fix:
I remember that i had similar problem when not using hinstDll.
GetModuleHandle... did not returned same value, so
UPP::Ctrl::InitWin32(hinstDll/*AppGetHandle()*/);
Maybe adding UPP:: in front to all, like in EXE_APP_MAIN.

DHCtrl in TabCtrl:
I am not sure yet for this, maybe testcase another time, but:
how do i get any Ctrl rect position relative to TopWindow? And possibly in Layout override func?
Now i am using
rc=GetRect(); struct sZ{int x,y,w,h;}sz={rc.left,rc.top,rc.Width(),rc.Height()};
but rc.left/rc.top is always zero - how do i get that?

And, by the way, can another exe be implemented - something like a plugin - into upp application,
or is too much trouble implementing this because of separate event loops and such?

[Updated on: Thu, 22 March 2018 21:47]

Report message to a moderator

 
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 Jun 12 23:03:29 CEST 2025

Total time taken to generate the page: 0.68760 seconds