Jump to content

_GUICtrlHeader_Create() without divider


Go to solution Solved by kurtykurtyboy,

Recommended Posts

  • Moderators
Posted (edited)

Replace the header with flat buttons?

Edit:
Wait, is this for a LV?

Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

  • Moderators

I remember Melba playing with header color, but I went through some random code here and it looks like you can do it using LarsJ code or at least his outline from the WM_* ... 

Gianni had some code posted in that thread that I read, looks like that will do what you wanted to the header colors... I was once pretty proficient in GUIs, but TBH, I didn't worry about aesthetics to often so other than doing a search either here, google or learn.microsoft, I won't be much help lol.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

Posted (edited)

..and that is one of the GUI things I'd like to attend to. The other is the tab.
image.png.d97d42745e68c383ad636fdec20ffa63.png

So that I can make it HiDPI and DarkMode 😅

Edit: The tab control can be handled by adding a disabled label:
image.png.4fce50624ecb12a709d341e8fe5d2370.png

so is not that big of a deal. 

Edited by argumentum

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

  • Solution

I'm not exactly sure what you're trying to achieve. I couldn't figure out how to hide the header divider line without custom drawing the entire thing. But if you just need to simulate a toolbar-like row of buttons, you could check this out - specifically the 2nd example. 

image.png.d6e3ad49c6161c23ee95800796bf66e2.png

 

shameless plug...

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...