Click here to Skip to main content
15,890,845 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Can a VC++ application be converted to the web? Pin
CPallini18-Sep-11 22:49
mveCPallini18-Sep-11 22:49 
GeneralRe: Try Windows Azure Pin
Software_Developer18-Sep-11 23:49
Software_Developer18-Sep-11 23:49 
GeneralRe: Replying to the OP Pin
Rajesh R Subramanian19-Sep-11 21:20
professionalRajesh R Subramanian19-Sep-11 21:20 
AnswerRe: Can a VC++ application be converted to the web? Pin
Erudite_Eric19-Sep-11 0:22
Erudite_Eric19-Sep-11 0:22 
GeneralRe: Can a VC++ application be converted to the web? Pin
Stefan_Lang19-Sep-11 0:31
Stefan_Lang19-Sep-11 0:31 
AnswerRe: Can a VC++ application be converted to the web? Pin
Orjan Westin20-Sep-11 2:28
professionalOrjan Westin20-Sep-11 2:28 
QuestionHow do I get recurring events from holding a button down? Pin
doug2518-Sep-11 7:51
doug2518-Sep-11 7:51 
AnswerRe: How do I get recurring events from holding a button down? Pin
enhzflep18-Sep-11 8:06
enhzflep18-Sep-11 8:06 
You'll get a WM_CHAR message sent each time (a) a key is pressed or (b) a key has been held for long enough to trigger another 'key-pressed' event.

Here's a minimal WindowProcedure
C++
LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
    switch (message)                  /* handle the messages */
    {
        case WM_DESTROY:
            PostQuitMessage (0);       /* send a WM_QUIT to the message queue */
            break;
        case WM_CHAR:
            printf("Key Pressed: %c\n", wParam);
            break;
        default:                      /* for messages that we don't deal with */
            return DefWindowProc (hwnd, message, wParam, lParam);
    }
    return 0;
}

GeneralRe: How do I get recurring events from holding a button down? Pin
doug2518-Sep-11 8:49
doug2518-Sep-11 8:49 
GeneralRe: How do I get recurring events from holding a button down? Pin
enhzflep18-Sep-11 10:38
enhzflep18-Sep-11 10:38 
GeneralRe: How do I get recurring events from holding a button down? Pin
doug2519-Sep-11 4:03
doug2519-Sep-11 4:03 
GeneralRe: How do I get recurring events from holding a button down? Pin
enhzflep19-Sep-11 4:12
enhzflep19-Sep-11 4:12 
GeneralRe: How do I get recurring events from holding a button down? Pin
Code-o-mat18-Sep-11 22:12
Code-o-mat18-Sep-11 22:12 
QuestionReading problem Pin
manju 317-Sep-11 18:40
manju 317-Sep-11 18:40 
AnswerRe: Reading problem Pin
Erudite_Eric17-Sep-11 20:59
Erudite_Eric17-Sep-11 20:59 
AnswerRe: Reading problem Pin
«_Superman_»18-Sep-11 4:14
professional«_Superman_»18-Sep-11 4:14 
AnswerRe: Reading problem Pin
CPallini18-Sep-11 22:01
mveCPallini18-Sep-11 22:01 
QuestionRe: Reading problem Pin
David Crow19-Sep-11 3:24
David Crow19-Sep-11 3:24 
QuestionHow to handle Column Click in a multi column list box Pin
Amrit Agr17-Sep-11 1:41
Amrit Agr17-Sep-11 1:41 
QuestionRe: How to handle Column Click in a multi column list box Pin
Richard MacCutchan17-Sep-11 3:03
mveRichard MacCutchan17-Sep-11 3:03 
AnswerRe: How to handle Column Click in a multi column list box Pin
Amrit Agr18-Sep-11 19:25
Amrit Agr18-Sep-11 19:25 
GeneralRe: How to handle Column Click in a multi column list box Pin
Richard MacCutchan18-Sep-11 23:04
mveRichard MacCutchan18-Sep-11 23:04 
GeneralRe: How to handle Column Click in a multi column list box Pin
David Crow19-Sep-11 3:26
David Crow19-Sep-11 3:26 
GeneralRe: How to handle Column Click in a multi column list box Pin
Richard MacCutchan19-Sep-11 4:00
mveRichard MacCutchan19-Sep-11 4:00 
GeneralRe: How to handle Column Click in a multi column list box Pin
David Crow19-Sep-11 4:40
David Crow19-Sep-11 4:40 

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.