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 » Community » Newbie corner » Using an existing win32 control.
Re: Using an existing win32 control. [message #36649 is a reply to message #36644] Sun, 24 June 2012 06:38 Go to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi,

You can try to have a look at DHCtrl - it is a Ctrl derived class that allows you to access the HWND directly, so it might be the best way. I have almost no win32 programming experience, however, so I can't tell if it is even possible to run win32 control without win32 event loop.

To see how how to do the resizing and other event handling, have a look at GLCtrl. It uses DHCtrl to paint OpenGL graphics directly on U++ widget and will probably give few good hints.

Out of curiosity, what kind of control would you like to use this way? It might be actually easier to implement it in U++, or it might be even implemented by someone Wink

Best regards,
Honza
 
Read Message
Read Message
Previous Topic: GUI and printf
Next Topic: mousepos / click for a widget...
Goto Forum:
  


Current Time: Sun May 12 08:35:25 CEST 2024

Total time taken to generate the page: 0.03677 seconds