MFC CTaskDialog sample (MFCTaskDialog)

This MFC code sample demonstrates using the CTaskDialog class to create various task dialogs

C++ (111.8 KB)
 
 
 
 
 
4.3 Star
(4)
15,085 times
Add to favorites
5/5/2011
E-mail Twitter del.icio.us Digg Facebook
MFC
Sign in to ask a question


  • corruption!
    2 Posts | Last post March 22, 2013
    • I build project with VS2012, and runs in Win7 64. There is corruption. In function CMFCTaskbarApp::InitInstance(), Line 156, the pTaskBar is a NULL value. Modified as below:
      
      if (pTaskBar)
      {
      	// Crée les deux boutons
      	HRESULT hr = pTaskBar->ThumbBarAddButtons(hwndMain, 2, btn);
      	ASSERT(SUCCEEDED(hr));
      }
      
      there are still some other similar bug in the program.
    • Sorry, I copy to the wrong project. It's for another TaskDialog sample.