CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 1999
    Posts
    4

    ListView Control - Draging an item

    In VB5.0 i have one listview control which stores all client names.I will select any of the client name from the listview and drag to a picture control.While draging the mouse pointer should show the name of the client.Now i'm not able to display the name of the client while dragging ,as mouse pointer.Please help me.

    Please help me.
    Raji


  2. #2
    Guest

    Re: ListView Control - Draging an item

    suggestion:
    you may have to specify mouse icon while dragging


  3. #3

    Re: ListView Control - Draging an item

    We can help u in this regard but it might take some time for getting the text (client Name) as the mouse pointer, instead u can display the clients photo as the mouse icon/mouse pointer, pl let us know on this regard. Pl get back at the earliest to the mentioned email address

    The Ultimate Solution Providers

    Authors

    Sriman & Jayaraman

    Email : [email protected]
    [email protected]

    Hand Phone : +(6) 016 2237147 (Malaysia)

  4. #4
    Join Date
    Aug 1999
    Posts
    4

    Re: ListView Control - Draging an item

    Thanks for immediate help. I can display photos as mouse pointer. But in this case client's photo is not under consideration (actually we are not having photos of client in the database). Please give me a solution to show the name of the client while dragging.(Like windows explorer - It shows the item name if for one selection not for multiple selection). Please help me in this regard.

    Thanks


  5. #5
    Join Date
    Aug 1999
    Posts
    4

    Re: ListView Control - Draging an item

    Thanks.But i want to display the name of the client as mouse pointer. ie. the selected item in the listview.Pl. help.

    Thanks


  6. #6
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: ListView Control - Draging an item

    The idea of this forum is to provide help to all the people who read it. Please don't get people to email you privately from the board as there are other readers who may like to see your responses/code.



    Chris Eastwood

    CodeGuru - the website for developers
    http://www.codeguru.com/vb

  7. #7
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: ListView Control - Draging an item

    Hi

    I've tried this several times and failed in VB - It's very easy to do in VC++ because you get easier access to the messages and methods (CreateDragImage etc).

    If you feel up to it, the MFC CodeGuru site has several examples of doing this in C++ eg.

    http://www.codeguru.com/listview/dra...lete_row.shtml

    take a look at the main ListView section for more info : http://www.codeguru.com/listview/



    Chris Eastwood

    CodeGuru - the website for developers
    http://www.codeguru.com/vb

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

Featured