Jump to content

Recommended Posts

Posted

Hello,

I upgraded to the new version tonight and after running my script, my listviews wouldn't show up in the GUI anymore.

Here is a sample of the code...

$lvJMMainPositionFunctions = GUICtrlCreateListView("",15, 170, 240, 420, BitOR($LVS_LIST,$WS_BORDER))
GUICtrlSetFont(-1, 10, 400, 0, "Tahoma")
GUICtrlSetOnEvent(-1, "lvJMMainPositionFunctionsClick")
_GUICtrlListViewSetColumnWidth(-1,0,220)
GUICtrlSetState(-1, $GUI_HIDE)
$lvJMMainPositionPrograms = GUICtrlCreateListView("",270, 170, 240, 420, BitOR($LVS_LIST,$WS_BORDER))
GUICtrlSetFont(-1, 10, 400, 0, "Tahoma")
GUICtrlSetOnEvent(-1, "lvJMMainPositionProgramsClick")
_GUICtrlListViewSetColumnWidth(-1,0,220)
GUICtrlSetState(-1, $GUI_HIDE)

And later on in the code, I set the state...

GUICtrlSetState($lvJMMainPositionFunctions,$GUI_SHOW)
GUICtrlSetState($lvJMMainPositionPrograms,$GUI_SHOW)

I saw that in that in this release they "Fixed: Incorrect listview creation with GUICtrlCreateListView()", and I am sure here lies my issue, but couldn't find anything else on the subject.

Any help would be appreciated. Thanks in advance!

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
  • Recently Browsing   0 members

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