Re: Unicode setting question
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Thu, 29 May 2008 22:01:51 -0400
But it can't be too literal:
#include _T("myheader.h")
MYPROC p = (MYPROC)GetProcAddress(dll, _T("MyFunction"));
CStringA printercommand(_T("\33D07"));
would all be erroneous auto-completions.
joe
On Thu, 29 May 2008 10:01:56 -0700, "David Ching" <dc@xxxxxxxxxxxxxxxxxxxxxx> wrote:
"Mihai N." <nmihai_year_2000@xxxxxxxxx> wrote in messageJoseph M. Newcomer [MVP]
news:Xns9AAD60C604468MihaiN@xxxxxxxxxxxxxxxx
Jokes aside, it is very easy to write a macro that takes the current
selection and adds _T() around it, and assign it the shortcut you want.
But selecting the string you just typed is as much trouble as manually
typing _T("") in the first place. What you really want is the IDE to look
for literal strings that when the terminating double-quote is typed, it
surrounds the entire string with the _T().
-- David
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Follow-Ups:
- Re: Unicode setting question
- From: David Ching
- Re: Unicode setting question
- References:
- Re: Unicode setting question
- From: Joseph M . Newcomer
- Re: Unicode setting question
- From: Hans-J. Ude
- Re: Unicode setting question
- From: Joseph M . Newcomer
- Re: Unicode setting question
- From: David Ching
- Re: Unicode setting question
- From: Mihai N.
- Re: Unicode setting question
- From: David Ching
- Re: Unicode setting question
- Prev by Date: Re: Unicode setting question
- Next by Date: Re: UTF-16
- Previous by thread: Re: Unicode setting question
- Next by thread: Re: Unicode setting question
- Index(es):
Relevant Pages
|