Click here to Skip to main content
15,891,938 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionOnMouseWheel Pin
sabapathy_8021-Jan-09 4:15
sabapathy_8021-Jan-09 4:15 
AnswerRe: OnMouseWheel Pin
Stuart Dootson21-Jan-09 4:23
professionalStuart Dootson21-Jan-09 4:23 
QuestionHow can enable child window's MenuBar Pin
Abhijit D. Babar21-Jan-09 3:48
Abhijit D. Babar21-Jan-09 3:48 
Questionhotkey for menu item not showing Pin
sabapathy_8021-Jan-09 2:57
sabapathy_8021-Jan-09 2:57 
AnswerRe: hotkey for menu item not showing Pin
Iain Clarke, Warrior Programmer21-Jan-09 3:34
Iain Clarke, Warrior Programmer21-Jan-09 3:34 
GeneralRe: hotkey for menu item not showing Pin
sabapathy_8021-Jan-09 4:07
sabapathy_8021-Jan-09 4:07 
GeneralRe: hotkey for menu item not showing Pin
Iain Clarke, Warrior Programmer21-Jan-09 4:19
Iain Clarke, Warrior Programmer21-Jan-09 4:19 
Questionnon dependent names in template base class Pin
f_jo21-Jan-09 2:45
f_jo21-Jan-09 2:45 
Hello,

I'm facing problems with the two-stage name lookup for templates, and I'm wondering what could be the right way to deal with it.

The issue is that non dependent names of template base class can not be "seen" at parse time in the derived class, and must therefore be made dependent, either using "this->" or qualification "base<T>::"

I can understand the usefullness of 2 stage name lookup, but also having all members and functions of base class used through "this->" in the derived class is "not a standard" and is ugly.

So What should be the right way of coding to work around this?

Thanks.
BR.
AnswerRe: non dependent names in template base class Pin
Sarath C21-Jan-09 3:18
Sarath C21-Jan-09 3:18 
AnswerRe: non dependent names in template base class Pin
Stuart Dootson21-Jan-09 3:45
professionalStuart Dootson21-Jan-09 3:45 
GeneralRe: non dependent names in template base class Pin
f_jo21-Jan-09 5:40
f_jo21-Jan-09 5:40 
GeneralRe: non dependent names in template base class Pin
f_jo21-Jan-09 6:43
f_jo21-Jan-09 6:43 
GeneralRe: non dependent names in template base class Pin
Stuart Dootson21-Jan-09 7:48
professionalStuart Dootson21-Jan-09 7:48 
QuestionHow to _properly_ pass a string from a DLL to the App? Pin
OwenBurnett21-Jan-09 2:43
OwenBurnett21-Jan-09 2:43 
AnswerRe: How to _properly_ pass a string from a DLL to the App? Pin
Stuart Dootson21-Jan-09 4:18
professionalStuart Dootson21-Jan-09 4:18 
QuestionConvert a text file into image (tiff file) Pin
Kiran Pinjala21-Jan-09 2:33
Kiran Pinjala21-Jan-09 2:33 
JokeRe: Convert a text file into image (tiff file) Pin
Sarath C21-Jan-09 2:50
Sarath C21-Jan-09 2:50 
JokeRe: Convert a text file into image (tiff file) Pin
Nishad S21-Jan-09 2:52
Nishad S21-Jan-09 2:52 
GeneralRe: Convert a text file into image (tiff file) Pin
Kiran Pinjala21-Jan-09 3:37
Kiran Pinjala21-Jan-09 3:37 
AnswerRe: Convert a text file into image (tiff file) Pin
Nishad S21-Jan-09 2:50
Nishad S21-Jan-09 2:50 
AnswerRe: Convert a text file into image (tiff file) Pin
Hamid_RT21-Jan-09 4:44
Hamid_RT21-Jan-09 4:44 
QuestionHow to draw black colored outline for white colored font drawn on a TIF image file for font size of 8? Pin
Naveen_Kummar21-Jan-09 2:26
Naveen_Kummar21-Jan-09 2:26 
AnswerRe: How to draw black colored outline for white colored font drawn on a TIF image file for font size of 8? Pin
Nishad S21-Jan-09 2:57
Nishad S21-Jan-09 2:57 
GeneralRe: How to draw black colored outline for white colored font drawn on a TIF image file for font size of 8? Pin
Naveen_Kummar21-Jan-09 17:25
Naveen_Kummar21-Jan-09 17:25 
GeneralRe: How to draw black colored outline for white colored font drawn on a TIF image file for font size of 8? Pin
Nishad S21-Jan-09 20:13
Nishad S21-Jan-09 20:13 

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.