You could look in the Charachter Map in your accessories. Some fonts supports Unicode. I'm not sure but I think you have to have w2k to be able to see the Unicode charchters. /Per
Per
Posts
-
UNICODE -
Window opaquenesHi Does anybody know if there is a way to control how opaque a window is? Could I make a window e.g. 50% opaque or at least make an image in a window 50% opaque? Thanks in advance. /Per
-
UNICODEHi For the first 255 charachters the unicode codes matches the ansi table. Instead of having different tables with 255 charachters each unicode is one big table with roughly 65000 charachters covering the worlds all different languages and some special symbols aswell. /Per
-
A Simple Question about File StatusI'm not sure what you mean by 'being read'. If you mean 'is the file being read from right now' I don't know but if you mean 'when was the file last accessed' I think you can use GetStatus(). /Per
-
Getting Edit control caret position?Maybe you can use GetCaretPos(). /Per
-
Chum in the waterHopefully the interview ended because of the screaming from general Reinwald being kicked in the nads by the reporter, repeatedly. In case he was in possession of any from the start. /Per
-
A Simple Question about File StatusYou can use CFile::GetStatus() /Per
-
large text files in rich edit controlsUse LimitText(). /Per
-
MFC, Rich Edit HELP !!!You could use SetText() or stream the text in with a callback function something like:
DWORD CALLBACK readText(DWORD dwFileHandle, LPBYTE lpBuffer, LONG nbrToRead,
LONG FAR* lpNbrRead)
{
BOOL file = ReadFile((HANDLE)dwFileHandle,lpBuffer, nbrToRead,
(unsigned long*)lpNbrRead, NULL);if(file == FALSE ){ AfxMessageBox(\_T("Could'n open file!"),MB\_ICONEXCLAMATION); return 1; } return 0;
}
and then call it with something like this:
EDITSTREAM stream; HANDLE hFil;//file to open fFormat = SF\_TEXT; strom.dwCookie = (DWORD)hFil; strom.pfnCallback = readText; m\_recText.StreamIn( fFormat, strom );//RichEditCtrl
/Per