Powerpoint Listview Library Update

Developed or developing a new product in PureBasic? Tell the world about it.
localmotion34
Enthusiast
Enthusiast
Posts: 665
Joined: Fri Sep 12, 2003 10:40 pm
Location: Tallahassee, Florida

Powerpoint Listview Library Update

Post by localmotion34 »

as part of my contributions of advanced gadgets to PB, the Powerpoint Listview mimics the "Pane_DC" class of MS Powerpoint.

-added support for distinguishing right and left clicks, #ppt_leftclick and #ppt_rightclick
-Each listview and it's numbering are completely separate from the PB gadget numbering identifiers
-Events are examined apart from the #PB_eventgadget, this uses the #PPT_click custom message

in the an extended release of this later on, the images stored in each item of the PPT Listview will just be representations of an actual image list stored in memory. so, when you want to retrieve an items image, the listview will direct you to the memory address of the FULL AND COMPLETE image, and not the resized-scaled down one displayed in the PPT item.

http://www.penguinbyte.com/apps/pbwebst ... stview.zip

try it out and see what you think.

Code: Select all

!.WHILE status != dwPassedOut
! Invoke AllocateDrink, dwBeerAmount
!MOV Mug, Beer
!Invoke Drink, Mug, dwBeerAmount
!.endw
localmotion34
Enthusiast
Enthusiast
Posts: 665
Joined: Fri Sep 12, 2003 10:40 pm
Location: Tallahassee, Florida

Post by localmotion34 »

and the crowd goes wild......

Code: Select all

!.WHILE status != dwPassedOut
! Invoke AllocateDrink, dwBeerAmount
!MOV Mug, Beer
!Invoke Drink, Mug, dwBeerAmount
!.endw
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Sorry, I could not compile the example (still have PB 3.92). I am downloading PB 3.93 right now :D
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

works, had to add two lines to the example file...

Code: Select all

IncludeFile "ppt res.pb"
IncludeFile "ppt listview.pb"
... guess you're using japbe? :-)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Post Reply