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

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: 14291
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: Sun Sep 13 02:19:50 GMT+2 2026

Total time taken to generate the page: 0.00653 seconds