argumentum Posted March 3, 2024 Posted March 3, 2024 Is there a way to create a header without the divider ? I want to use it as a replacement for a menu: given that I can not manipulate the colors. So if the divider could be, not there, I guess it could be used as a menu. Help Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Moderators SmOke_N Posted March 3, 2024 Moderators Posted March 3, 2024 (edited) Replace the header with flat buttons? Edit: Wait, is this for a LV? Edited March 3, 2024 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.
argumentum Posted March 3, 2024 Author Posted March 3, 2024 Is the header only. But I guess is the same that's encapsulated in a listview. ( No clue ) Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Moderators SmOke_N Posted March 3, 2024 Moderators Posted March 3, 2024 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.
argumentum Posted March 3, 2024 Author Posted March 3, 2024 That above will let me do many things with the listview header but is the divider that's the trouble I could try labels on mouse over if the divider can not be ..., obliterated Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
argumentum Posted March 3, 2024 Author Posted March 3, 2024 (edited) ..and that is one of the GUI things I'd like to attend to. The other is the tab. So that I can make it HiDPI and DarkMode 😅 Edit: The tab control can be handled by adding a disabled label: so is not that big of a deal. Edited March 3, 2024 by argumentum Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Solution kurtykurtyboy Posted March 9, 2024 Solution Posted March 9, 2024 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. shameless plug... argumentum 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now