Click here to Skip to main content
15,902,276 members
Home / Discussions / C#
   

C#

 
Generalplaying a wav file :- directx/c# Pin
Anonymous12-Jul-04 8:57
Anonymous12-Jul-04 8:57 
GeneralClass or Struct Pin
Gomac12-Jul-04 7:34
Gomac12-Jul-04 7:34 
GeneralRe: Class or Struct Pin
Heath Stewart12-Jul-04 9:31
protectorHeath Stewart12-Jul-04 9:31 
QuestionScroll a Treeview in Code? Pin
selden0312-Jul-04 6:29
selden0312-Jul-04 6:29 
AnswerRe: Scroll a Treeview in Code? Pin
Jay Shankar12-Jul-04 20:54
Jay Shankar12-Jul-04 20:54 
QuestionConstructing a setup project with variable paths not working??? Pin
LongRange.Shooter12-Jul-04 5:13
LongRange.Shooter12-Jul-04 5:13 
QuestionCan not catch KeyDown message from RETURN key Pin
Roman Muntyanu12-Jul-04 3:49
Roman Muntyanu12-Jul-04 3:49 
AnswerRe: Can not catch KeyDown message from RETURN key Pin
Peter Vertes12-Jul-04 4:22
Peter Vertes12-Jul-04 4:22 
I over came this problem by using the ASCII value for the return key (13). Here's how it works in code:

<br />
private void YouCallBackMethod(object sender, System.Windows.Forms.KeyPressEventArgs e)<br />
{<br />
    // was the return key pressed ?<br />
    if (e.KeyChar == (char)13)<br />
    {<br />
        // yes the return key was pressed<br />
    }<br />
    else<br />
    {<br />
        // no the return key was not pressed<br />
    }<br />
}<br />


Hope this helped...
GeneralRe: Can not catch KeyDown message from RETURN key Pin
Nick Parker12-Jul-04 4:56
protectorNick Parker12-Jul-04 4:56 
GeneralRe: Can not catch KeyDown message from RETURN key Pin
Roman Muntyanu12-Jul-04 6:28
Roman Muntyanu12-Jul-04 6:28 
GeneralRe: Can not catch KeyDown message from RETURN key Pin
Mike Dimmick12-Jul-04 12:51
Mike Dimmick12-Jul-04 12:51 
GeneralRe: Can not catch KeyDown message from RETURN key Pin
Roman Muntyanu12-Jul-04 14:31
Roman Muntyanu12-Jul-04 14:31 
GeneralRe: Can not catch KeyDown message from RETURN key Pin
Roman Muntyanu14-Jul-04 1:55
Roman Muntyanu14-Jul-04 1:55 
Generalblock an IP Pin
chuchichäschtli12-Jul-04 2:28
chuchichäschtli12-Jul-04 2:28 
GeneralRe: block an IP Pin
Heath Stewart12-Jul-04 3:04
protectorHeath Stewart12-Jul-04 3:04 
Generalrequest socket Pin
shahrokh nabavi12-Jul-04 1:31
shahrokh nabavi12-Jul-04 1:31 
GeneralRe: request socket Pin
Heath Stewart12-Jul-04 4:07
protectorHeath Stewart12-Jul-04 4:07 
Generalrequest socket Pin
shahrokh nabavi12-Jul-04 1:29
shahrokh nabavi12-Jul-04 1:29 
GeneralA serious bug of list view in compact framework Pin
ting66812-Jul-04 0:18
ting66812-Jul-04 0:18 
GeneralRe: A serious bug of list view in compact framework Pin
Mike Dimmick12-Jul-04 12:43
Mike Dimmick12-Jul-04 12:43 
GeneralRe: A serious bug of list view in compact framework Pin
ting66812-Jul-04 18:29
ting66812-Jul-04 18:29 
GeneralRe: A serious bug of list view in compact framework Pin
ting66812-Jul-04 21:01
ting66812-Jul-04 21:01 
General2 questions Pin
bouli11-Jul-04 23:37
bouli11-Jul-04 23:37 
GeneralRe: 2 questions Pin
Mike Dimmick11-Jul-04 23:56
Mike Dimmick11-Jul-04 23:56 
GeneralRe: 2 questions Pin
bouli12-Jul-04 0:25
bouli12-Jul-04 0:25 

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.