this time the listview is its own independant gadget with subclass callbacks INDEPENDANT and OUTSIDE main window callback.
NOTE: initppt() and pptproc(hwnd,msg,wparam,lparam) MUST be called. just put them right below usejpegdecoder(), ect. its not that bad, really. some people just hate to type the extra 2 lined of code.
want to get the number pptlistview clicked?
select waitwindowevent()
case #ppt_click
select ppteventid()
case 0
case 1
case 2
http://www.penguinbyte.com/apps/pbwebst ... xample.zip
there is the link. give it a try and tell me what you think.
oh and by the way, this makes a good example of how to subclass and post and interpret your own custom messages.
regards.
PowerPoint Listview 2.0 beta released
-
- Enthusiast
- Posts: 665
- Joined: Fri Sep 12, 2003 10:40 pm
- Location: Tallahassee, Florida
PowerPoint Listview 2.0 beta released
Code: Select all
!.WHILE status != dwPassedOut
! Invoke AllocateDrink, dwBeerAmount
!MOV Mug, Beer
!Invoke Drink, Mug, dwBeerAmount
!.endw