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: Drawing, Ellipses, Lesson, Lines, Win32
@darpop220 I don’t see why not but use VC++ or C::B, they are better and have a lot more features.
Can you start doing diretx programing tutorials so we can write our own code from scratch?
what are the hdc argument through out the GDI function calls?
does this work with dev c++
I found a wonderful affiliate program that’s founded on helping others. Feel free to review the video on my page.
help. When I debugged it after typing all the codes, it only said 16 errors. wtf am i supposed to do now?
To get line numbers is easy.
Tools – Options – Text Editor – C/C++
At the bottom under the Display heading, check the ‘Line Numbers’ box.
// 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)
my codes are diffrent
this is 162-170
break; case WM_DESTROY: PostQuitMessage(0); break; default: return DefWindowProc(hWnd, message, wParam, lParam); } return 0; }
Can someone tell me how to get the line numbers on the left?
Thanks for the tutorial. I hope you can help me with this question:
Why don’t you DeleteObject(hOldPen); ?
Yep, I´m beginner, too and I´m also Finnish, but I still understand everything!
i changed all dll files to open with notepad help
Very helpful for a beginner like myself :)
Works, thank you much.
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.
The lines on the left of all the info doesnt show up on mine. The command lines that are in green. Please help.
oh ok..thanks :D
press the hq button
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?
Great, keep em coming :) Please :)
great
great video keep emm coming
Thanks! your videos rock!! :D
Required fields are marked *Your email address will never be published or shared.
Name *
Email *
Website
Comment
Powered by Yahoo! Answers
@darpop220 I don’t see why not but use VC++ or C::B, they are better and have a lot more features.
Can you start doing diretx programing tutorials so we can write our own code from scratch?
what are the hdc argument through out the GDI function calls?
does this work with dev c++
I found a wonderful affiliate program that’s founded on helping others. Feel free to review the video on my page.
help. When I debugged it after typing all the codes, it only said 16 errors. wtf am i supposed to do now?
To get line numbers is easy.
Tools – Options – Text Editor – C/C++
At the bottom under the Display heading, check the ‘Line Numbers’ box.
// 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)
my codes are diffrent
this is 162-170
break;
case WM_DESTROY:
PostQuitMessage(0);
break;
default:
return DefWindowProc(hWnd, message, wParam, lParam);
}
return 0;
}
Can someone tell me how to get the line numbers on the left?
Thanks for the tutorial. I hope you can help me with this question:
Why don’t you DeleteObject(hOldPen); ?
Yep, I´m beginner, too and I´m also Finnish, but I still understand everything!
i changed all dll files to open with notepad help
Very helpful for a beginner like myself :)
Works, thank you much.
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.
The lines on the left of all the info doesnt show up on mine. The command lines that are in green. Please help.
oh ok..thanks :D
press the hq button
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?
Great, keep em coming :) Please :)
great
great video keep emm coming
Thanks! your videos rock!! :D