Click here to Skip to main content
15,887,262 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: "game" fast fingers [modified] Pin
Aljaz11125-Mar-09 13:04
Aljaz11125-Mar-09 13:04 
GeneralRe: "game" fast fingers Pin
CPallini25-Mar-09 22:33
mveCPallini25-Mar-09 22:33 
GeneralRe: "game" fast fingers Pin
Niklas L26-Mar-09 1:33
Niklas L26-Mar-09 1:33 
GeneralRe: "game" fast fingers Pin
Aljaz11126-Mar-09 3:35
Aljaz11126-Mar-09 3:35 
GeneralRe: "game" fast fingers Pin
CPallini26-Mar-09 4:03
mveCPallini26-Mar-09 4:03 
GeneralRe: "game" fast fingers [modified] Pin
Aljaz11126-Mar-09 5:31
Aljaz11126-Mar-09 5:31 
GeneralRe: "game" fast fingers Pin
CPallini26-Mar-09 7:20
mveCPallini26-Mar-09 7:20 
GeneralRe: "game" fast fingers Pin
Aljaz11126-Mar-09 7:53
Aljaz11126-Mar-09 7:53 
I made code like this now... in ontimer..
void CtimerDlg::OnTimer(UINT_PTR nIDEvent)
{
	// TODO: Add your message handler code here and/or call default
	
	

	int j= (rand()%2)+1;
		if(j==1) 
		{	
			m_sEdit=getRandomSymbol1();
			AppendTextToEditCtrl(m_edit, m_sEdit);
			skritEdit.GetWindowText(strGet);
			strGet.MakeUpper();
			if(m_sEdit==strGet) stevec1++;
			
		}
		....
		UpdateData(TRUE);

	CDialog::OnTimer(nIDEvent);
}


On pushed button1 1 timesets...on pushed button2 timekills and shows stevec1..now i dont know why stevec1 isn't raising when i hit specific char in hidden box..i have it visible for now and chars are normally showing in other edit box.. but when i killtime stevec is not correct.. Any solutions?
QuestionRe: "game" fast fingers Pin
CPallini26-Mar-09 8:48
mveCPallini26-Mar-09 8:48 
GeneralRe: "game" fast fingers Pin
David Crow25-Mar-09 9:26
David Crow25-Mar-09 9:26 
AnswerRe: "game" fast fingers Pin
led mike25-Mar-09 9:40
led mike25-Mar-09 9:40 
GeneralRe: "game" fast fingers Pin
Aljaz11125-Mar-09 9:47
Aljaz11125-Mar-09 9:47 
GeneralRe: "game" fast fingers [modified] Pin
CPallini25-Mar-09 10:11
mveCPallini25-Mar-09 10:11 
GeneralRe: "game" fast fingers Pin
led mike26-Mar-09 5:37
led mike26-Mar-09 5:37 
QuestionSerial Mouse data to Mouse driver [modified] Pin
THAQCD25-Mar-09 7:42
THAQCD25-Mar-09 7:42 
QuestionGetting notification from CRichEditView Pin
rp_suman25-Mar-09 6:20
rp_suman25-Mar-09 6:20 
AnswerRe: Getting notification from CRichEditView Pin
Iain Clarke, Warrior Programmer25-Mar-09 6:50
Iain Clarke, Warrior Programmer25-Mar-09 6:50 
Questionwinamp c++ class Pin
Jacavienna25-Mar-09 5:47
Jacavienna25-Mar-09 5:47 
QuestionDevPartner problem Pin
RedSonja25-Mar-09 5:11
RedSonja25-Mar-09 5:11 
AnswerRe: DevPartner problem Pin
Eytukan25-Mar-09 5:32
Eytukan25-Mar-09 5:32 
GeneralRe: DevPartner problem [modified] Pin
RedSonja25-Mar-09 20:57
RedSonja25-Mar-09 20:57 
QuestionBest way to measure time interval of external events Pin
Member 23626225-Mar-09 4:36
Member 23626225-Mar-09 4:36 
AnswerRe: Best way to measure time interval of external events Pin
Cedric Moonen25-Mar-09 4:38
Cedric Moonen25-Mar-09 4:38 
GeneralRe: Best way to measure time interval of external events Pin
Code-o-mat25-Mar-09 5:40
Code-o-mat25-Mar-09 5:40 
QuestionRe: Best way to measure time interval of external events Pin
CPallini25-Mar-09 5:48
mveCPallini25-Mar-09 5:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.