Type: Posts; User: chabbawoggie
Search took 0.01 seconds.
November 5th, 2009, 03:58 AM
I think I found the explanation. According to the standard, if you have methods of the same name with a different signature, you cannot overwrite only one. Instead you MUST implement them...
November 3rd, 2009, 03:53 AM
Ok, here is a "full featured" example. Meanwhile I installed VS Express. This compiles without any warning (except for warning level 4, where it complains about unreferenced parameters).
November 2nd, 2009, 07:38 AM
yes, the compiler IS confused. That's right. But the thing is, that template A provides an implementation for IsValid(). Is Valid() is virtual. Class B wants to overwrite...
November 2nd, 2009, 03:31 AM
thanks for the response. But I think I didn't make clear, what the problem is.
So I try once more (I cannot provide the complete and "real" code because it's far too much)
October 30th, 2009, 04:53 AM
I've got a template and the relevant code looks like this:
virtual bool IsValid () const
return IsValid (mMemberValue);
September 5th, 2005, 12:19 PM
The only way I know, is to enumerate parents backwards until the returned
item is the root item. You should use the TreeView_GetParent macro. Makes things a little easier. If this macro returns an...
September 5th, 2005, 01:59 AM
Did I understand you well, that you are the author of that Dll?
Then may ::GetActiveWindow() help you. It retrieves the HWND of the thread's active window.
September 4th, 2005, 03:36 PM
Well, I think it's best to have a list with these strings on my own with the option to let user edit it...
At first I will do it that way (time is running low, you know ;-))
Thank you so far...
September 4th, 2005, 08:40 AM
no need to be sorry :-) Most of the people I talked to didn't get it on the 1st try ;-) And after having done some "googleing" I now know, that this is a very uncommon problem. What...
September 3rd, 2005, 02:07 PM
thanks for your reply, but I don't want to format a date but get the localized format string as shown in the control panel's country settings.
In an english windows version you will...
September 2nd, 2005, 08:56 AM
I've got a really weird problem. From a C++Application I have to export data to excel using OLE (don't ask why, just take it as it is ;-)). I have to tell excel the format settings for...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.