Broken drawing of ListIcon-GridlLines

Just starting out? Need help? Post your questions and find answers here.
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Broken drawing of ListIcon-GridlLines

Post by va!n »

In my project i am using ListIconGadgets with the attribute #PB_ListIcon_GridLines. Only the first vertical line from left will be shown correctly - all the other vertical lines between the other columns are not visible; while vertical lines are always visible! Example source from PB example works fine! Any idea why this happens and how to solve the problem? thanks

Using: PB 5.11 x64
System: Windows 8 Pro x64
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Broken drawing of ListIcon-GridlLines

Post by IdeasVacuum »

If you are coding for windows, try this to restore the lines display:

Code: Select all

SendMessage_(GadgetID(#MyListIcon), #LVM_SETEXTENDEDLISTVIEWSTYLE, #LVS_EX_GRIDLINES, #LVS_EX_GRIDLINES)
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Re: Broken drawing of ListIcon-GridlLines

Post by va!n »

@IdeasVacuum:
Many thanks for your fast reply. SendMessage works fine and fix the problem!
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Post Reply