ATTR_TASKBAR_BUTTON_TEXT
- Updated2023-02-21
- 2 minute(s) read
ATTR_TASKBAR_BUTTON_TEXT
Type: | System attribute |
Description: | For executables created in LabWindows/CVI, the LabWindows/CVI Run-Time Engine automatically adds a button to the taskbar. The text in the taskbar button is the application title that you specify in the Target Settings dialog. If you leave the application title blank, the executable filename is used instead. The button is added to the taskbar before the main or WinMain function is called. You can change the button text with ATTR_TASKBAR_BUTTON_TEXT. For executables that are created using an external compiler and that directly call the LabWindows/CVI libraries, the LabWindows/CVI Run-Time Engine adds a button to the taskbar when your program calls InitCVIRTE. By default, the text in the taskbar button is the executable filename. You can specify a different text string in either of the following two ways: create a string table resource (if you do not already have one) and add a string with ID number 65535, or set the value of this attribute before the call to InitCVIRTE. For executables that are created using an external compiler that do not directly call the LabWindows/CVI libraries but that load DLLs which do call the LabWindows/CVI libraries, the LabWindows/CVI Run-Time Engine does not by default add a button to the taskbar. By default, the text in the taskbar button is the executable filename. You can specify a different text string by setting the value of this attribute. Only the first 80 bytes of the value you pass to this attribute are used. When calling GetSystemAttribute, you must pass a buffer with at least 81 bytes |
Data Type: | string |
LabWindows/CVI Compatibility: |
LabWindows/CVI 4.0 and later |