Quote:
Thank you for the excellent feedback.
You're welcome!
What would I use instead? Ok... Let's start with this: to the end user, the dropdown is simply a
list of images. There is nothing here to make the end user think that this is actually a directory (other than mentions of files in the forums when updating beta 2.0 to beta 2.1), nor should there be.
I am presuming that you are taking the selection index, getting the text from the control, and parsing out the tilde to create the path to load the image. A time saver, for sure. But if you are considering dropping the .PNG at the end (you just strcat it when you need it), you could search for a hyphen (-) instead of the tilde. This makes a nice delimiter, assuming you don't use it in a file name in the future. For the end user, it appears as a modifier punctuation of some sort.
I will point out that you could just as easily drop the tilde altogether. Either assure that the part previously before the tilde is always two words and parse for the second space (to replace with it the backslash), or simply add code to search for the string like
Vista Basicor
XP.
BTW, I'll add because I understand how it is easy it is to miss things when rushing for a release, the
TitleBar Button Background dropdown also contains
.png, which I suggest be removed.