Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Change . to -> not always working
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

AdyR
Ketchup Master

United Kingdom
75 Posts

Posted - Apr 25 2007 :  12:01:02 PM  Show Profile  Reply with Quote
I really like the feature of converting . to -> but in the last few builds it does not always work. I can't remember exactly when it stopped working.
One place I can reliably reproduce this is with the CWnd::GetDlgItem function which returns a pointer to a CWnd but the . does not get converted.


Ady

sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 25 2007 :  12:08:46 PM  Show Profile  Reply with Quote
The conversion is not reliable with method overloads that return different types.
GetDlgItem is overloaded with different returns:
CWnd* GetDlgItem(int nID) const;
void GetDlgItem(int nID, HWND* phWnd) const;
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000