CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2000
    Posts
    440

    flexgrid icon size

    Hi,

    I have a MSHFlexGrid and I am loading icons using CellPicture property.

    Is it possible that I stretch (change the size) the icon inside the cell.

    Thanks in advance.

  2. #2
    Join Date
    Apr 2003
    Posts
    23

    Smile

    Vin,

    Your better off changing the icon to a bitmap. MSHFlexGrid automatically decides that the icon is 32x32 and stretches the icon to that size. However, it seams to honor the bitmap's size.

    I hope this helps

  3. #3
    Join Date
    Feb 2000
    Posts
    440

    thanks

    Thanks for you reply
    it was really helpful.

    I have another question, interesting one, I think.

    Given the same MSHFlexGrid. When I initialize it to very large number of rows and cols, say 500x100 so that it has 5 thousand cells. When I try to load each cell with picture the environment hangs or issues out of memory error message.

    Do you think there is some solution to this problem.

    Regards,
    VIN

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