Search:

Type: Posts; User: insanedonut123

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,021

    case WM_PAINT: hdc =...

    case WM_PAINT:
    hdc = BeginPaint(hwnd, &paintstruct);
    SetTextColor(hdc, COLORREF(0x00FF0000));
    TextOut(hdc,150,150,string,sizeof(string)-1);
    ...
  2. Replies
    2
    Views
    1,021

    Linker Error

    I am attempting to compile the example of a windows app from the tutorial on this site, but I keep getting a [linker error] undefined reference on functions SetTextColor, TextOut, and GetStockObject....
Results 1 to 2 of 2