Discussion:
An Icon Question
(too old to reply)
Ivar
2012-05-17 10:40:06 UTC
Permalink
Hi All

Using VB6

On The Form is a ListView and a PictureBox
ListView is Report View, OLEDragMode Automatic, OLEDropMode None
PictureBox is OLEDragMode Manual, OLEDropMode Manual

I left Click on Listview Item, Drag Over PictureBox and release. Lots of
stuff happens, all works well.
While Dragging, if mouse is not over Picturebox the cursor is like a black
stop sign (Circle and line)
If mouse is on PictureBox then cursor is a meaningless Small Arrow and a
cross and a small square.
Is it possible to set the cursor to a custom cursor while mouse is over
PictureBox Ready For Dropping.

Thanks for any Ideas

Ivar
Deanna Earley
2012-05-17 12:43:55 UTC
Permalink
Post by Ivar
Hi All
Using VB6
On The Form is a ListView and a PictureBox
ListView is Report View, OLEDragMode Automatic, OLEDropMode None
PictureBox is OLEDragMode Manual, OLEDropMode Manual
I left Click on Listview Item, Drag Over PictureBox and release. Lots of
stuff happens, all works well.
While Dragging, if mouse is not over Picturebox the cursor is like a
black stop sign (Circle and line)
If mouse is on PictureBox then cursor is a meaningless Small Arrow and a
cross and a small square.
Is it possible to set the cursor to a custom cursor while mouse is over
PictureBox Ready For Dropping.
These are standard OLE drag cursors, and I don't think you can change
them directly (beyond the standard move, copy, denied cursors).
You can try using SetCursor to force a new cursor temporarily.
--
Deanna Earley (***@icode.co.uk)
i-Catcher Development Team
http://www.icode.co.uk/icatcher/

iCode Systems

(Replies direct to my email address will be ignored.
Please reply to the group.)
Mayayana
2012-05-17 14:00:07 UTC
Permalink
Does it have to be OLEDragDrop? Regular DragDrop
allows for a custom icon by setting the DragIcon property.
--
--
"Ivar" <***@ntlworld.com> wrote in message news:3A4tr.351989$***@fx08.am4...
| Hi All
|
| Using VB6
|
| On The Form is a ListView and a PictureBox
| ListView is Report View, OLEDragMode Automatic, OLEDropMode None
| PictureBox is OLEDragMode Manual, OLEDropMode Manual
|
| I left Click on Listview Item, Drag Over PictureBox and release. Lots of
| stuff happens, all works well.
| While Dragging, if mouse is not over Picturebox the cursor is like a black
| stop sign (Circle and line)
| If mouse is on PictureBox then cursor is a meaningless Small Arrow and a
| cross and a small square.
| Is it possible to set the cursor to a custom cursor while mouse is over
| PictureBox Ready For Dropping.
|
| Thanks for any Ideas
|
| Ivar
|
|
Loading...