VS C++ from the beginning, text box, user input

Pages: 12
visual studio express versions don't support .rc files, but you can add them to your projct, just add new file and select Header file or something, then name the file to resource.rc and it will create one.

i think visual studio professional allows you to design dialogs with user interface and then add them to your project.

anyway, i prefere code blocks ide and gnu compiler, so you can try copy the code i gave into VS but it might need some tweeking :P
just today been searching around on google, and came accross how to handle tabs in win32 without dialog, you can just change the message loop to this:

1
2
3
4
5
6
7
8
9
10
MSG msg;

    while (GetMessage (&msg, NULL, 0, 0))
    {
        if (!IsDialogMessage(hwnd, &msg)) // handle tab ordering
        {
            TranslateMessage(&msg); // Translate virtual-key msg into character msg
            DispatchMessage(&msg); // Send msg to WindowProcedure(s)
        }
    }


then add the style WS_TABSTOP to the styles of the controls you want to tab to, then you can use tab and shift-tab to go through them :)
Topic archived. No new replies allowed.
Pages: 12