LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
GriffinRU

ToolWindow Style in VI Properties

Status: Declined

Any idea that has received less than 2 kudos within 2 years after posting will be automatically declined.

Add ToolWindow Style option in Window Appearance (VI Properties).

image_png.png

Workaround example.

 

Allow adding additional buttons to window frame (add to min/max/close) with user configurable icons.

6 Comments
RavensFan
Knight of NI

What is a "ToolWindow Style" option?

 

I don't think you'll be able to add additional buttons to the window title bar besides Min/Max/Close.  They are all things defined by the operating system and its Window handler, not by LabVIEW.  While the OS allows applications to hide those buttons, I don't think it allows them to modify them or add more.

GriffinRU
Member

LabVIEW developers should be able to accomplish that with no problem.

Knight of NI

 


@Ravens Fan wrote:
What is a "ToolWindow Style" option?

 

He's referring to the second window in the screenshot which has a thinner title bar and does not have an icon or the minimize/maximize button. In a Visual Studion project you can create this type of window. In the example shown the user is most likely using the Windows API to set the window style.

 

 


@GriffinRU wrote:

 

LabVIEW developers should be able to accomplish that with no problem.

I don't quite understand what this is referring to. Are you referring to having the style available or to adding the buttons? Those sound like 2 different things to me. As far as I know, the extra buttons for the ToolWindow style is not supported by Windows.

 

GriffinRU
Member

"I don't quite understand what this is referring to. Are you referring to having the style available or to adding the buttons? Those sound like 2 different things to me. As far as I know, the extra buttons for the ToolWindow style is not supported by Windows."

Of course this are 2 differnet things, but in LabVIEW world it belongs to Window Appearance Category where you set how your application should look like...

Ok, maybe my English is not great but common have you seen ToolWindow style with extra buttons?

Idea was to expand Window Appearance category with following options:

  • add ToolWindow style
  • add ability to add/edit user defined and system buttons

-Artur

Knight of NI

 


@GriffinRU wrote:

Of course this are 2 differnet things, but in LabVIEW world it belongs to Window Appearance Category where you set how your application should look like...


 

I agree, so I don't see anything wrong in adding the ToolWindow style.

 

 


Ok, maybe my English is not great but common have you seen ToolWindow style with extra buttons?

Actually, no I haven't. As I said, as far as I know, the Windows operating system does not support this out of the box. If you do a search on the net you will find that solutions have basically centered on overriding the painting event of the title bar in order to draw your own buttons. 

 

Of course, this is completely moot, since LabVIEW draws its own windows in order to be able to run the code on various platforms. So, theoretically, I suppose it could be done.

 

Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 2 kudos within 2 years after posting will be automatically declined.