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 » 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: Sat May 10 18:41:10 CEST 2025

Total time taken to generate the page: 0.03357 seconds