Customizing Windows Taskbar Items
-
Is it possible to customize the windows task bar (not the system tray) items so that you can change the text that appears next to the task bar icon for an application? Also could you replace the text that appears next to the icon by a bitmap. That is instead of having " MyApp.exe" appear in the windows task bar, you could have " MyApplication" or " 'A Bitmap'". There seem to be a lot of articles on the system tray, but I havent seen any on the task bar. Many thanks 3green
-
Is it possible to customize the windows task bar (not the system tray) items so that you can change the text that appears next to the task bar icon for an application? Also could you replace the text that appears next to the icon by a bitmap. That is instead of having " MyApp.exe" appear in the windows task bar, you could have " MyApplication" or " 'A Bitmap'". There seem to be a lot of articles on the system tray, but I havent seen any on the task bar. Many thanks 3green
AFAIK Windows displays the Main Window title and it's icon on the task bar. The title can be set with SetWindowText in MFC, it's taken from the resource string IDR_MAINFRAME and optionally the current document name is added. The icon is the IDR_MAINFRAME icon resource. Helped?
"Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS
sighist | Agile Programming | doxygen -
Is it possible to customize the windows task bar (not the system tray) items so that you can change the text that appears next to the task bar icon for an application? Also could you replace the text that appears next to the icon by a bitmap. That is instead of having " MyApp.exe" appear in the windows task bar, you could have " MyApplication" or " 'A Bitmap'". There seem to be a lot of articles on the system tray, but I havent seen any on the task bar. Many thanks 3green
For a dialog-based app: * Use SetWindowText of the main dialog to set the dialog's title - this text will also appear in the task bar * Design two dialog resources, one 16x16, the other 32x32, use LoadImage to load them, then use the Dialog's SetIcon to set both the small and the large icon (the small one will be displayed as the dialog's system emnu, and in the taskbar. the large one will be displayed when Alt-Tabbing between apps, as EXE icon in IE, etc.) There is no documented method (at least none I'm aware of) to show something else in the task bar than in the dialog title. However, there were one or two samples at CP showing how the Taskbar can be rearranged (it's really only a group of radio buttons) - they could have tips how you can customitze them.
"Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS
sighist | Agile Programming | doxygen