TaskBar

2 отговора 95 прегледа
#1

TaskBar

Kak moga da skriq buton na VC++ programata mi v TaskBar-a na DeskTop-a
mersi

Отговор
в отговор на neznam #2

Re: TaskBar

kato smenish tipa na prozoreca naprimer na tool window

Пламен
Отговор
в отговор на neznam #3

Re: MSDN

The Shell creates a button on the taskbar whenever an application creates a window that isn't owned. To ensure that the window button is placed on the taskbar, create an unowned window with the WS_EX_APPWINDOW extended style. To prevent the window button from being placed on the taskbar, create the unowned window with the WS_EX_TOOLWINDOW extended style. As an alternative, you can create a hidden window and make this hidden window the owner of your visible window.

The Shell will remove a window's button from the taskbar only if the window's style supports visible taskbar buttons. If you want to dynamically change a window's style to one that doesn't support visible taskbar buttons, you must hide the window first (by calling ShowWindow with SW_HIDE), change the window style, and then show the window.

The window button typically contains the application icon and title. However, if the application does not contain a system menu, the window button is created without the icon.

Отговор