Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Ctrl creation via dll stuff
Re: Ctrl creation via dll stuff [message #49434 is a reply to message #49426] |
Fri, 09 February 2018 13:53   |
 |
mirek
Messages: 14267 Registered: November 2005
|
Ultimate Member |
|
|
luoganda wrote on Thu, 08 February 2018 17:08I have a main loop and all in main.exe, but want to assign new ctrl(that is for Tab)
through dll, any suggestions about that?
It works ok, but when any functions being displayed as TopWindow,like PromptOK,
it complains something about "Top...".
Maybe you could quite the whole complaint here...
Quote:
And another one:
when assigning new TopWindow as a child to any Ctrl, then it works(opens) as child Ctrl,
is this the intent? probably yes.
Yes.
Quote:
Wouldn't it be easier to use TopWindow(orNewDerivedOne) instead of DHCtrl?
No. If you use TopWindow derived Ctrl as child, it is child (and does not have host platform widget handle, e.g. HWND). The idea is rather that you e.g. have some dialog that you want to use both standalone and as tab of some larger dialog.
Quote:
And another one / how to get Ctrl rect relative to main TopWindow?
What exactly does that mean?
[Updated on: Fri, 09 February 2018 13:53] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Aug 02 16:42:09 CEST 2025
Total time taken to generate the page: 0.09757 seconds
|