Click here to Skip to main content
15,918,889 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralModeless window data Pin
Lampros Giampouras14-Aug-05 6:44
Lampros Giampouras14-Aug-05 6:44 
GeneralRe: Modeless window data Pin
Christian Graus14-Aug-05 13:55
protectorChristian Graus14-Aug-05 13:55 
GeneralRe: Modeless window data Pin
Lampros Giampouras15-Aug-05 9:20
Lampros Giampouras15-Aug-05 9:20 
GeneralRe: Modeless window data Pin
Christian Graus15-Aug-05 13:19
protectorChristian Graus15-Aug-05 13:19 
GeneralRe: Modeless window data Pin
Lampros Giampouras16-Aug-05 2:17
Lampros Giampouras16-Aug-05 2:17 
GeneralVisual C++ .net Build Error Pin
sc09227014-Aug-05 6:33
sc09227014-Aug-05 6:33 
GeneralRe: Visual C++ .net Build Error Pin
S. Senthil Kumar14-Aug-05 7:23
S. Senthil Kumar14-Aug-05 7:23 
GeneralTooltips for Controls in Visual Studio .NET 2003 Pin
Ulrich14-Aug-05 2:31
Ulrich14-Aug-05 2:31 
I have a problem displaying tooltips of controls e.g. edit fields which are part of a modal dialog using VS .NET 2003. The tooltips will be displayed without any problem if I'm using VS 6.0. Using VS .NET 2003 Professional, some of the tooltips will be displayed, some not. The source code is 100% identical. I'm using the following source code implemented in a CDialog based class:

Message Map:
ON_NOTIFY_EX(TTN_NEEDTEXT, 0, OnToolTipNotify)

// Message Handler
BOOL ... ::OnToolTipNotify (UINT id, NMHDR* pNMHDR, LRESULT* pResult)
{
TOOLTIPTEXT *pTTT = (TOOLTIPTEXT*) pNMHDR;
UINT nID = pTTT->hdr.idFrom;

if ((pTTT->uFlags & TTF_IDISHWND) == TRUE)
{
nID = ::GetDlgCtrlID ((HWND) nID);
...
}
... }

Using VS 6.0 it works fine, but not in VS .NET 2003. I found in the debug mode that the message handler will be not started for the controls where I'm missing the tooltips. I don't know why.

It seems for me that .NET 2003 Professional has a bug. Is this problem known ? Has anybody a solution ? Many thanks for your help.


Ulrich
GeneralRe: Tooltips for Controls in Visual Studio .NET 2003 Pin
Jose Lamas Rios14-Aug-05 20:12
Jose Lamas Rios14-Aug-05 20:12 
Generaladding menu items Pin
rajeev8214-Aug-05 2:02
rajeev8214-Aug-05 2:02 
GeneralRe: adding menu items Pin
Anonymous14-Aug-05 12:05
Anonymous14-Aug-05 12:05 
QuestionWhen is an HWND invalid? Pin
Maverick13-Aug-05 17:25
Maverick13-Aug-05 17:25 
AnswerRe: When is an HWND invalid? Pin
John R. Shaw13-Aug-05 18:19
John R. Shaw13-Aug-05 18:19 
GeneralRe: When is an HWND invalid? Pin
Maverick14-Aug-05 1:32
Maverick14-Aug-05 1:32 
GeneralRe: When is an HWND invalid? Pin
Tim Smith14-Aug-05 4:19
Tim Smith14-Aug-05 4:19 
GeneralRe: When is an HWND invalid? Pin
Maverick14-Aug-05 20:49
Maverick14-Aug-05 20:49 
GeneralRe: When is an HWND invalid? Pin
HumanOsc14-Aug-05 23:36
HumanOsc14-Aug-05 23:36 
GeneralRe: When is an HWND invalid? Pin
Maverick15-Aug-05 18:53
Maverick15-Aug-05 18:53 
QuestionWould u please give me some advice about dynamic curve display? Pin
sssmmmyyy13-Aug-05 16:41
sssmmmyyy13-Aug-05 16:41 
AnswerRe: Would u please give me some advice about dynamic curve display? Pin
John R. Shaw13-Aug-05 18:33
John R. Shaw13-Aug-05 18:33 
GeneralDate Time object for win 32 dll Pin
Laser113-Aug-05 13:29
Laser113-Aug-05 13:29 
GeneralRe: Date Time object for win 32 dll Pin
Laser113-Aug-05 13:32
Laser113-Aug-05 13:32 
GeneralRe: Date Time object for win 32 dll Pin
Ravi Bhavnani13-Aug-05 15:54
professionalRavi Bhavnani13-Aug-05 15:54 
GeneralRe: Date Time object for win 32 dll Pin
Saurabh.Garg13-Aug-05 15:58
Saurabh.Garg13-Aug-05 15:58 
GeneralRe: Date Time object for win 32 dll Pin
David Crow15-Aug-05 3:36
David Crow15-Aug-05 3:36 

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.