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++ Core » GetHWND() always returns NULL?
Re: GetHWND() always returns NULL? [message #15445 is a reply to message #15444] Wed, 23 April 2008 23:08 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14266
Registered: November 2005
Ultimate Member
cdoty wrote on Wed, 23 April 2008 16:57

Under Windows, GetHWND() always returns NULL. How can I get the HWND of a control?

I've tried to get the handle during the control constuctor, during a Paint, and during the constructor for the App.


You can't. Ctrls do not have HWND Wink

Only top-level Ctrls have one or DHCtrl derived widgets (like GLCtrl).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem when sorting arrays of arrays
Next Topic: BlockStream::_Get does not buffer data (current svn version)
Goto Forum:
  


Current Time: Fri Jul 18 21:11:37 CEST 2025

Total time taken to generate the page: 0.03495 seconds