--------------------- CheckBufferLength -------------------------------- this is a replacement for the StringCchLength function found in the platform SDK. See MSDN for details. Only ever used for checking toolbar strings ------------------------------------------------------------------------