CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: olavl

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    8,560

    Make a copy of a treeviewitem without parent

    In my application I have a TreeView with a number of TreeViewItems. The TreeView is shown in a Grid.
    What I want to do is add a selected TreeViewItem to another Grid or TreeView without removing...
  2. Replies
    1
    Views
    6,336

    Re: Runtime manipulation of grids

    After a little more investigation I found out. I need to set the value with:
    Grid.SetColumn(MyElement, 1);
    Grid.SetRow(MyElement, 2);
    This will put MyElement in Column[1], Row[2].
  3. Replies
    1
    Views
    6,336

    Runtime manipulation of grids

    I have a grid with a number of rows and columns, that I want to add items to runtime.
    Using MyGrid.Children.Add(MyElement); always put the element in row 0, column 0.
    Is there a way to specify...
  4. Replies
    4
    Views
    2,239

    Re: Assertion failure in load/setbitmap()

    Solved it (I think).
    Moving the entire code to the OnPaint() seemed to do the trick.

    Thanks again
  5. Replies
    4
    Views
    2,239

    Re: Assertion failure in load/setbitmap()

    Thanks for your reply

    Calling DeleteObject on my bitmap seems to work out that problem. Having looked at it a little closer, it seems to me that the problem might be that the window handler for...
  6. Replies
    4
    Views
    2,239

    Assertion failure in load/setbitmap()

    In my application (VS 2003) I want to display a bitmap in a picture control. I want to change the bitmap depending on what color mode the user has chosen. I've attached a CStatic variable to the...
Results 1 to 6 of 6





Click Here to Expand Forum to Full Width

Featured