Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Change . to -> not always working

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
AdyR Posted - Apr 25 2007 : 12:01:02 PM
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.

1   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Apr 25 2007 : 12:08:46 PM
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;

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000