Programming - cpueblo.com

ModifyStyleEx() - No task bar


글쓴이 : 유광희 날짜 : 2004-02-13 (금) 01:19 조회 : 8064
API ----------------------------------------------------- procedure TForm1.FormCreate(Sender: TObject); begin ShowWindow(Application.Handle, SW_HIDE); SetWindowLong(Application.Handle, GWL_EXSTYLE, GetWindowLong(Application.Handle, GWL_EXSTYLE) or WS_EX_TOOLWINDOW ); ShowWindow(Application.Handle, SW_SHOW); end; MFC ----------------------------------------------------- BOOL CTaskBarDlg::OnInitDialog() { CDialog::OnInitDialog(); // Set the icon for this dialog. The framework does this automatically // when the application's main window is not a dialog SetIcon(m_hIcon, TRUE); // Set big icon SetIcon(m_hIcon, FALSE); // Set small icon // TODO: Add extra initialization here ModifyStyleEx (WS_EX_APPWINDOW, WS_EX_TOOLWINDOW); return TRUE; // return TRUE unless you set the focus to a control }