globals
pretty much in your present do
DisplayScroll();
void DisplayScroll()
{
Directx.DrawString(xx,yy,D3DCOLOR_ARGB(255,255,0,0 ),pFont,"YOUR SCROLL HERE :)");//however you make your font
}
now make the thing that runs it
void RunScroll()
{
yy = 700;
while(1){
if(xx == 1000){
xx = 0;
}
else {
xx++;
}
}
}
Now Make a new Dll Thread
DWORD WINAPI Scrolling( LPVOID ){
RunScroll();
return true;
}
and if you have no idea what your doing
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
CreateThread(NULL, NULL, ScrollText, NULL, NULL, NULL);
}
return TRUE;
}
by TheLastSecond