U++ framework
Do not panic. Ask here before giving up.

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 #46397 is a reply to message #46396] Thu, 05 May 2016 03:30 Go to previous messageGo to previous message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
They don't have one. They use related top window's device context to draw themselves.

In you case you may want to use a popup window to fake the Ctrl. A popup is a top level window and has its own HWND. Override the ctrl's layout virtual function (maybe some more to have the popup move/resive with the Ctrl)...
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DropList color is the same when editable or not
Next Topic: ColumnList clipping problem
Goto Forum:
  


Current Time: Sun Jul 19 00:44:34 GMT+2 2026

Total time taken to generate the page: 0.00784 seconds