Click here to Skip to main content
15,893,266 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Determining whether input is string or integer Pin
David Crow5-Feb-08 17:06
David Crow5-Feb-08 17:06 
GeneralRe: Determining whether input is string or integer Pin
cp98765-Feb-08 16:10
cp98765-Feb-08 16:10 
GeneralRe: Determining whether input is string or integer Pin
User 5838525-Feb-08 17:08
User 5838525-Feb-08 17:08 
GeneralRe: Determining whether input is string or integer Pin
Gregory Bryant5-Feb-08 18:20
Gregory Bryant5-Feb-08 18:20 
GeneralRe: Determining whether input is string or integer Pin
Cedric Moonen5-Feb-08 20:59
Cedric Moonen5-Feb-08 20:59 
GeneralRe: Determining whether input is string or integer Pin
Christian Graus7-Mar-08 23:26
protectorChristian Graus7-Mar-08 23:26 
GeneralA Problem with Doc-View SDI App Pin
Member 4431375-Feb-08 6:34
Member 4431375-Feb-08 6:34 
GeneralCTreeCtrl lables help please Pin
sarat5-Feb-08 3:31
sarat5-Feb-08 3:31 
why the bellow code doesnt make CTreeCtrl lables trasparent?
the same method works fine for CListCtrl
SetBkMode() also if i uncomment it doesnt make lables trasparent
lables r painted with black color background instead of trasparent
butif i use any other color other than CLR_NONE or TRASPARENT .. it will paint with the color i used properly but doesnt work with trasparent.

help me plz

please some one give me solution


void CLeftPaneTreeCtrl::OnCustomDraw(NMHDR* pNMHDR, LRESULT* pResult)
{
switch(pNMHDR->code)
{
case NM_CUSTOMDRAW:
{

LPNMTVCUSTOMDRAW lplvcd = (LPNMTVCUSTOMDRAW)pNMHDR;

//SetBkMode(lplvcd->nmcd.hdc,TRANSPARENT);
lplvcd->clrTextBk = CLR_NONE;

if(lplvcd->nmcd.dwDrawStage == CDDS_PREPAINT)
{
*pResult = CDRF_NOTIFYITEMDRAW;
return ;
}

if(lplvcd->nmcd.dwDrawStage == CDDS_ITEMPREPAINT)
{
*pResult = CDRF_NOTIFYPOSTPAINT;
return;
}
}
}

}
NewsRe: CTreeCtrl lables help please Pin
Iain Clarke, Warrior Programmer5-Feb-08 6:19
Iain Clarke, Warrior Programmer5-Feb-08 6:19 
GeneralRe: CTreeCtrl lables help please Pin
Cedric Moonen5-Feb-08 7:13
Cedric Moonen5-Feb-08 7:13 
GeneralRegarding CToolBar & CToolBarCtrl Pin
msr_codeproject5-Feb-08 2:25
msr_codeproject5-Feb-08 2:25 
GeneralRe: Regarding CToolBar & CToolBarCtrl Pin
Iain Clarke, Warrior Programmer5-Feb-08 2:34
Iain Clarke, Warrior Programmer5-Feb-08 2:34 
Questionhow to include library file Pin
sharanu5-Feb-08 2:00
sharanu5-Feb-08 2:00 
AnswerRe: how to include library file Pin
Rajkumar R5-Feb-08 2:17
Rajkumar R5-Feb-08 2:17 
AnswerRe: how to include library file Pin
Chris Losinger5-Feb-08 2:17
professionalChris Losinger5-Feb-08 2:17 
AnswerRe: how to include library file Pin
David Crow5-Feb-08 2:37
David Crow5-Feb-08 2:37 
GeneralRe: how to include library file Pin
Rajesh R Subramanian5-Feb-08 5:22
professionalRajesh R Subramanian5-Feb-08 5:22 
GeneralRe: how to include library file Pin
CPallini5-Feb-08 6:31
mveCPallini5-Feb-08 6:31 
GeneralExtract string from CString Pin
Anu_Bala5-Feb-08 1:35
Anu_Bala5-Feb-08 1:35 
GeneralRe: Extract string from CString Pin
nbugalia5-Feb-08 1:47
nbugalia5-Feb-08 1:47 
GeneralRe: Extract string from CString Pin
Rajkumar R5-Feb-08 1:56
Rajkumar R5-Feb-08 1:56 
GeneralRe: Extract string from CString [modified] Pin
CPallini5-Feb-08 2:08
mveCPallini5-Feb-08 2:08 
GeneralRe: Extract string from CString Pin
Rajkumar R5-Feb-08 2:13
Rajkumar R5-Feb-08 2:13 
GeneralRe: Extract string from CString Pin
Mark Salsbery5-Feb-08 5:56
Mark Salsbery5-Feb-08 5:56 
GeneralRe: Extract string from CString Pin
CPallini5-Feb-08 6:11
mveCPallini5-Feb-08 6:11 

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.