HWND hWnd = m_pChildDlg->GetSafeHwnd();
::SetWindowLong(hWnd, GWL_EXSTYLE, GetWindowLong(hWnd, GWL_EXSTYLE) | WS_EX_LAYERED);
m_pChildDlg->SetLayeredWindowAttributes(0, 60, LWA_ALPHA);
위의 '60'을 조절하면 투명도를 조정할 수 있다.
HWND hWnd = m_pChildDlg->GetSafeHwnd();
::SetWindowLong(hWnd, GWL_EXSTYLE, GetWindowLong(hWnd, GWL_EXSTYLE) | WS_EX_LAYERED);
m_pChildDlg->SetLayeredWindowAttributes(0, 60, LWA_ALPHA);
위의 '60'을 조절하면 투명도를 조정할 수 있다.