Jump to content
Sign in to follow this  
spudw2k

Listview Checkboxes Removes Border [solved]

Recommended Posts

spudw2k

Anybody know how to remedy this?

#include <GUIConstants.au3>

$width = @DesktopWidth * .5
$height = @DesktopHeight * .5
$gui = GUICreate("",$width,$height,-1,-1)

$list1 = GUICtrlCreateListView("fieldname",$width * .125,$height * .125,$width * .725,$height * .3,$LVS_NOCOLUMNHEADER,$LVS_EX_CHECKBOXES)
    GUICtrlCreateListViewItem("test",-1)
$list2 = GUICtrlCreateListView("fieldname",$width * .125,$height * .525,$width * .725,$height * .3,$LVS_NOCOLUMNHEADER)
    GUICtrlCreateListViewItem("test",-1)

GUISetState()

While 1
    $msg = GUIGetMsg()

    If $msg = $GUI_EVENT_CLOSE Then Exit
WEnd
Edited by spudw2k

Share this post


Link to post
Share on other sites
smashly

Hi, Replace $LVS_EX_CHECKBOXES with

BitOR($LVS_EX_CHECKBOXES, $WS_EX_OVERLAPPEDWINDOW)

Cheers

Share this post


Link to post
Share on other sites
spudw2k

Share this post


Link to post
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
Sign in to follow this  

×