Hi there..
Trying to draw a line on a frame using the MoveToEx and LineTo functions with no success.. Here's my code
Nothing shows on the frame...Code:
void DrawOnFrame()
{
hwnd = GetFrameWindow();
hdc = GetDC(hwnd);
MoveToEx(hdc, 150, 150, NULL);
LineTo(hdc, 150, 250);
ReleaseDC (hwnd, hdc);
}
// Call the function
DrawOnFrame();
Is the a way to change the color of the line? Maybe it defaults to the same color as the frame background

