Click here to Skip to main content
15,896,207 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need help to pan client area of a window using win32 api / mfc Pin
Richard MacCutchan21-Aug-12 0:37
mveRichard MacCutchan21-Aug-12 0:37 
GeneralRe: Need help to pan client area of a window using win32 api / mfc Pin
Sunil P V24-Aug-12 1:29
Sunil P V24-Aug-12 1:29 
GeneralRe: Need help to pan client area of a window using win32 api / mfc Pin
Member 935377622-Aug-12 21:55
Member 935377622-Aug-12 21:55 
GeneralRe: Need help to pan client area of a window using win32 api / mfc Pin
Sunil P V24-Aug-12 1:31
Sunil P V24-Aug-12 1:31 
AnswerRe: Need help to pan client area of a window using win32 api / mfc Pin
pasztorpisti21-Aug-12 4:59
pasztorpisti21-Aug-12 4:59 
GeneralRe: Need help to pan client area of a window using win32 api / mfc Pin
Member 935377622-Aug-12 22:48
Member 935377622-Aug-12 22:48 
GeneralRe: Need help to pan client area of a window using win32 api / mfc Pin
pasztorpisti22-Aug-12 23:07
pasztorpisti22-Aug-12 23:07 
QuestionTrying not to display the "description" part of a tooltip. (MFC) Pin
Maximilien20-Aug-12 5:03
Maximilien20-Aug-12 5:03 
(VS2008, MFC, Feature-Pack, also on VS2012)

I'm trying to not display the description part of a tooltip in a MFC application.
The description part is, I assume, the 2nd line of the default tooltip.

This is what I tried to do (in a straighforward wizard generated MFC application)

// in the InitInstance of the application.
InitTooltipManager();
CMFCToolTipInfo ttParams;
ttParams.m_bVislManagerTheme = TRUE;
ttParams.m_bDrawDescription = FALSE; /// here
CTooltipManager* tooltipManager = theApp.GetTooltipManager();
tooltipManager->SetTooltipParams(AFX_TOOLTIP_TYPE_ALL, RUNTIME_CLASS(CMFCToolTipCtrl), &ttParams);


I would assume that the m_bDrawDescription in the struct, and the call to SetTooltipParams would change the whole behavior of the tooltips of the application, but it does not, when those lines are added, nothing seems to changed.

When debugging, the field is (re)set to TRUE.

Am I missing something ?

Thanks.
Watched code never compiles.

QuestionCan not catch OnKeyup on CListCtrl Pin
_Flaviu20-Aug-12 5:03
_Flaviu20-Aug-12 5:03 
AnswerRe: Can not catch OnKeyup on CListCtrl Pin
Software_Developer20-Aug-12 9:15
Software_Developer20-Aug-12 9:15 
QuestionBITMAPINFOHEADER working in Debug but not in Release Pin
002comp19-Aug-12 21:15
002comp19-Aug-12 21:15 
AnswerRe: BITMAPINFOHEADER working in Debug but not in Release Pin
Endurion_19-Aug-12 22:39
Endurion_19-Aug-12 22:39 
GeneralRe: BITMAPINFOHEADER working in Debug but not in Release Pin
002comp19-Aug-12 22:43
002comp19-Aug-12 22:43 
GeneralRe: BITMAPINFOHEADER working in Debug but not in Release Pin
Endurion_20-Aug-12 5:01
Endurion_20-Aug-12 5:01 
AnswerRe: BITMAPINFOHEADER working in Debug but not in Release [Solved] but need one Suggestion Pin
002comp19-Aug-12 22:41
002comp19-Aug-12 22:41 
AnswerRe: BITMAPINFOHEADER working in Debug but not in Release Pin
CPallini19-Aug-12 23:00
mveCPallini19-Aug-12 23:00 
QuestionModeless Dialog box using win32 API only Pin
csrss19-Aug-12 7:14
csrss19-Aug-12 7:14 
AnswerRe: Modeless Dialog box using win32 API only Pin
pasztorpisti19-Aug-12 12:49
pasztorpisti19-Aug-12 12:49 
GeneralRe: Modeless Dialog box using win32 API only Pin
csrss19-Aug-12 21:03
csrss19-Aug-12 21:03 
GeneralRe: Modeless Dialog box using win32 API only Pin
pasztorpisti20-Aug-12 1:49
pasztorpisti20-Aug-12 1:49 
Generaljust want to find a friend Pin
cnmqy19-Aug-12 0:56
cnmqy19-Aug-12 0:56 
GeneralRe: just want to find a friend Pin
Richard MacCutchan19-Aug-12 2:37
mveRichard MacCutchan19-Aug-12 2:37 
QuestionHow to distinguish the broad packets or normal packets? Pin
wangningyu17-Aug-12 17:19
wangningyu17-Aug-12 17:19 
AnswerRe: How to distinguish the broad packets or normal packets? Pin
pasztorpisti18-Aug-12 0:33
pasztorpisti18-Aug-12 0:33 
AnswerRe: How to distinguish the broad packets or normal packets? Pin
Software_Developer18-Aug-12 3:56
Software_Developer18-Aug-12 3:56 

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.