Kid Napisano Luty 19, 2019 Autor Zgłoś Napisano Luty 19, 2019 Mam okienko: hSKomunikat = CreateWindow ("edit", "",ES_MULTILINE WS_VSCROLL WS_VISIBLE WS_CHILD WS_BORDER , 0, 0, width - 7, height - 345, hWinMain, NULL, hInst, NULL ); i dodaje text: char cbufor[1000]; char text = "\n nowa linia" long int lWinText = GetWindowTextLength (hSKomunikat); char cBufor[lWinText + strlen (text)]; GetWindowText (hSKomunikat , cBufor, lWinText + 1); strcat (cBufor, text); SetWindowText (hwnd, cBufor); ale chcę żeby ten text był w nowej lini a dodanie "\n" wstawia mi pionową kreskę jak to zrobić? Cytuj
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.