Problem with IDE  
Author Message
ksharma_deepak





PostPosted: Visual C++ Express Edition, Problem with IDE Top

Hi to ALL

I am trying to set font in the list view when mouse hovers over it. For this I derived a class CListHover from CList Ctrl .

In its CustomDraw I Code like this:

if (pLVCD->nmcd.uItemState == CDIS_HOT)

{

::SelectObject(pLVCD->nmcd.hdc, m_font.m_hObject);

or

// this->SetFont(&m_fontNoLink);

//*pResult = CDRF_NOTIFYPOSTPAINT;

}

But when i run this program from IDE it does not works ,,But If i run EXE from Debug/Release folder it works fine. Confused ... Why so ..

with Regards

Deepak.



Visual Studio Express Editions1  
 
 
Bite Qiu - MSFT





PostPosted: Visual C++ Express Edition, Problem with IDE Top

The exe from Debug/Release folder were generated by latest successful build. I guess that's the reason you can run it. I am not sure about the IDE issue, maybe you can clean and rebuild the solution. see if there is any new issue comes out.



 
 
ksharma_deepak





PostPosted: Visual C++ Express Edition, Problem with IDE Top

Hi Bite Ji,

I have cleaned and rebuild all ,,But problem persists.

with regards

Deepak.