sorry i cannot help you in this - but i made the same experiences :
sometimes the textcolour works the wrong way -
even if i set every text individually before .
one thing i recognized is, that text, which is allready on the screen -
printed to correct way !- suddenly changes colour the next time -
becaus of another text fragment having a different colour
(somehow the console emulation must have caused this)
i also discovered problems with goto(x,y) -
it mostly works - but sometimes the is a miscalculation - however.
in one case i had to place the cursor with goto(x,y) and the perform
a char 13 return to get into the desired line -
from this point on the next gotoxy work !
On 3 Aug 2001, at 11:22, bretek wrote:
> Hello!
>
> I have problems with textcolor() and cprintf() functions. I
> included conio.h to the source and added c:\Dev-
> C++\Lib\conio.o to "Further Object Files" in Project
> Options (as I had read in FAQ), but cprintf() has not
> operate well. I.e after textcolor(RED) cprintf() sometimes
> (but not always)
> prints characters with the default LIGHTGREY colour. What
> can I do? Is this bug fixed in version 4.01 ? Should I use
> a special compiler option?
>
> (Excuse my poor English.)
>
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|