Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #1077 > unrolled thread

An Icon Question

Started by"Ivar" <ivar.ekstromer000@ntlworld.com>
First post2012-05-17 11:40 +0100
Last post2012-05-17 10:00 -0400
Articles 3 — 3 participants

Back to article view | Back to comp.lang.basic.visual.misc


Contents

  An Icon Question "Ivar" <ivar.ekstromer000@ntlworld.com> - 2012-05-17 11:40 +0100
    Re: An Icon Question Deanna Earley <dee.earley@icode.co.uk> - 2012-05-17 13:43 +0100
    Re: An Icon Question "Mayayana" <mayayana@invalid.nospam> - 2012-05-17 10:00 -0400

#1077 — An Icon Question

From"Ivar" <ivar.ekstromer000@ntlworld.com>
Date2012-05-17 11:40 +0100
SubjectAn Icon Question
Message-ID<3A4tr.351989$4z7.320525@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

[toc] | [next] | [standalone]


#1078

FromDeanna Earley <dee.earley@icode.co.uk>
Date2012-05-17 13:43 +0100
Message-ID<jp2rq8$25f$1@speranza.aioe.org>
In reply to#1077
On 17/05/2012 11:40, Ivar wrote:
> 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 (dee.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.)

[toc] | [prev] | [next] | [standalone]


#1079

From"Mayayana" <mayayana@invalid.nospam>
Date2012-05-17 10:00 -0400
Message-ID<jp2vue$mjd$1@dont-email.me>
In reply to#1077
  Does it have to be OLEDragDrop? Regular DragDrop
allows for a custom icon by setting the DragIcon property.

-- 
--
"Ivar" <ivar.ekstromer000@ntlworld.com> wrote in message 
news:3A4tr.351989$4z7.320525@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
|
| 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.basic.visual.misc


csiph-web