I have a button on dialog box and I want to write program to open window and show word "Hi" when I click that button. So I write these below function
when I click that button there is word "Hi" display on my dialog box. But I want to show word "Hi" on new dialog box or new window (not same dialog box with my button) when I click button.
CWnd* pWnd = new CWnd;
pWnd->Create(_T("STATIC"), "Hi", WS_CHILD | WS_VISIBLE,
CRect(0, 0, 20, 20), this, 1234);
Do you know how to do that?