hi,
wonder if all you clever peeps can solve this prob you prob can.right i wanna no how to automatically scroll down a edit box because when i set the text it scrolls to top :/
tell me if im doing nething wrongCode:void OutputTextToScreen(char *p) { szBuffer2.append(p); SetWindowText((HWND)hConsole, szBuffer2.c_str()); SendMessage((HWND)hConsole,EM_SETSEL,0,0); SendMessage((HWND)hConsole,EM_SCROLLCARET,0,0); }
thx in advance