Click here to Skip to main content
15,892,737 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Take and save the image from the Ip camera Pin
enhzflep7-Mar-12 7:19
enhzflep7-Mar-12 7:19 
QuestionHow to validate a socket descripter Pin
vikramlinux7-Mar-12 5:08
vikramlinux7-Mar-12 5:08 
QuestionRe: How to validate a socket descripter Pin
Richard MacCutchan7-Mar-12 5:12
mveRichard MacCutchan7-Mar-12 5:12 
AnswerRe: How to validate a socket descripter Pin
vikramlinux7-Mar-12 5:15
vikramlinux7-Mar-12 5:15 
AnswerRe: How to validate a socket descripter Pin
Chuck O'Toole7-Mar-12 5:24
Chuck O'Toole7-Mar-12 5:24 
GeneralRe: How to validate a socket descripter Pin
jschell9-Mar-12 5:07
jschell9-Mar-12 5:07 
QuestionProblem with button on Win7 Pin
john56326-Mar-12 21:05
john56326-Mar-12 21:05 
AnswerRe: Problem with button on Win7 Pin
enhzflep7-Mar-12 7:08
enhzflep7-Mar-12 7:08 
Never seen or heard this behaviour described before. It does sound very strange. I just tried a win32 dialog-based project (compiled and run under win7 x64 home premium) yet was still unable to replicate this behaviour.

Can you show the DialogProc that you are using? Mine is below. (I have 5 buttons, only respond to the clicking of two of them)

C++
BOOL CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
    switch(uMsg)
    {
        case WM_INITDIALOG:
            /*
             * TODO: Add code to initialize the dialog.
             */
            return TRUE;

        case WM_CLOSE:
            EndDialog(hwndDlg, 0);
            return TRUE;

        case WM_COMMAND:
            switch(LOWORD(wParam))
            {
                /*
                 * TODO: Add more control ID's, when needed.
                 */
                case IDC_BTN_QUIT:
                    EndDialog(hwndDlg, 0);
                    return TRUE;

                case IDC_BTN_TEST:
                    MessageBox(hwndDlg, "You clicked \"Test\" button!", "Information", MB_ICONINFORMATION);
                    return TRUE;
            }
    }
    return FALSE;
}

QuestionHow to request cookies to servers Pin
Joneeky6-Mar-12 15:45
Joneeky6-Mar-12 15:45 
QuestionSyntax for template specialization Pin
VentsyV5-Mar-12 10:43
VentsyV5-Mar-12 10:43 
AnswerRe: Syntax for template specialization Pin
VentsyV5-Mar-12 12:01
VentsyV5-Mar-12 12:01 
GeneralRe: Syntax for template specialization Pin
«_Superman_»5-Mar-12 14:48
professional«_Superman_»5-Mar-12 14:48 
Questionsoftware update concepts, resolving a name to a ip address Pin
jkirkerx5-Mar-12 6:34
professionaljkirkerx5-Mar-12 6:34 
QuestionRe: software update concepts, resolving a name to a ip address Pin
David Crow5-Mar-12 7:45
David Crow5-Mar-12 7:45 
AnswerRe: software update concepts, resolving a name to a ip address Pin
jkirkerx5-Mar-12 7:56
professionaljkirkerx5-Mar-12 7:56 
AnswerRe: software update concepts, resolving a name to a ip address Pin
Jochen Arndt5-Mar-12 7:50
professionalJochen Arndt5-Mar-12 7:50 
GeneralRe: software update concepts, resolving a name to a ip address Pin
jkirkerx5-Mar-12 7:59
professionaljkirkerx5-Mar-12 7:59 
AnswerRe: software update concepts, resolving a name to a ip address Pin
Chuck O'Toole5-Mar-12 9:52
Chuck O'Toole5-Mar-12 9:52 
GeneralRe: software update concepts, resolving a name to a ip address Pin
jkirkerx5-Mar-12 11:35
professionaljkirkerx5-Mar-12 11:35 
AnswerRe: software update concepts, resolving a name to a ip address Pin
Chuck O'Toole5-Mar-12 9:49
Chuck O'Toole5-Mar-12 9:49 
GeneralRe: software update concepts, resolving a name to a ip address Pin
jkirkerx5-Mar-12 11:38
professionaljkirkerx5-Mar-12 11:38 
QuestionSome native or raw C++ compilers Pin
Brandon-X120001-Mar-12 14:53
Brandon-X120001-Mar-12 14:53 
QuestionRe: Some native or raw C++ compilers Pin
Maximilien2-Mar-12 2:47
Maximilien2-Mar-12 2:47 
AnswerRe: Some native or raw C++ compilers Pin
Brandon-X120002-Mar-12 10:14
Brandon-X120002-Mar-12 10:14 
GeneralRe: Some native or raw C++ compilers Pin
CPallini4-Mar-12 21:55
mveCPallini4-Mar-12 21:55 

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.