Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Menu losing 'focus' when building? 
	| 
		
 |  
	| 
		
 |  
	
		
		
			| Re: Menu losing 'focus' when building? [message #27223 is a reply to message #22066] | 
			Mon, 05 July 2010 23:51   | 
		 
		
			
				
				
				
					
						  
						Sender Ghost
						 Messages: 301 Registered: November 2008 
						
					 | 
					Senior Member  | 
					 | 
		 
		 
	 | 
 
	
		Hello, Mirek. 
 
I made following fixes to (partially) solve this problem. 
 
Add declaration of Ide::ShowBottom function to uppsrc/ide/ide.h file after 719 line: 
 
Change code of uppsrc/ide/ide.h file around 722 line for following functions: 
	void      ShowConsole()                      { ShowBottom(1); }
	void      ShowConsole2()                     { ShowBottom(2); }
 
Add implementation of Ide::ShowBottom function to uppsrc/ide/Bottom.cpp file after 186 line: 
void Ide::ShowBottom(int i)
{
	if(i == btabs.GetCursor() && IsBottomShown())
		return;
	SetBottom(i);
}
 
 
The main problem with Ide::SetBar function, which activates after each Ide::ShowConsole from Ide::PutConsole function. 
Also Ide::SetBar function activates at the end of build process by Ide::SetIdeState function. 
 
Changed files attached to this message.
		
		
		[Updated on: Wed, 07 July 2010 09:42] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 06:47:30 CET 2025 
 Total time taken to generate the page: 0.05109 seconds 
 |