Allow to start our App several times
Brauchen wir, da sich die GDE meistens sträubt, sich richtig zu zeichnen. Hiermit kann man mehrmals auf "Run" drücken, bis es funktioniert.
This commit is contained in:
		
							parent
							
								
									4a7530d4a8
								
							
						
					
					
						commit
						e244248d12
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -220,9 +220,9 @@ void CGDE_3View::OnButtonzoomfit()
 | 
				
			||||||
void CGDE_3View::OnStartButton() 
 | 
					void CGDE_3View::OnStartButton() 
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	theApp.m_stopflag=FALSE;
 | 
						theApp.m_stopflag=FALSE;
 | 
				
			||||||
	if(theApp.vw->uthread==NULL)
 | 
						/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////if(theApp.vw->uthread==NULL)
 | 
				
			||||||
		theApp.vw->uthread = AfxBeginThread(StartGDE, &theApp, THREAD_PRIORITY_NORMAL);
 | 
							theApp.vw->uthread = AfxBeginThread(StartGDE, &theApp, THREAD_PRIORITY_NORMAL);
 | 
				
			||||||
	else AfxMessageBox("User_main is already running\n",MB_OK);
 | 
						//else AfxMessageBox("User_main is already running\n",MB_OK);
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void CGDE_3View::OnStopButton() 
 | 
					void CGDE_3View::OnStopButton() 
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue