Subj : Re: How to write running Letters on the screen To : borland.public.cpp.borlandcpp From : "Connie" Date : Thu Jul 10 2003 09:48 am Thanks for the response. I am using C++Builder 5.0 (I just realized that I may be in wrong group). I would say it is GUI application with a single running letter on the top line and left edge. Then there will be a couple of buttons on the bottom. Connie "Wayne A. King" wrote in message news:3f0d0522.322959@newsgroups.borland.com... > On Wed, 9 Jul 2003 16:51:16 -0500, "Connie" wrote: > > >I like to know how I can write a continues a running letter on the dialog. > >It will be like letters display one by one and go back to beginning. > > You need to be more specific. Do you mean a single letter? > Or do you mean a phrase or sentence? Like a marquis or banner? > Can you give an example? > > Also, what kind of program is this? DOS? Win16? EasyWin? > Win32? Console? GUI? Which compiler & version? > > When you say "on the dialog", what specifically are you referring to? > > A simple DOS example may be something like this: > > #include > #include > #include > > int main() > { > char temp, banner[] = ".........Hello, World!........"; > int i; > printf("\n"); > for(i=0; i<60; ++i) > { > printf("%s\r", banner); > delay(250); > temp = banner[0]; > memmove(banner, banner+1, sizeof banner - 2); > banner[strlen(banner)-1] = temp; > } > return 0; > } > > -- > Wayne A. King > (ba994@torfree.net, wayne.king@ablelink.org, > waking@idirect.com, Wayne_A_King@compuserve.com) .