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
 Suggestions SetWindowTextW instead of Text
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

xMRi
Tomato Guru

Germany
315 Posts

Posted - Jan 19 2016 :  03:42:02 AM  Show Profile  Reply with Quote
Hi!

I have a MFC application and I write the following code lines:

CEdit	wnd;
wnd.stw


The Suggestions I get with the matching function names is SetWindowTextW. That is in fact correct. I have a Unicode project, but I don't want to see the W at the end. SetWindowText should be the correct suggestions.
Same with gwt or gwtl

Greetings
Martin

Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jan 19 2016 :  8:44:28 PM  Show Profile  Reply with Quote
We get entries from Intellisense by default. Setting the source to Visual Assist helps with this:

VA Options -> Enhanced Listboxes -> Source of C/C++ content = Visual Assist
Go to Top of Page

xMRi
Tomato Guru

Germany
315 Posts

Posted - Jan 25 2016 :  01:57:22 AM  Show Profile  Reply with Quote
Yes. Thank this helps here.
Are there any drawbacks?

Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18750 Posts

Posted - Jan 25 2016 :  6:41:45 PM  Show Profile  Reply with Quote
For some people the IDE's intellisense parser is more accurate than our parser, when it comes to what to put into a listbox. Also the IDE filters out private / protected members automatically when they are not visible. We are looking to do this as well, but it hasn't happened yet.

Hopefully you won't see too many major changes, and changing the setting will help.

zen is the art of being at one with the two'ness
Go to Top of Page

xMRi
Tomato Guru

Germany
315 Posts

Posted - Jan 26 2016 :  09:33:16 AM  Show Profile  Reply with Quote
Thanks!

Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming
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