>The MESSAGEBOX() function parses the 2
N factors out of the various numbers passed to it to determine the various options. I need to accomplish this same sort of task. I should know this, but is there a formula or algorithm for parsing these factors out or does an iterative loop have to be used?
>
>Thanks,
Bill,
The underlying code is undoubtedly using bit-wise functions to determine the icon, button style, etc. If you know the incoming values, you simply need to use BITAND() to determine what's been specified. If a given flag returns zero or the same value that it's set at, you know that it wasn't or was specified, in that order.
George
Ubi caritas et amor, deus ibi est