xoax.net This C++ video lesson demonstrates how to draw lines and ellipses in Win32 using the Graphics Device Interface (GDI). Added code available at xoax.net Please submit all questions to our forum: xoax.net

Tags: , , , ,

24 Comments on C++ Win32 Lesson 4: Drawing Lines and Ellipses with GDI

  1. LeetGamer4L says:

    @darpop220 I don’t see why not but use VC++ or C::B, they are better and have a lot more features.

  2. bdrbtank says:

    Can you start doing diretx programing tutorials so we can write our own code from scratch?

  3. dragonlorder says:

    what are the hdc argument through out the GDI function calls?

  4. darpop220 says:

    does this work with dev c++

  5. bogusiareca says:

    I found a wonderful affiliate program that’s founded on helping others. Feel free to review the video on my page.

  6. shlee1577 says:

    help. When I debugged it after typing all the codes, it only said 16 errors. wtf am i supposed to do now?

  7. FireSign27 says:

    To get line numbers is easy.

    Tools – Options – Text Editor – C/C++

    At the bottom under the Display heading, check the ‘Line Numbers’ box.

  8. KillerNinjaM0nkey says:

    // Message handler for about box.
    INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
    {
    UNREFERENCED_PARAMETER(lParam);
    switch (message)
    {
    case WM_INITDIALOG:
    return (INT_PTR)TRUE;

    case WM_COMMAND:
    if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL)

  9. KillerNinjaM0nkey says:

    my codes are diffrent

    this is 162-170

    break;
    case WM_DESTROY:
    PostQuitMessage(0);
    break;
    default:
    return DefWindowProc(hWnd, message, wParam, lParam);
    }
    return 0;
    }

  10. Muratarh says:

    Can someone tell me how to get the line numbers on the left?

  11. SleeverThijs says:

    Thanks for the tutorial. I hope you can help me with this question:

    Why don’t you DeleteObject(hOldPen); ?

  12. TinklerStar says:

    Yep, I´m beginner, too and I´m also Finnish, but I still understand everything!

  13. Ta1kingPi3 says:

    i changed all dll files to open with notepad help

  14. albinoV says:

    Very helpful for a beginner like myself :)

  15. carlofabyss says:

    Works, thank you much.

  16. oFROGGERo says:

    Disreagard my last comment. Even though I copy exactly what you have done it says build error when I try to run it. PLease help.

  17. oFROGGERo says:

    The lines on the left of all the info doesnt show up on mine. The command lines that are in green. Please help.

  18. salemlovegirls says:

    oh ok..thanks :D

  19. eliteveteran says:

    press the hq button

  20. salemlovegirls says:

    sorry but…
    iam a beginner so .. i cant see the codes that are in your video and i dont know how to draw anything :S kinda confused… any help?

  21. eliavlevy says:

    Great, keep em coming :) Please :)

  22. zamliman says:

    great

  23. Jerdo2 says:

    great video keep emm coming

  24. Sandman267 says:

    Thanks! your videos rock!! :D

Leave a Reply

*

Powered by Yahoo! Answers