CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2004
    Posts
    8

    Question Problem with CListCtrl

    Hi,

    I have an application (in VC++ 6.0) wherein it displays the images in ListView. So the application starts displaying the images from the Top left corner (0,0).
    Now I have added the manifest file (to give XP look to application) in applicatoin resource successfully. (as outlined in the below mentioned link http://www.codeguru.com/Cpp/controls...cle.php/c5227/[^])
    The application is having the XP look but the images are displayed from the Bottom left corner.

    Question:How to set the origin of the ListCtrl to top left corner (0,0) so that the images are displayed from the top left corner (0,0) ?


    Thanks & Regards,
    Neeraj

  2. #2
    Join Date
    Oct 2002
    Location
    Italy
    Posts
    324

    Re: Problem with CListCtrl

    You could use SetViewPosition to arrange your items in icon or small icon mode.
    Regards,
    Marco Era
    www.marcoera.com

    Latest post on my blog: Back to the Amiga's times

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