Stefan, Evans,
Simply change FARPROC into WNDPROC in the C code section ![]()
Stefan, Evans,
Simply change FARPROC into WNDPROC in the C code section ![]()
Antonio Linares wrote:Stefan, Evans,
Simply change FARPROC into WNDPROC in the C code section
Antonio Linares wrote:Stefan, Evans,
Simply change FARPROC into WNDPROC in the C code section
StefanHaupt wrote:Antonio,
Antonio Linares wrote:Stefan, Evans,
Simply change FARPROC into WNDPROC in the C code section
thanks, it compiles fine now.
      ... Â
      if( !bTab )
      {
           // V. ADDED STARTS
        if( ! ( lpdis->itemState & ODS_SELECTED ) )  // NEW !!!!!!!!
         SetBkColor( lpdis->hDC, 16770508 );    // HCYAN1
           // V. ADDED ENDS
        DrawText( lpdis->hDC, szPrompt, -1, &lpdis->rcItem, DT_LEFT );
        ...
Antonio Linares wrote:Evans,
You just need this new line:
      ...        if( !bTab )       {            // V. ADDED STARTS         if( ! ( lpdis->itemState & ODS_SELECTED ) )  // NEW !!!!!!!!          SetBkColor( lpdis->hDC, 16770508 );    // HCYAN1            // V. ADDED ENDS         DrawText( lpdis->hDC, szPrompt, -1, &lpdis->rcItem, DT_LEFT );         ...
