I'm trying to get the look of Windows Visual Style on a browse, but I also want to show lines between the columns and rows.
Has anyone figured out how to do this?
USEVISUALSTYLE with XbpBrowse
USEVISUALSTYLE with XbpBrowse
The eXpress train is coming - and it has more cars.
Re: USEVISUALSTYLE with XbpBrowse
Row lines don't work with visual styles. I added this using ownerdrawing (and I added different highlighting for Windows 10 (boxes), since row hilite is hard to see with those low contrasts). To get column lines back, you need to set XBPCOL_SEP_LINE for XBP_PP_COL_DA_COLSEPARATOR and (!) XBP_PP_COL_DA_ROWSEPARATOR, but there will be no line separator. Use XBPFRAME_BOX at XBP_PP_COL_DA_CELLFRAMELAYOUT.
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Re: USEVISUALSTYLE with XbpBrowse
I assumed that I could paint the lines with ownerdraw.
I had hoped there was a simpler solution.
Thanks for the advice.
I had hoped there was a simpler solution.
Thanks for the advice.
The eXpress train is coming - and it has more cars.