Click here to Skip to main content
15,895,256 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: bold a substring Pin
Cool_Dev29-Nov-10 2:06
Cool_Dev29-Nov-10 2:06 
AnswerRe: bold a substring Pin
Cedric Moonen29-Nov-10 2:00
Cedric Moonen29-Nov-10 2:00 
Questionline around the view Pin
john563229-Nov-10 1:26
john563229-Nov-10 1:26 
QuestionRe: line around the view Pin
«_Superman_»29-Nov-10 7:31
professional«_Superman_»29-Nov-10 7:31 
QuestionMCIWndPlay increase diffenent number of thread for every diffreent sound file. Pin
Le@rner29-Nov-10 1:19
Le@rner29-Nov-10 1:19 
Questionsdk for thumbnail Pin
rajniyadav1a28-Nov-10 19:01
rajniyadav1a28-Nov-10 19:01 
AnswerRe: sdk for thumbnail Pin
Richard MacCutchan28-Nov-10 21:21
mveRichard MacCutchan28-Nov-10 21:21 
QuestionAPI for vc++ Pin
rajniyadav1a28-Nov-10 18:59
rajniyadav1a28-Nov-10 18:59 
AnswerRe: API for vc++ Pin
Cool_Dev29-Nov-10 1:44
Cool_Dev29-Nov-10 1:44 
QuestionRemoveDirectory behaving differently in Xp and 7 Pin
ShadowUz28-Nov-10 17:47
ShadowUz28-Nov-10 17:47 
AnswerRe: RemoveDirectory behaving differently in Xp and 7 Pin
Luc 64801128-Nov-10 17:54
Luc 64801128-Nov-10 17:54 
GeneralMethod of flagging a dialog control in error Pin
Still learning how to code27-Nov-10 9:54
Still learning how to code27-Nov-10 9:54 
GeneralRe: Method of flagging a dialog control in error Pin
Luc Pattyn27-Nov-10 10:08
sitebuilderLuc Pattyn27-Nov-10 10:08 
GeneralRe: Method of flagging a dialog control in error Pin
Still learning how to code27-Nov-10 11:09
Still learning how to code27-Nov-10 11:09 
AnswerRe: Method of flagging a dialog control in error Pin
Luc Pattyn27-Nov-10 12:17
sitebuilderLuc Pattyn27-Nov-10 12:17 
GeneralRe: Method of flagging a dialog control in error Pin
Still learning how to code27-Nov-10 21:18
Still learning how to code27-Nov-10 21:18 
AnswerRe: Method of flagging a dialog control in error Pin
Chuck O'Toole27-Nov-10 13:38
Chuck O'Toole27-Nov-10 13:38 
GeneralRe: Method of flagging a dialog control in error Pin
Still learning how to code27-Nov-10 21:19
Still learning how to code27-Nov-10 21:19 
QuestionRe: Method of flagging a dialog control in error Pin
Still learning how to code28-Nov-10 5:18
Still learning how to code28-Nov-10 5:18 
Hi again Chuck,
I have downloaded the demo project and tried to compile it.
However, I am getting the following errors:-
Compiling...
XBalloonMsg.cpp
d:\programming projects\xballoonmsg\src\xballoonmsg.h(48) : error C2065: 'TTI_INFO' : undeclared identifier
d:\programming projects\xballoonmsg\src\xballoonmsg.cpp(433) : error C2065: 'TTS_CLOSE' : undeclared identifier
d:\programming projects\xballoonmsg\src\xballoonmsg.cpp(433) : error C2065: 'TTS_NOFADE' : undeclared identifier
d:\programming projects\xballoonmsg\src\xballoonmsg.cpp(433) : error C2065: 'TTS_NOANIMATE' : undeclared identifier
d:\programming projects\xballoonmsg\src\xballoonmsg.cpp(436) : error C2065: 'TTS_BALLOON' : undeclared identifier
d:\programming projects\xballoonmsg\src\xballoonmsg.cpp(480) : error C2065: 'TTM_SETTITLE' : undeclared identifier
d:\programming projects\xballoonmsg\src\xballoonmsg.cpp(508) : error C2664: 'SetTimer' : cannot convert parameter 4 from 'void (__stdcall *)(struct HWND__ *,unsigned int,unsigned long,unsigned long)' to 'void (__stdcall *)(struct HWND__ *,unsigned i
nt,unsigned int,unsigned long)'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
d:\programming projects\xballoonmsg\src\xballoonmsg.cpp(524) : error C2065: 'WM_MENUCOMMAND' : undeclared identifier
d:\programming projects\xballoonmsg\src\xballoonmsg.cpp(524) : error C2051: case expression not constant
Error executing cl.exe.

A Goggle search points me to MSDN, and I find that defines such as TTS_CLOSE are (supposedly) contained within CommCtrl.h - #including this within the relevant .cpp doesn't resolve the errors. Having found CommCtrl.h there is no mention of TTS_anything.
What header file is required and where can I get it ?

Thanks for your help

Doug
AnswerRe: Method of flagging a dialog control in error Pin
Luc Pattyn28-Nov-10 5:55
sitebuilderLuc Pattyn28-Nov-10 5:55 
GeneralRe: Method of flagging a dialog control in error Pin
Randor 28-Nov-10 6:09
professional Randor 28-Nov-10 6:09 
GeneralRe: Method of flagging a dialog control in error Pin
Still learning how to code28-Nov-10 9:31
Still learning how to code28-Nov-10 9:31 
GeneralRe: Method of flagging a dialog control in error [modified] Pin
Randor 28-Nov-10 10:42
professional Randor 28-Nov-10 10:42 
GeneralRe: Method of flagging a dialog control in error Pin
Still learning how to code28-Nov-10 11:18
Still learning how to code28-Nov-10 11:18 
GeneralRe: Method of flagging a dialog control in error [modified] Pin
Randor 28-Nov-10 11:28
professional Randor 28-Nov-10 11:28 

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.