Click here to Skip to main content
15,881,803 members
Home / Discussions / C#
   

C#

 
GeneralRe: problem using dataRelation in dot net Pin
Dhyanga28-Jul-10 7:24
Dhyanga28-Jul-10 7:24 
AnswerRe: problem using dataRelation in dot net Pin
Dhyanga29-Jul-10 8:40
Dhyanga29-Jul-10 8:40 
QuestionProblem with Send Keys to background process Pin
Member 372749928-Jul-10 3:54
Member 372749928-Jul-10 3:54 
AnswerRe: Problem with Send Keys to background process Pin
freakyit28-Jul-10 4:17
freakyit28-Jul-10 4:17 
GeneralRe: Problem with Send Keys to background process Pin
Member 372749928-Jul-10 7:21
Member 372749928-Jul-10 7:21 
GeneralRe: Problem with Send Keys to background process Pin
Covean28-Jul-10 22:25
Covean28-Jul-10 22:25 
GeneralRe: Problem with Send Keys to background process Pin
Member 372749929-Jul-10 2:21
Member 372749929-Jul-10 2:21 
GeneralRe: Problem with Send Keys to background process Pin
Covean29-Jul-10 2:52
Covean29-Jul-10 2:52 
1. I think in this case you can't use the SendKeys function, because they send the input to the window that has the focus.
Can't you just switch the focus for this very short period of time to your app and than back to the app that had the focus before?

2. Ever tried to send KEYDOWN at first (try with ALT modifier set/unset) and after you sent left ALT + some key just sent an KEYUP event?

Something like this:
PostMessage(hWnd, KEYDOWN, VK_LEFTALT);
PostMessage(hWnd, KEYDOWN, VK_F);
Sleep(100);
PostMessage(hWnd, KEYUP, VK_F);
PostMessage(hWnd, KEYUP, VK_LEFTALT);

Greetings
Covean

General[SOLVED] Re: Problem with Send Keys to background process Pin
Member 372749929-Jul-10 3:33
Member 372749929-Jul-10 3:33 
AnswerRe: Problem with Send Keys to background process Pin
Covean28-Jul-10 4:19
Covean28-Jul-10 4:19 
QuestionShould not end my Application processes via Task Manager Pin
Krishna Varadharajan28-Jul-10 3:04
Krishna Varadharajan28-Jul-10 3:04 
AnswerRe: Should not end my Application processes via Task Manager Pin
PIEBALDconsult28-Jul-10 3:19
mvePIEBALDconsult28-Jul-10 3:19 
AnswerRe: Should not end my Application processes via Task Manager PinPopular
Roger Wright28-Jul-10 3:20
professionalRoger Wright28-Jul-10 3:20 
AnswerRe: Should not end my Application processes via Task Manager PinPopular
Dave Kreskowiak28-Jul-10 3:31
mveDave Kreskowiak28-Jul-10 3:31 
AnswerRe: Should not end my Application processes via Task Manager Pin
harold aptroot28-Jul-10 3:48
harold aptroot28-Jul-10 3:48 
AnswerRe: Should not end my Application processes via Task Manager Pin
Alan Balkany28-Jul-10 3:51
Alan Balkany28-Jul-10 3:51 
AnswerRe: Should not end my Application processes via Task Manager Pin
Yusuf28-Jul-10 4:13
Yusuf28-Jul-10 4:13 
AnswerRe: Should not end my Application processes via Task Manager Pin
freakyit28-Jul-10 4:21
freakyit28-Jul-10 4:21 
AnswerRe: Should not end my Application processes via Task Manager Pin
Sauro Viti28-Jul-10 5:18
professionalSauro Viti28-Jul-10 5:18 
AnswerRe: Should not end my Application processes via Task Manager Pin
Ravi Bhavnani28-Jul-10 11:39
professionalRavi Bhavnani28-Jul-10 11:39 
QuestionMessage Removed Pin
28-Jul-10 1:57
willworknow128-Jul-10 1:57 
AnswerRe: Formatting a RichTextBox with indents/columns (or any other control) Pin
Luc Pattyn28-Jul-10 2:30
sitebuilderLuc Pattyn28-Jul-10 2:30 
QuestionDateTime.Now.ToLongDateString() Pin
Member 387988128-Jul-10 1:07
Member 387988128-Jul-10 1:07 
AnswerRe: DateTime.Now.ToLongDateString() Pin
OriginalGriff28-Jul-10 1:24
mveOriginalGriff28-Jul-10 1:24 
GeneralRe: DateTime.Now.ToLongDateString() Pin
Member 387988128-Jul-10 1:46
Member 387988128-Jul-10 1:46 

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.