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

Search:

Type: Posts; User: Philip Nicoletti

Search: Search took 0.06 seconds.

  1. Replies
    7
    Views
    5,892

    Re: GDI Object Failing

    How are the indices correct ?... in the for loop the value of i are : 1,2,3,4,5,6

    the valid indices for pBitmap are : 0,1,2,3,4,5
  2. Replies
    7
    Views
    5,892

    Re: GDI Object Failing

    One thing you need to change:



    for ( i = 1; i < 7; i++ )
    {
    nOffSet = (i - 1) * 115;
    pBitmap[i]->GetObject( sizeof(BITMAP), &bm );
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured