Windows 7 Training Kit for Developers now available

Description

To help prepare your applications for Windows 7, download the Windows 7 Training Kit for Developers. The kit includes code, videos and labs for both native Win32 C++ developers and .NET developers covering the new features available in Windows 7.

The Discussion

  • User profile image
    jake_scott88

    Sweeeeeeet

  • User profile image
    r3drogo

    veamos...

  • User profile image
    Ring0

    For Native Ribbon. I added global    HWND hWnd; // In RibbonApp.cpp

    Plus

    MessageBox(hWnd, L"Clicked on My Button!", L"My Button Execute", MB_OK | MB_APPLMODAL);

    (i.e. hWnd instead of NULL and see the | MB_APPLMODAL so you HAVE to click the messagebox.

     

    And in Ribbon.cpp

    extern HWND hWnd;

     

    So that clicking Ribbon button twice (or more) does NOT give EXCEPTION when *exiting* sample.

    Hope that helps anyone doing the Ribbon. (i.e. clicking more than once to get the MessageBox.   Smiley

     

     

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.