看板 C_and_CPP 關於我們 聯絡資訊
各位大大好 我是C語言小白,這個問題有可能過於簡單 我有上網查,但大部分都會使程式整個隱藏(偷偷執行) 我想要的功能是 可以讓使用者看程式視窗畫面,但工作列不會出現這個小圖示 如開啟word,可以用word編輯文件,但工作列不會出現word圖示 如圖所示,但word有出現在工作列當中 https://upload.cc/i1/2021/09/14/kvonaz.png
請問大大有沒有辦法,如果有程式範例最好 謝謝各位大大 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 219.71.1.114 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1631618282.A.6A2.html ※ 編輯: windtodream (219.71.1.114 臺灣), 09/14/2021 19:52:16
pponywong: google: win32 hide window from taskbar 09/14 20:33
pponywong: 你要拿到window的hwnd 然後用 SetWindowLong 09/14 20:34
pponywong: 設定GWL_EXSTYLE flag 09/14 20:35
windtodream: 謝謝大大,可否有更明確的說明 09/14 20:53
ko27tye: 看win32 api 搞懂windows視窗應用程式原理 09/14 21:29
windtodream: 忘記說,如果是cmd方法有無不同 09/14 21:36
pponywong: 你要先搞懂什麼是 CRT (c run time) 09/14 22:07
pponywong: windows分 console 跟 windows 兩種 application 09/14 22:08
pponywong: 兩者的entry point是不一樣的 windows是 WinMain 09/14 22:08
pponywong: 你是要寫一個視窗程式 可以隱藏taskbar 09/14 22:09
pponywong: 還是寫一個程式 可以隱藏其他運行程式的taskbar? 09/14 22:10
pponywong: 如果你連win32 api都沒頭緒的話....建議多花時間學吧 09/14 22:11
windtodream: 謝謝大大們的回覆 09/14 23:43
F04E: ... 09/17 22:12