Results 1 to 6 of 6

Thread: Listview control

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Posts
    27
    hello

    I got a problem about using the listview in large icon made were the user click on an icon and it opens another form.
    The thing is when I exit the form user selected and return back to the listview the icon I click on is attach to the mouse pointer

    this is the code is used
    Private Sub ListView1_ItemClick(ByVal item As MSComctlLib.ListItem)
    Select Case item
    Case "AR"
    DisplayAR
    Case "OE"
    DisplayOE


    End Select

    Any help in solving this is truly appreciated.

    thanks

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    what do you mean by "is attach to the mouse pointer "?
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Posts
    27
    sorry, okay I'll try to say this in better english, in the listview I click onto the icon and it takes me to another form and when I exit that form the icon that I click on is (how do I say this) you know when you move the mouse and you see a pointer icon, well that icon I click on moves where ever you move the mouse inside that listview.
    I hope this sounds clear..

  4. #4
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    the symptoms sounds like you have set the listview.mouseicon to the image you clicked on in the listview, and the mousepointer is set to custom, another thing could be that youre starting a dragdrop action.
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Posts
    27
    Problem still occuring. I have set the listview mouseicon to none and the mousepointer to default and I do not have any code to perform a drag and drop operation.

  6. #6
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    i'm out of ideas, maybe you could send me the project and i'll have a look on it?
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width