Click here to Skip to main content
15,905,967 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: file icons Pin
Rajasekharan Vengalil28-Jun-07 22:11
Rajasekharan Vengalil28-Jun-07 22:11 
Questiondefference between DLL and Static library Pin
gentleguy28-Jun-07 21:33
gentleguy28-Jun-07 21:33 
AnswerRe: defference between DLL and Static library Pin
Rajasekharan Vengalil28-Jun-07 22:19
Rajasekharan Vengalil28-Jun-07 22:19 
AnswerRe: defference between DLL and Static library Pin
Hamid_RT29-Jun-07 2:22
Hamid_RT29-Jun-07 2:22 
Questioncannot open include file 'res\DSplit.rc2'. Pin
gentleguy28-Jun-07 21:28
gentleguy28-Jun-07 21:28 
AnswerRe: cannot open include file 'res\DSplit.rc2'. Pin
Programm3r28-Jun-07 23:25
Programm3r28-Jun-07 23:25 
QuestionActive X problem Pin
Karismatic28-Jun-07 21:26
Karismatic28-Jun-07 21:26 
Questionsending a string as keyboard keystrokes wrongly Pin
awah28-Jun-07 21:25
awah28-Jun-07 21:25 
sending a string as keyboard keystrokes wrongly

as u can see from my following code, KeyBoadText() is a function that accepts a string and then type the string out as if it was typed using the keyboard. but now i am having problem when my typetext = "abc"
instead of typing "abc", it types "123". how can i solve this?

[CODE]
void CStocksmsDlg::KeyBoardText(CString typetext)<br />
{<br />
	<br />
	int text_len = typetext.GetLength();<br />
<br />
<br />
 for(int i =0; i<text_len; i++)<br />
 {<br />
	    INPUT Input[2];<br />
  KEYBDINPUT ki;<br />
<br />
  ki.dwFlags = KEYEVENTF_EXTENDEDKEY | 0;<br />
  ki.time = 0;<br />
  ki.wScan = 0;<br />
  ki.wVk = typetext.GetAt(i);<br />
  Input[0].type = INPUT_KEYBOARD;<br />
  Input[0].ki = ki;<br />
  ki.dwFlags = KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP;<br />
  ki.dwFlags = KEYEVENTF_KEYUP;<br />
  Input[1].type = INPUT_KEYBOARD;<br />
  Input[1].ki = ki;<br />
  SendInput( 2, Input, sizeof(INPUT) );<br />
}<br />
<br />
}
[/CODE]
AnswerRe: sending a string as keyboard keystrokes wrongly Pin
nitin329-Jun-07 0:47
nitin329-Jun-07 0:47 
QuestionNeed to translate the text from one language(English) to other(Korean) Pin
Venigandla28-Jun-07 20:25
Venigandla28-Jun-07 20:25 
AnswerRe: Need to translate the text from one language(English) to other(Korean) Pin
Rajesh R Subramanian28-Jun-07 20:53
professionalRajesh R Subramanian28-Jun-07 20:53 
AnswerRe: Need to translate the text from one language(English) to other(Korean) Pin
swarup28-Jun-07 21:42
swarup28-Jun-07 21:42 
AnswerRe: Need to translate the text from one language(English) to other(Korean) Pin
hairy_hats29-Jun-07 0:10
hairy_hats29-Jun-07 0:10 
AnswerRe: Need to translate the text from one language(English) to other(Korean) Pin
Hamid_RT29-Jun-07 3:16
Hamid_RT29-Jun-07 3:16 
QuestionDialog Bar Problem Pin
g_sandipan28-Jun-07 20:10
g_sandipan28-Jun-07 20:10 
QuestionPortuser.cpp to get TCP/UDP tables with PIDS for pre-XP Pin
Akin Ocal28-Jun-07 19:31
Akin Ocal28-Jun-07 19:31 
QuestionProviding Seurity to Application Pin
swamy Narasimha28-Jun-07 19:23
swamy Narasimha28-Jun-07 19:23 
AnswerRe: Providing Seurity to Application Pin
_AnsHUMAN_ 28-Jun-07 20:23
_AnsHUMAN_ 28-Jun-07 20:23 
GeneralRe: Providing Seurity to Application Pin
swamy Narasimha28-Jun-07 21:18
swamy Narasimha28-Jun-07 21:18 
QuestionDisplay html and text data Pin
john563228-Jun-07 19:20
john563228-Jun-07 19:20 
AnswerRe: Display html and text data Pin
Hamid_RT29-Jun-07 3:05
Hamid_RT29-Jun-07 3:05 
QuestionMFC FrameWork concepts Pin
prithaa28-Jun-07 18:50
prithaa28-Jun-07 18:50 
QuestionRe: MFC FrameWork concepts Pin
Rajkumar R28-Jun-07 18:56
Rajkumar R28-Jun-07 18:56 
AnswerRe: MFC FrameWork concepts Pin
swarup28-Jun-07 19:06
swarup28-Jun-07 19:06 
AnswerRe: MFC FrameWork concepts Pin
Jhony george28-Jun-07 21:47
Jhony george28-Jun-07 21:47 

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.