win32::api and win32::gui 
Author Message
 win32::api and win32::gui

hi. i'm currently using this code to select all the checkboxes in a listview
when it is loaded. what i'd like to do is just select the checkbox if
something equals something else, problem being that i don't even know how
this code is doing what its doing. could someone explain it to me or offer
any suggestions on chaning 1 checkbox?

my $SendMsg = new Win32::API("user32", "SendMessage", "NNNP", "N");
use constant LVIF_STATE  => 0x8;
use constant LVM_SETITEMSTATE  => 0x102B;
use constant LVIS_STATEIMAGEMASK  => 0xF000;
my $lpPoint = pack("LLLLLALLLL", LVIF_STATE, 0, 0,
0x2000,LVIS_STATEIMAGEMASK, " ", 127, 0, 0, 0);
my $rtn = $SendMsg->Call($ListView->{'-handle'}, LVM_SETITEMSTATE, -1,

Sat, 09 Oct 2004 05:54:30 GMT  
 [ 1 post ] 

 Relevant Pages 

1. xs trouble on Win32 (building Win32::API)

2. Win32::OLE and Win32::API programming

3. xs trouble on Win32 (building Win32::API)

4. Win32::OLE and Win32::API programming

5. Using Tk or Win32::GUI in Win32

6. Using Win32::API to access IO ports (Win95)

7. HELP! Invoking a DLL function using Win32::API

8. Win32 API question

9. Getting Win32::API to work

10. Win32::API for ActiveState Perl Build 500?

11. How to make ODBC API calls with WIN32::0DBC (ODBC.PM)

12. Aldo Calpini/Win32::API?


Powered by phpBB® Forum Software