Home » U++ Library support » U++ Widgets - General questions or Mixed problems » why the ctrl does`t have HWND?
Re: why the ctrl does`t have HWND? [message #46404 is a reply to message #46390] |
Thu, 05 May 2016 20:52   |
|
Hello akabee!
Sorry for replying so late, but I think there is better way to do this. Have a look at DHCtrl in CtrlCore/Win32GuiA.h (or CtrlCore/X11GuiA.h for Linux version). DHCtrl is a special Ctrl that does nothing, but has its own HWND (or Window in X11 backend). DHCtrl can be added to your layouts and manipulated just like any other widget, so you don't need to keep track of the popup and move it all the time.
I think one of the original intents behind DHCtrl was actually quite similar to your usecase: It is used for direct rendering of OpenGL in GLCtrl. You can have a look at that one too, to get some hints about DHCtrl usage.
Best regards,
Honza
|
|
|
 |
|
why the ctrl does`t have HWND?
By: akebee on Wed, 04 May 2016 12:18
|
 |
|
Re: why the ctrl does`t have HWND?
By: Lance on Wed, 04 May 2016 22:24
|
 |
|
Re: why the ctrl does`t have HWND?
By: akebee on Thu, 05 May 2016 02:39
|
 |
|
Re: why the ctrl does`t have HWND?
By: akebee on Thu, 05 May 2016 03:11
|
 |
|
Re: why the ctrl does`t have HWND?
By: Lance on Thu, 05 May 2016 03:30
|
 |
|
Re: why the ctrl does`t have HWND?
By: Lance on Thu, 05 May 2016 04:08
|
 |
|
Re: why the ctrl does`t have HWND?
By: Lance on Thu, 05 May 2016 04:56
|
 |
|
Re: why the ctrl does`t have HWND?
By: akebee on Thu, 05 May 2016 08:50
|
 |
|
Re: why the ctrl does`t have HWND?
By: Lance on Thu, 05 May 2016 12:20
|
 |
|
Re: why the ctrl does`t have HWND?
By: akebee on Tue, 10 May 2016 10:26
|
 |
|
Re: why the ctrl does`t have HWND?
|
 |
|
Re: why the ctrl does`t have HWND?
By: akebee on Tue, 10 May 2016 10:50
|
 |
|
Re: why the ctrl does`t have HWND?
|
Goto Forum:
Current Time: Sat May 10 21:13:32 CEST 2025
Total time taken to generate the page: 0.00621 seconds
|