   wsprintf question
  Is it possible so take a fixed number of characters for an integer in wsprintf (if not, mayb another function)?like when that fixed number is 3:1 becomes "001" or "  1"239 becomes "239"Thanks in advance! 
  Have you tried something like sprintf(" %.2d",i)?  I''ve used sprintf("%2.2d",i) also, though I don''t remember what context, and it may have been a float instead of a decimal... ;  I believe a format string "%05d" would print an integer with a minimum width of 5 characters, with ''0'' used as padding, and "%5d" (the normal form) would do the same, but use spaces. ;  Agony - correct. ;  Of course, just to make sure you''re aware, a format string of "%02d" with a parameter value of 48392 will print out "48392".  The ''2'' only represents the minimum length, as I stated, but didn''t emphasize. ;  Thanks! 