Drag and Drop Controls

View: New views
2 Messages — Rating Filter:   Alert me  

Drag and Drop Controls

by rpnoble :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm developing an application to allow a customer to create custom forms to be printed. In searching this group I found notes on drag and drop in a listview, but can any control be draged as in GUI loft? I need to allow for labels, text boxes and picture controls on a canvas defined by the printer paper.

Re: Drag and Drop Controls

by Jeremy White-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



> I'm developing an application to allow a customer to create custom forms to
> be printed. In searching this group I found notes on drag and drop in a
> listview, but can any control be draged as in GUI loft? I need to allow for
> labels, text boxes and picture controls on a canvas defined by the printer
> paper.

Hi,

Some controls such as the listview support drag and drop, but only in the context of the contents of the control. The control itself can't be dragged as native functionality. As all controls can be programatically moved (and thus redrawn by windows) you could implement your own dragging and dropping...

Hope that is of some help,

Cheers,

jez.
_________________________________________________________________

http://clk.atdmt.com/UKM/go/msnnkmgl0010000002ukm/direct/01/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@...
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/
LightInTheBox - Buy quality products at wholesale price