WAD [v26 Beta RC3]: MSGBOX color problems

Jan 12, 2014
423
7
Switzerland, SO
Hi

There seems a problem with the hexcolor for parameter /B and /F for the MSGBOX command. Somehow, it's "vice-versa", an example:

This should make a red background:

Code:
msgbox /bFF0000 OK test

Unfortunately, it generates a blue background. If works only, if I move the value for red to the end (value for blue) - like this:
Code:
msgbox /b0000FF OK test

which is not correct for RED,GREEN,BLUE format ...

PS; System: Windows 10 [Version 10.0.18363.752] x64 (Swiss German Windows, if this is important ...)
 

rconn

Administrator
Staff member
May 14, 2008
12,340
149
WAD - and MSGBOX has behaved this way for years (since v21).

The help is a little misleading here - the values are in RGB binary format, not string format. R is the least significant 8 bits, and B the most significant. TCC reads the entire number as a single RGB value; it doesn't parse the string and reverse the order. So a value of FF8844 means Blue FF, Green 88, Red 44.
 
  • Like
Reactions: Alpengreis
Similar threads
Thread starter Title Forum Replies Date
Alpengreis Fixed [v26 Beta RC2]: Crash after Options, Take Command, Advanced Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT v26 Public Beta build 26.0.21 Support 0
rconn News Take Command / TCC / CMDebug v26 Public Beta Support 0
vefatica v26 exception log gone crazy Support 6
S Issues with version v26.02.42 x64 Support 0
R Problem with @INT[ value] in V26 Support 9
Alpengreis Python support for 3.8.3 in TCC v26.x? Support 2
Peter Murschall TCC V26.01.3x Debugging has problems with Alias /R Support 1
Alpengreis Fixed [v26.00.26] Crash after answering INKEY with <Ctrl>+C Support 1
Peter Murschall V26-Issues in the BDEBUGGER ! Support 11
Alpengreis Remaining TCMD background process (v26) ... Support 19
rconn Dropping Windows 7 support in Take Command / TCC v26 Support 8
rconn News Take Command / TCC / CMDebug / TCC-RT Public Beta RC2 Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT Public Beta Build 26.0.20 Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT v25 Public Beta Build 8 Uploaded Support 9
rconn News Take Command / TCC / CMDebug / TCC-RT v25 Public Beta Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT v24.0.22 Public Beta Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT v24.0.21 Public Beta Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT v24.0.20 Public Beta Support 0
rconn News Take Command v24.0 Public Beta Support 0
rconn News CMDebug Public Beta build 21.01.47 Support 0
rconn News CMDebug Public Beta Support 0
rconn News Take Command + TCC + TCC-RT Version 21 Public Beta (RC1) Support 0
rconn News Take Command 20.0.12 Public Beta Uploaded Support 0
rconn News Take Command 20.0.11 Public Beta Uploaded Support 0
H Beta - DEDUPE /P - Too many prompts Support 0
T Beta - duplicate install Support 7
rconn News Take Command 20.0.10 Public Beta Uploaded Support 0
rconn News Take Command V20 beta build 9 Support 0
gentzel Fixed TCMD 20 beta @REGEXSUB problem Support 6
w_krieger TCMD 20 beta comment Support 0
JohnQSmith TC 20 Beta Support 6
rconn News Take Command v20 Public Beta Support 0
D Cloud Storage Integrator Beta 1 expired Support 12
rconn News Take Command v19 public beta build 24 uploaded Support 0
Alpengreis [TC 19.0 Beta 22/23] Install/Update-"Problems" Support 4
rconn News Take Command v19 public beta build 23 Support 0
rconn News Take Command 19.0 Public Beta Support 0
rconn News Take Command v18.00.14 public beta uploaded Support 0
Alpengreis How to? Installed v18 Beta - how buy/register? Support 2
rconn News Take Command 17.00.52 Public Beta RC1 Uploaded Support 0
rconn News Take Command 17.00.51 Public Beta Uploaded Support 0
rconn News Take Command 17.00.49 Public Beta Uploaded Support 0
rconn News Take Command 17.00.47 Public Beta Uploaded Support 0
rconn News Take Command 17.00.46 Public Beta Uploaded Support 0
rconn News Take Command 17.00.44 Public Beta Uploaded Support 0
rconn News Take Command 17.00.43 Public Beta Uploaded Support 0
rconn News Take Command 17.00.42 Public Beta Uploaded Support 0
cgunhouse One of the Focuses of V17 Beta Testing Should Be Command Line Parsing Support 1
rconn News Take Command 17.00.41 Public Beta Uploaded Support 0

Similar threads