CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: chabbawoggie

Search: Search took 0.02 seconds.

  1. Re: overwrite virtual template methods

    Hi all,
    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...
  2. Re: overwrite virtual template methods

    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).
    But Borland...
  3. Re: overwrite virtual template methods

    Hi originalfamousjohnsmith,
    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...
  4. Re: overwrite virtual template methods

    Hi Itcmelo,
    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)


    //This...
  5. [RESOLVED] overwrite virtual template methods

    Hi Folks,
    I've got a template and the relevant code looks like this:
    ----
    public:
    virtual bool IsValid () const
    {
    return IsValid (mMemberValue);
    }

    protected:
  6. Re: Problem with TreeView control and get root name

    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...
  7. Replies
    8
    Views
    2,952

    Re: A HWND without a Window

    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.
  8. Re: GetLocaleInfo and Non-english Windowsversions

    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...
    ...
  9. Re: GetLocaleInfo and Non-english Windowsversions

    Hi golanshahar,
    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...
  10. Re: GetLocaleInfo and Non-english Windowsversions

    Hi golanshahar,
    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...
  11. GetLocaleInfo and Non-english Windowsversions

    Hi folks,
    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...
Results 1 to 11 of 11





Click Here to Expand Forum to Full Width

Featured