aalexx 10 發表於 July 23, 2011 檢舉 Share 發表於 July 23, 2011 SetConsoleTextAttribute函數中BACKGROUND_INTENSITY、FOREGROUND_INTENSITY一般的RGB混色沒問題但有時候要設黑色的背景時就不要加BACKGROUND_INTENSUTYINTENSITY(強度)是甚麼意思啊 ? 鏈接文章 分享到其他網站
j100002ben 10 發表於 July 23, 2011 檢舉 Share 發表於 July 23, 2011 應該是前景色和背景色的差別吧..The runtime always assigns low-intensity to the background if the background color is black. Using high-intensity would cause the background to be dark gray, which tends to make the screen look muddy.Many devices do not support a background intensity independent from the foreground intensity (most terminals, for example). When that is the case, the runtime declares the background intensity to be low-intensity.參考:http://www.infotraxsys.com/dev/acudocs50/comprun/gt400122.htmPS:倒數第二行的英文打錯字啦,結果Google只找得到你發得的這篇文章xd 鏈接文章 分享到其他網站
Recommended Posts
請登入後來留意見
在登入之後,您才能留意見
立即登入