Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Ctrl creation via dll stuff  
	
		
		
			| Re: Ctrl creation via dll stuff [message #49658 is a reply to message #49426] | 
			Thu, 22 March 2018 21:46    | 
		 
		
			
				
				
				
					
						  
						luoganda
						 Messages: 216 Registered: November 2016 
						
					 | 
					Experienced Member  | 
					 | 
		 
		 
	 | 
 
	
		DLL_APP_MAIN fix: 
I remember that i had similar problem when not using hinstDll. 
GetModuleHandle... did not returned same value, so 
UPP::Ctrl::InitWin32(hinstDll/*AppGetHandle()*/); 
Maybe adding UPP:: in front to all, like in EXE_APP_MAIN. 
 
DHCtrl in TabCtrl: 
I am not sure yet for this, maybe testcase another time, but: 
how do i get any Ctrl rect position relative to TopWindow? And possibly in Layout override func? 
Now i am using 
rc=GetRect(); struct sZ{int x,y,w,h;}sz={rc.left,rc.top,rc.Width(),rc.Height()}; 
but rc.left/rc.top is always zero - how do i get that? 
 
And, by the way, can another exe be implemented - something like a plugin - into upp application, 
or is too much trouble implementing this because of separate event loops and such?
		
		
		[Updated on: Thu, 22 March 2018 21:47] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |  
  
 
Goto Forum:
 
 Current Time: Tue Nov 04 10:07:37 CET 2025 
 Total time taken to generate the page: 0.03999 seconds 
 |