Tooltip (original) (raw)
...
void Duplicate::Window_Open(Win::Event& e)
{
//________________________________________________________ tipMessage
tipMessage.AddTool(tbxInput, L"Please input a number");
tipMessage.SetTitleWithStandardIcon(L"Duplicate", TTI_INFO);
}
void Duplicate::btDuplicate_Click(Win::Event& e)
{
const double input = tbxInput.DoubleValue;
tbxInput.DoubleValue = 2.0*input;
}