Click here to Skip to main content
15,914,165 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCHtmlEditBase::SetDocumentHTML does not populate control? Pin
FlintZA13-Mar-06 21:29
FlintZA13-Mar-06 21:29 
Questionproject Pin
ali kanju13-Mar-06 21:29
ali kanju13-Mar-06 21:29 
Questionrundll32 and network share Pin
micutzu13-Mar-06 21:04
micutzu13-Mar-06 21:04 
AnswerRe: rundll32 and network share Pin
Xing Chen13-Mar-06 21:23
Xing Chen13-Mar-06 21:23 
GeneralRe: rundll32 and network share Pin
micutzu13-Mar-06 21:25
micutzu13-Mar-06 21:25 
GeneralRe: rundll32 and network share Pin
Xing Chen13-Mar-06 21:53
Xing Chen13-Mar-06 21:53 
GeneralRe: rundll32 and network share Pin
micutzu13-Mar-06 22:14
micutzu13-Mar-06 22:14 
QuestionTooltip flashes Pin
steff.k@gmx.net13-Mar-06 20:40
steff.k@gmx.net13-Mar-06 20:40 
Hello!
I need help with tooltips on a Listbox which lays in a view.

If I go with mouse on a free space (an empty row) on my listbox the tooltip works but If I go on a used row the tooltip only flickers / flashes.

BOOL FMExListContol::OnToolTipText( UINT id, NMHDR * pNMHDR, LRESULT * pResult )
{
if (!m_bWithToolTip)
return FALSE;

TOOLTIPTEXTA* pTTTA = (TOOLTIPTEXTA*)pNMHDR;
TOOLTIPTEXTW* pTTTW = (TOOLTIPTEXTW*)pNMHDR;
CString strToolTipText;
strToolTipText = "test";

UINT nID = pNMHDR->idFrom;

#ifndef _UNICODE
if (pNMHDR->code == TTN_NEEDTEXTA)
lstrcpyn(pTTTA->szText, strToolTipText, 80);
else
_mbstowcsz(pTTTW->szText, strToolTipText, 80);
#else
if (pNMHDR->code == TTN_NEEDTEXTA)
_wcstombsz(pTTTA->szText, strToolTipText, 80);
else
lstrcpyn(pTTTW->szText, strToolTipText, 80);

#endif
*pResult = 0;


return TRUE;
}


-- modified at 3:31 Tuesday 14th March, 2006
QuestionShellExecuted in Visual C++ Pin
kk.tvm13-Mar-06 20:30
kk.tvm13-Mar-06 20:30 
AnswerRe: ShellExecuted in Visual C++ Pin
Nibu babu thomas13-Mar-06 20:35
Nibu babu thomas13-Mar-06 20:35 
QuestionHow to get the args from MFC application ? Pin
stny200013-Mar-06 20:14
stny200013-Mar-06 20:14 
AnswerRe: How to get the args from MFC application ? Pin
Nibu babu thomas13-Mar-06 20:19
Nibu babu thomas13-Mar-06 20:19 
QuestionLIB file issues? Pin
Peter Weyzen13-Mar-06 20:14
Peter Weyzen13-Mar-06 20:14 
GeneralA new member's test. Pin
Draco Wang13-Mar-06 19:39
Draco Wang13-Mar-06 19:39 
GeneralRe: A new member's test. Pin
Nibu babu thomas13-Mar-06 19:41
Nibu babu thomas13-Mar-06 19:41 
GeneralRe: A new member's test. Pin
Draco Wang13-Mar-06 19:41
Draco Wang13-Mar-06 19:41 
GeneralRe: A new member's test. Pin
Gavin Taylor13-Mar-06 20:13
professionalGavin Taylor13-Mar-06 20:13 
GeneralRe: A new member's test. Pin
Draco Wang13-Mar-06 20:51
Draco Wang13-Mar-06 20:51 
Questionhow to CString Variable to Integer data type Pin
phijophlip13-Mar-06 19:33
phijophlip13-Mar-06 19:33 
AnswerRe: how to CString Variable to Integer data type Pin
Nibu babu thomas13-Mar-06 19:36
Nibu babu thomas13-Mar-06 19:36 
AnswerRe: how to CString Variable to Integer data type Pin
Hamid_RT13-Mar-06 19:49
Hamid_RT13-Mar-06 19:49 
QuestionCrash on some computers Pin
Almenara13-Mar-06 19:30
Almenara13-Mar-06 19:30 
AnswerRe: Crash on some computers Pin
Nibu babu thomas13-Mar-06 19:33
Nibu babu thomas13-Mar-06 19:33 
QuestionDynamically creation of Editcontrol Pin
abhiramsss13-Mar-06 19:19
abhiramsss13-Mar-06 19:19 
AnswerRe: Dynamically creation of Editcontrol Pin
Nibu babu thomas13-Mar-06 19:27
Nibu babu thomas13-Mar-06 19:27 

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.