Home » Community » Newbie corner » Maybe stupid qustions for UPP developers... 
	
		
		
			| Maybe stupid qustions for UPP developers... [message #29200] | 
			Sun, 10 October 2010 13:33   | 
		 
		
			
				
				
				
					
						  
						porto
						 Messages: 51 Registered: March 2007 
						
					 | 
					Member  | 
					 | 
		 
		 
	 | 
 
	
		1. There is a strange issue with display UPP windows: the window title bar becomes rounded shape not immediately, but first rectangle is drawn. Animated GIF File is attached. Native applications that use WinAPI don't have this issue. It's a little bit annoying. Can you explain or fix this issue? 
2. File selection window looks a little unusual. For example, I can't select folders "Downloads" or "Video". Is there a way to use a native file selection window, not using WinAPI? 
 
P.S. My OS is Windows XP (Russian). 
 
Thank you. 
Sorry for bad English.
		
		
		[Updated on: Sun, 10 October 2010 18:21] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	| 
		
 |  
	
		
		
			| Re: Maybe stupid qustions for UPP developers... [message #29204 is a reply to message #29200] | 
			Sun, 10 October 2010 14:41    | 
		 
		
			
				
				
				
					
						  
						andrei_natanael
						 Messages: 262 Registered: January 2009 
						
					 | 
					Experienced Member  | 
					 | 
		 
		 
	 | 
 
	
		Hello, 
 
1. Try the following code: 
#include <windows.h>
int CALLBACK WinMain(HINSTANCE hI, HINSTANCE hP, LPSTR lC, int nC)
{
    MessageBox(HWND_DESKTOP, "Switched to value 0", "Switch", MB_OK | MB_ICONINFORMATION);
    return 0;
}
// hopefully correct, not tested
 
Observe the window. If same happen, then it's a Windows issue, not U++. 
 
2. There is FileSel for file selection which is same on all platforms and FileSelector which is native for Windows and in Linux/Unix is a typedef for FileSel. 
 
Andrei
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 05:01:55 CET 2025 
 Total time taken to generate the page: 0.06250 seconds 
 |