Click here to Skip to main content
15,890,282 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How can i match the string from my CEdit & the string from my CDatabase ? Pin
Hamid_RT5-Oct-06 3:27
Hamid_RT5-Oct-06 3:27 
AnswerRe: How can i match the string from my CEdit & the string from my CDatabase ? Pin
David Crow5-Oct-06 3:38
David Crow5-Oct-06 3:38 
QuestionRe: How can i match the string from my CEdit & the string from my CDatabase ? Pin
Bravoone_20065-Oct-06 21:07
Bravoone_20065-Oct-06 21:07 
AnswerRe: How can i match the string from my CEdit & the string from my CDatabase ? Pin
David Crow6-Oct-06 2:24
David Crow6-Oct-06 2:24 
QuestionHow to load google toolbar in a webbrowser based app? Pin
Tcpip20055-Oct-06 2:24
Tcpip20055-Oct-06 2:24 
AnswerRe: How to load google toolbar in a webbrowser based app? Pin
James R. Twine5-Oct-06 10:51
James R. Twine5-Oct-06 10:51 
QuestionCustom Drawn List View Pin
HakunaMatada5-Oct-06 2:17
HakunaMatada5-Oct-06 2:17 
AnswerRe: Custom Drawn List View Pin
Naveen5-Oct-06 2:35
Naveen5-Oct-06 2:35 
HakunaMatada wrote:
Is there any way this can be achieved?


ofcourse here is the code

void ListCtrlEx::OnCustomDraw( NMHDR* pNMHDR_i, LRESULT* pResult_i )<br />
{<br />
    NMLVCUSTOMDRAW* pLVCD = reinterpret_cast<NMLVCUSTOMDRAW*>( pNMHDR_i );<br />
    NMCUSTOMDRAW   &nmcd = pLVCD->nmcd;<br />
    *pResult_i = CDRF_DODEFAULT;<br />
    switch (nmcd.dwDrawStage)<br />
    {<br />
    case CDDS_PREPAINT:<br />
<br />
      // We want item prepaint notifications, so...<br />
      *pResult_i = CDRF_NOTIFYITEMDRAW;<br />
      break;<br />
<br />
    case CDDS_ITEMPREPAINT:<br />
     {<br />
        if( nmcd.uItemState&CDIS_SELECTED  )<br />
        {<br />
            pLVCD->clrTextBk = RGB(255,0,0);<br />
            nmcd.uItemState &= ~CDIS_SELECTED;<br />
        }<br />
        else<br />
        {<br />
            pLVCD->clrTextBk = RGB(255,255,255);<br />
        }<br />
        <br />
      *pResult_i = CDRF_DODEFAULT ;//| CDRF_NOTIFYPOSTPAINT;<br />
      break;<br />
    }<br />
    default:<br />
      *pResult_i = CDRF_DODEFAULT;<br />
      break;<br />
    }<br />
<br />
<br />
}





nave

QuestionHow to get icon regions from list view? Pin
Amar Sutar5-Oct-06 1:56
Amar Sutar5-Oct-06 1:56 
AnswerRe: How to get icon regions from list view? Pin
Naveen5-Oct-06 2:38
Naveen5-Oct-06 2:38 
QuestionWindows Theme/Style Preview Pin
andyr20055-Oct-06 1:47
andyr20055-Oct-06 1:47 
AnswerRe: Windows Theme/Style Preview Pin
Naveen5-Oct-06 2:11
Naveen5-Oct-06 2:11 
GeneralRe: Windows Theme/Style Preview Pin
Naveen5-Oct-06 2:16
Naveen5-Oct-06 2:16 
Questioncode for activating a breakpoint at runtime Pin
manustone5-Oct-06 0:59
manustone5-Oct-06 0:59 
AnswerRe: code for activating a breakpoint at runtime Pin
Link20065-Oct-06 1:12
Link20065-Oct-06 1:12 
GeneralRe: code for activating a breakpoint at runtime Pin
manustone5-Oct-06 2:51
manustone5-Oct-06 2:51 
AnswerRe: code for activating a breakpoint at runtime Pin
Rajesh R Subramanian5-Oct-06 1:23
professionalRajesh R Subramanian5-Oct-06 1:23 
GeneralRe: code for activating a breakpoint at runtime Pin
manustone5-Oct-06 2:54
manustone5-Oct-06 2:54 
GeneralRe: code for activating a breakpoint at runtime Pin
Rajesh R Subramanian5-Oct-06 20:57
professionalRajesh R Subramanian5-Oct-06 20:57 
AnswerRe: code for activating a breakpoint at runtime Pin
Naveen5-Oct-06 1:25
Naveen5-Oct-06 1:25 
GeneralRe: code for activating a breakpoint at runtime Pin
manustone5-Oct-06 2:57
manustone5-Oct-06 2:57 
GeneralRe: code for activating a breakpoint at runtime Pin
Naveen5-Oct-06 3:37
Naveen5-Oct-06 3:37 
GeneralRe: code for activating a breakpoint at runtime Pin
manustone5-Oct-06 4:01
manustone5-Oct-06 4:01 
AnswerRe: code for activating a breakpoint at runtime Pin
Link20065-Oct-06 2:00
Link20065-Oct-06 2:00 
GeneralRe: code for activating a breakpoint at runtime Pin
manustone5-Oct-06 2:48
manustone5-Oct-06 2:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.