05-12-2017, 11:44 AM
In version 0.7.0, the platform type of many UI objects changed for Windows (this is due to switching to MFC from win32).
hdi::core::Widget::platformWidget() now returns a CWnd* instead of HWND. To handle this change appropriately, include the following headers on Windows:
You can then obtain the underlying HWND from the CWnd* to utilize win32 functions, or you can update your code to use MFC functions with the CWnd* directly.
hdi::core::Widget::platformWidget() now returns a CWnd* instead of HWND. To handle this change appropriately, include the following headers on Windows:
Code:
#define _AFX_NOFORCE_LIBS
#include <afx.h>
#include <afxwin.h>
You can then obtain the underlying HWND from the CWnd* to utilize win32 functions, or you can update your code to use MFC functions with the CWnd* directly.