wince下半透明的处理
请问wince下能用
SetLayeredWindowAttributes函数么?mfc下可以,但是wince下load不到那个函数。
typedef BOOL (WINAPI *lpfn) (HWND hWnd, COLORREF cr, BYTE bAlpha, DWORD dwFlags);
lpfn g_pSetLayeredWindowAttributes;
m_hUser32 = LoadLibrary(_T("USER32.DLL"));
g_pSetLayeredWindowAttributes = (lpfn)GetProcAddress(m_hUser32, _T("SetLayeredWindowAttributes"));
if( g_pSetLayeredWindowAttributes != NULL)
g_pSetLayeredWindowAttributes(m_hWnd, RGB(255, 255, 255), 0, 1);
请问如何解决?