Gold mine of Visual C++ tricks!
Posts tagged Ampersand in control caption
How to add ampersand(&) symbol to dialog control captions?
Jun 15th
![]()
For dialog controls we can assign keyboard accelerators. If you give the button text as “&Add”, then really it will become “Add” because the ampersand character is used to mark the keyboard accelerator for that control. But what to do if you want the button text to be “Add & Refresh“?
![]()
Just use && if you want ampersand as part of caption instead of Keyboard accelerator marker. For instance see the screenshot.

![]()
Targeted Audience – Beginners.