   Edit contol text
  I'm trying to create an edit control (in VC++ 2005 + MS platform SDK) to act as a sort of log; simply outputing various events going on within the app. However, it's refusing to accept newlines, so that a lines reads: "First line.|Second line." instead of,"First Line.Second Line."I set it up like:HFONT hFont = (HFONT) GetStockObject (DEFAULT_GUI_FONT);hWnd = CreateWindowEx (WS_EX_CLIENTEDGE, "EDIT", "", ES_AUTOVSCROLL | ES_MULTILINE | WS_CHILD | WS_HSCROLL | WS_VISIBLE | WS_VSCROLL, nX, nY, nW, nH, hWndParent, (HMENU) wID, hInst, NULL);SendMessage (hWnd, WM_SETFONT, (WPARAM) hFont, MAKELPARAM (FALSE, 0));and add text by simplySetWindowText (hWnd, "First line.\nSecond line.");When working in VC++ 6.0, I never had any problems like this, any suggestions?   
  Try "Line1\r\nLine2".   ;  Excellent, that slipped my mind.   