Home » U++ Library support » U++ Core » Control with window handle 
	
		
		
			| Control with window handle [message #12625] | 
			Sun, 11 November 2007 15:47   | 
		 
		
			
				
				
				
					
						  
						mdelfede
						 Messages: 1310 Registered: September 2007 
						
					 | 
					Ultimate Contributor  | 
					 | 
		 
		 
	 | 
 
	
		I need to have a control with window handle (on linux), something like GLCtrl but with no OpenGL initialization... just an XWindow inside. 
I'm trying to duplicate parts of GLCtrl, but I stumbled upon the need to access some core private stuffs, as GLCtrl does. 
Checking CtrlCore, I see that GLCtrl is made friend of Ctrl class to allow low level access. 
 
Wouldn't be better to have a windowed control ? SOmetimes it's useful.... lurking inside code it seems to me that DHCtrl (on windows) have a window handle. 
 
Ciao 
 
Max 
 
p.s.: for now I'll do it with this damn'd trick of 
#define private public
#include <CtrlLib/CtrlLib.h>
#undef private
  
sigh... 
		
		
		[Updated on: Sun, 11 November 2007 15:56] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	| 
		
 |  
	
		
		
			| Re: Control with window handle [message #12649 is a reply to message #12632] | 
			Mon, 12 November 2007 10:20   | 
		 
		
			
				
				
				
					
						  
						mdelfede
						 Messages: 1310 Registered: September 2007 
						
					 | 
					Ultimate Contributor  | 
					 | 
		 
		 
	 | 
 
	
		Well, I'm trying to make a windowed X11 control, but that's not so easy.... just to criticise a bit, Upp code is not very well commented, I guess... to understand what it does is really difficult sometimes. 
		
		
		
 |  
	| 
		
	 | 
 
 
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 02:39:43 CET 2025 
 Total time taken to generate the page: 0.04767 seconds 
 |