As for your ps, the code you need is in the information you provide. You use the SendMessage method to send the BCM_SETSHIELD message to the handle (in this case, the handle of your button) that should show it.
EDIT
pinvoke.net is a good place to get prototypes of your own functions, but if you don’t know what you are looking for, this is not the best. I would suggest a Windows API reference topic on MSDN . You can browse functions alphabetically, by category, and in Windows Release, all with a description of what they do, what they return, and flag options that control their actions.
source
share