<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Checkboxes in Listview control in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Checkboxes-in-Listview-control/m-p/841668#M59637</link>
    <description>Hi,&lt;BR /&gt;I want some information on how to check and uncheck in a listview control. I don't have an image list in my listview control just the extended style for displaying check boxes.But I am unable to process check box messages.&lt;BR /&gt;I am not sure what the specific values of elements of the lv_item struct should be(the lvitem%state,lvitem%statemask,etc).&lt;BR /&gt;&lt;BR /&gt;I am able to check the checkboxes if I do the following:&lt;BR /&gt;lvi%state=8192&lt;BR /&gt;lvI%stateMask = LVIS_STATEIMAGEMASK&lt;BR /&gt;ret = SendMessage (hwndlist, LVM_SETITEMSTATE, &lt;BR /&gt;sz_list,LOC(lvi)) &lt;BR /&gt;&lt;BR /&gt;and uncheck them by setting lvi%state to 0.&lt;BR /&gt;But this is different from what has been given in help for the state parameter.&lt;BR /&gt;&lt;BR /&gt;In Help they have asked us to use a value for the state member to be the one-based index of the state image shifted left 12 bits. The stateimage index value is 2 in my case because that index when shifted by 12 bits results in 8192(the value I've used to check the check boxes).But how will zero cause them to be unchecked again?&lt;BR /&gt;Thanks,&lt;BR /&gt;Archana.</description>
    <pubDate>Tue, 13 Aug 2002 05:17:05 GMT</pubDate>
    <dc:creator>rjar</dc:creator>
    <dc:date>2002-08-13T05:17:05Z</dc:date>
    <item>
      <title>Checkboxes in Listview control</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Checkboxes-in-Listview-control/m-p/841668#M59637</link>
      <description>Hi,&lt;BR /&gt;I want some information on how to check and uncheck in a listview control. I don't have an image list in my listview control just the extended style for displaying check boxes.But I am unable to process check box messages.&lt;BR /&gt;I am not sure what the specific values of elements of the lv_item struct should be(the lvitem%state,lvitem%statemask,etc).&lt;BR /&gt;&lt;BR /&gt;I am able to check the checkboxes if I do the following:&lt;BR /&gt;lvi%state=8192&lt;BR /&gt;lvI%stateMask = LVIS_STATEIMAGEMASK&lt;BR /&gt;ret = SendMessage (hwndlist, LVM_SETITEMSTATE, &lt;BR /&gt;sz_list,LOC(lvi)) &lt;BR /&gt;&lt;BR /&gt;and uncheck them by setting lvi%state to 0.&lt;BR /&gt;But this is different from what has been given in help for the state parameter.&lt;BR /&gt;&lt;BR /&gt;In Help they have asked us to use a value for the state member to be the one-based index of the state image shifted left 12 bits. The stateimage index value is 2 in my case because that index when shifted by 12 bits results in 8192(the value I've used to check the check boxes).But how will zero cause them to be unchecked again?&lt;BR /&gt;Thanks,&lt;BR /&gt;Archana.</description>
      <pubDate>Tue, 13 Aug 2002 05:17:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Checkboxes-in-Listview-control/m-p/841668#M59637</guid>
      <dc:creator>rjar</dc:creator>
      <dc:date>2002-08-13T05:17:05Z</dc:date>
    </item>
  </channel>
</rss>

