Click here to Skip to main content
15,885,366 members
Home / Discussions / C#
   

C#

 
QuestionC# IrDA communication between Pocket-PC and MCP-2155. Pin
dannygilbert327-Jan-06 5:19
dannygilbert327-Jan-06 5:19 
AnswerRe: C# IrDA communication between Pocket-PC and MCP-2155. Pin
leppie27-Jan-06 7:14
leppie27-Jan-06 7:14 
QuestionVS c# Express - Deployment Project Pin
ranzask27-Jan-06 5:18
ranzask27-Jan-06 5:18 
AnswerRe: VS c# Express - Deployment Project Pin
Dave Kreskowiak27-Jan-06 5:35
mveDave Kreskowiak27-Jan-06 5:35 
GeneralRe: VS c# Express - Deployment Project Pin
ranzask27-Jan-06 8:51
ranzask27-Jan-06 8:51 
GeneralRe: VS c# Express - Deployment Project Pin
Dave Kreskowiak27-Jan-06 18:12
mveDave Kreskowiak27-Jan-06 18:12 
QuestionHow can I see if LeftShift or RightShift was pressed? Pin
adfgh7527-Jan-06 4:51
adfgh7527-Jan-06 4:51 
AnswerRe: How can I see if LeftShift or RightShift was pressed? Pin
tarasn27-Jan-06 5:56
tarasn27-Jan-06 5:56 
Declare the function somewhere inside your class:
<br />
[DllImport("user32")]<br />
public static extern short GetKeyState (Keys VirtKey);<br />


On your KeyDown event, you can check which shift key is pressed in this way:
<br />
bool lshiftpressed = ((GetKeyState(Keys.LShiftKey) & 256)==256);<br />
bool rshiftpressed = ((GetKeyState(Keys.RShiftKey) & 256)==256);<br />



DevIntelligence.com - My blog for .Net Developers
GeneralRe: How can I see if LeftShift or RightShift was pressed? Pin
adfgh7530-Jan-06 9:12
adfgh7530-Jan-06 9:12 
QuestionThread synchronization question Pin
User 665827-Jan-06 3:56
User 665827-Jan-06 3:56 
AnswerRe: Thread synchronization question Pin
Guffa27-Jan-06 4:21
Guffa27-Jan-06 4:21 
GeneralRe: Thread synchronization question Pin
User 665827-Jan-06 6:58
User 665827-Jan-06 6:58 
AnswerRe: Thread synchronization question Pin
Guffa27-Jan-06 8:43
Guffa27-Jan-06 8:43 
GeneralRe: Thread synchronization question Pin
User 665827-Jan-06 10:42
User 665827-Jan-06 10:42 
QuestionShow Window Pin
jzb27-Jan-06 3:27
jzb27-Jan-06 3:27 
AnswerRe: Show Window Pin
Dave Kreskowiak27-Jan-06 5:26
mveDave Kreskowiak27-Jan-06 5:26 
AnswerRe: Show Window Pin
jzb27-Jan-06 18:07
jzb27-Jan-06 18:07 
QuestionRowUpdating Event Pin
lordofcsharp27-Jan-06 1:48
lordofcsharp27-Jan-06 1:48 
QuestionHelp Regarding Crystal Report Pin
Taimoor Mirza27-Jan-06 1:17
Taimoor Mirza27-Jan-06 1:17 
AnswerRe: Help Regarding Crystal Report Pin
ltxuan27-Jan-06 1:56
ltxuan27-Jan-06 1:56 
GeneralRe: Help Regarding Crystal Report Pin
Taimoor Mirza27-Jan-06 2:01
Taimoor Mirza27-Jan-06 2:01 
QuestionTooltip popup on pointing to text. As a plugin in VS .NET Pin
AlnKG27-Jan-06 0:56
AlnKG27-Jan-06 0:56 
QuestionGRAPHICS.FILLELLIPSE Pin
Greeky27-Jan-06 0:44
Greeky27-Jan-06 0:44 
AnswerRe: GRAPHICS.FILLELLIPSE Pin
leppie27-Jan-06 1:03
leppie27-Jan-06 1:03 
GeneralRe: GRAPHICS.FILLELLIPSE Pin
Greeky27-Jan-06 1:39
Greeky27-Jan-06 1:39 

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.