Home » U++ Library support » U++ Widgets - General questions or Mixed problems » How to mix use widgets and win32 window in u++? 
	
		
		
			| How to mix use widgets and win32 window in u++? [message #24109] | 
			Sun, 27 December 2009 02:45   | 
		 
		
			
				
				
				
					
						  
						uncodelite
						 Messages: 6 Registered: May 2009 
						
					 | 
					Promising Member  | 
					 | 
		 
		 
	 | 
 
	
		Hello all, 
 
I try to combine u++ widgets and vim, so I need to create a application which mix use widgets and win32 window like vim editor window٬in details٬the application has a splitter, and two panels, the left panel will be a tree (for example, project tree), and the right panel will be a win32 window (like vim editor window, which created by CreateWindow() win32 API).  
 
The reason is that the win32 window is a self-respond-system, it is well done to respond all the message, like WM_PAINT, WM_KEY, ..., and I want to reuse the the source code. 
 
Can anyone tell me how to do this work? 
 
Best regards, 
uncodelite 
 
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
	
		
		
			| Re: How to mix use widgets and win32 window in u++? [message #24110 is a reply to message #24109] | 
			Sun, 27 December 2009 08:02    | 
		 
		
			
				
				
				  | 
					
						  
						mirek
						 Messages: 14271 Registered: November 2005 
						
					 | 
					Ultimate Member  | 
					 | 
		 
		 
	 | 
 
	
		| uncodelite wrote on Sat, 26 December 2009 20:45 |   Hello all, 
 
I try to combine u++ widgets and vim, so I need to create a application which mix use widgets and win32 window like vim editor window٬in details٬the application has a splitter, and two panels, the left panel will be a tree (for example, project tree), and the right panel will be a win32 window (like vim editor window, which created by CreateWindow() win32 API).  
 
The reason is that the win32 window is a self-respond-system, it is well done to respond all the message, like WM_PAINT, WM_KEY, ..., and I want to reuse the the source code. 
 
Can anyone tell me how to do this work? 
 
Best regards, 
uncodelite 
 
  |  
  
 
There is "DHCtrl" widget that is intended just right for this use - it allows you to embed "native" widgets (those with window handle HWND) into U++ parents (note that U++ widgets do not have HWND). 
 
Mirek
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 02:41:56 CET 2025 
 Total time taken to generate the page: 0.04886 seconds 
 |