Attached is the preliminary patch for full CustomDraw support plus the new DragDrop object. Missing are the CustomDraw and DragDrop samples which I have to take out from my app and do some more testing. t files would also be fine, but I'm not sure yet how to implement a DropFiles testcase.
Win32-GUI ChangeLog
===================
+ [Reini Urban] : 14 Mar 2006
- GUI.pm : Change version to 1.04, add -dropfiles to Window
- GUI.h : add CustomDraw and DropFiles support,
start with thread-safe static data definitions.
- Button.xs, Header.xs, ListView.xs, Rebar.xs, Toolbar.xs,
Tooltip.xs, TreeView.xs:
add CustomDraw EVENT with Win32::GUI::Button::CustomDraw
object as param.
abuse the PAINT constant for NEM, which should not conflict.
- Customdraw.pm : CustomDraw package definition and helpers
- GUI.xs :
DoEvents(hwnd=NULL,wMsgFilterMin=0,wMsgFilterMax=0,wRemoveMsg=PM_REMOVE),
Try additional OEM ressource in LoadImage,
Add Win32::GUI::DragDrop object which is passed to the DropFiles
event as argument.
- GUI_Helpers.cpp: add SV* CreateNMCustomDraw()
- GUI_MessageLoops.cpp : Change DropFiles EVENT to pass the
Win32::GUI::DragDrop object
- ImageList.xs: Add to documention.
- TYPEMAP: Add HDROP as first-class citizen (Win32::GUI::DragDrop)
- Window.xs: support -dropfiles property, store it onPostCreate in perlcs
- SrcParser.pm, Documentation.txt: fix some typos
- samples/CustomDraw.pl, samples/DragDrop.pl: not yet finished
--
Reini Urban
http://phpwiki.org/
http://spacemovie.mur.at/ http://helsinki.at/
Win32-GUI-1.04.patch.gz
Description: GNU Zip compressed data

