Click here to Skip to main content
11,578,524 members (58,040 online)

C / C++ / MFC

 
GeneralRe: MFC Programming Pin
Joe Woodbury4-Mar-13 14:03
memberJoe Woodbury4-Mar-13 14:03 
AnswerRe: MFC Programming Pin
oleg631-Mar-13 6:11
memberoleg631-Mar-13 6:11 
GeneralRe: MFC Programming Pin
Unque5-Mar-13 22:51
memberUnque5-Mar-13 22:51 
AnswerRe: MFC Programming Pin
«_Superman_»1-Mar-13 16:28
member«_Superman_»1-Mar-13 16:28 
GeneralRe: MFC Programming Pin
Unque5-Mar-13 22:57
memberUnque5-Mar-13 22:57 
AnswerRe: MFC Programming Pin
Stephen Hewitt2-Mar-13 12:27
memberStephen Hewitt2-Mar-13 12:27 
AnswerRe: MFC Programming Pin
Joe Woodbury4-Mar-13 11:39
memberJoe Woodbury4-Mar-13 11:39 
GeneralRe: MFC Programming Pin
Stephen Hewitt16-Mar-13 13:48
memberStephen Hewitt16-Mar-13 13:48 
Questionhow to increase the width and height of a bitmap in mfc.? Pin
mbatra3128-Feb-13 19:53
membermbatra3128-Feb-13 19:53 
AnswerRe: how to increase the width and height of a bitmap in mfc.? Pin
Flaviu228-Feb-13 21:00
memberFlaviu228-Feb-13 21:00 
GeneralRe: how to increase the width and height of a bitmap in mfc.? Pin
mbatra311-Mar-13 1:13
membermbatra311-Mar-13 1:13 
AnswerRe: how to increase the width and height of a bitmap in mfc.? Pin
Jochen Arndt28-Feb-13 21:20
memberJochen Arndt28-Feb-13 21:20 
QuestionHELP: UNICODE conversion sprung up problems with CString & CHARFORMAT2 Pin
andwan028-Feb-13 4:00
memberandwan028-Feb-13 4:00 
AnswerRe: HELP: UNICODE conversion sprung up problems with CString & CHARFORMAT2 Pin
Jochen Arndt28-Feb-13 4:52
memberJochen Arndt28-Feb-13 4:52 
A quote from the MySpell link of the SpellEdit article:
Quote:
MySpell has been replaced with hunspell starting with OpenOffice.org 2.0.2. Hunspell builds on MySpell but supports Unicode and adds several other useful features.
So you can't use MySpell with Unicode builds because it supports only ANSI character sets.

Hunspell has Unicode support but uses UTF-8 strings while Windows uses UTF-16. So Windows strings must be converted to UTF-8 before passing them to the spell checker.

With UTF-8, strings are still passed as char* because a single character is encoded as sequences of bytes with variable length while UTF-16 charcters are represented by two bytes (wchar_t). When using CString objects, they will be CStringA or CStringW according to the Unicode setting of your project. You may use CStrings to convert between ANSI and Unicode:
LPCSTR lpszAnsi = "ANSI text";
LPWCSTR lpszWide = L"Unicode text";
CStringA strA = lpszWide; // Converts to Unicode
CStringW strW = lpszAnsi; // Converts to Unicode
But for UTF-8 conversions, you must use WideCharToMultiByte() and MultiByteToWideChar().

You may have a look at http://sourceforge.net/projects/hunspell/files/Misc/RichEdit/[^] which implements spell checking for a RichEdit control using Hunspell.
QuestionDialog Template is replacing Standard Dialog Pin
yogeshs27-Feb-13 23:11
memberyogeshs27-Feb-13 23:11 
AnswerRe: Dialog Template is replacing Standard Dialog Pin
Richard MacCutchan28-Feb-13 3:02
mvpRichard MacCutchan28-Feb-13 3:02 
GeneralRe: Dialog Template is replacing Standard Dialog Pin
yogeshs28-Feb-13 19:41
memberyogeshs28-Feb-13 19:41 
GeneralRe: Dialog Template is replacing Standard Dialog Pin
Richard MacCutchan28-Feb-13 22:01
mvpRichard MacCutchan28-Feb-13 22:01 
GeneralRe: Dialog Template is replacing Standard Dialog Pin
yogeshs1-Mar-13 0:33
memberyogeshs1-Mar-13 0:33 
QuestionChange Network configuration using win32 VC++ Pin
toms from newdelhi27-Feb-13 22:13
membertoms from newdelhi27-Feb-13 22:13 
SuggestionRe: Change Network configuration using win32 VC++ Pin
Richard MacCutchan28-Feb-13 3:01
mvpRichard MacCutchan28-Feb-13 3:01 
QuestionHow to change the size of Property sheet or Property Page in MFC.? Pin
mbatra3127-Feb-13 18:11
membermbatra3127-Feb-13 18:11 
AnswerRe: How to change the size of Property sheet or Property Page in MFC.? Pin
DavidCrow28-Feb-13 4:19
memberDavidCrow28-Feb-13 4:19 
QuestionHow to determine in runtime the class type of inhetited class from common base class? Pin
oleg6327-Feb-13 6:48
memberoleg6327-Feb-13 6:48 
QuestionRe: How to determine in runtime the class type of inhetited class from common base class? Pin
DavidCrow27-Feb-13 7:09
memberDavidCrow27-Feb-13 7:09 
AnswerRe: How to determine in runtime the class type of inhetited class from common base class? Pin
oleg6327-Feb-13 7:12
memberoleg6327-Feb-13 7:12 
AnswerRe: How to determine in runtime the class type of inhetited class from common base class? Pin
Maximilien27-Feb-13 8:02
memberMaximilien27-Feb-13 8:02 
QuestionLinker error with CLSID defined in uuids.h Pin
Vaclav_Sal27-Feb-13 5:56
memberVaclav_Sal27-Feb-13 5:56 
AnswerRe: Linker error with CLSID defined in uuids.h Pin
Richard MacCutchan27-Feb-13 6:19
mvpRichard MacCutchan27-Feb-13 6:19 
GeneralRe: Linker error with CLSID defined in uuids.h Pin
Vaclav_Sal27-Feb-13 6:38
memberVaclav_Sal27-Feb-13 6:38 
GeneralRe: Linker error with CLSID defined in uuids.h Pin
Richard MacCutchan27-Feb-13 7:25
mvpRichard MacCutchan27-Feb-13 7:25 
GeneralRe: Linker error with CLSID defined in uuids.h Pin
Vaclav_Sal27-Feb-13 7:39
memberVaclav_Sal27-Feb-13 7:39 
GeneralRe: Linker error with CLSID defined in uuids.h Pin
Richard MacCutchan27-Feb-13 9:20
mvpRichard MacCutchan27-Feb-13 9:20 
AnswerRe: Linker error with CLSID defined in uuids.h Pin
Vaclav_Sal27-Feb-13 15:32
memberVaclav_Sal27-Feb-13 15:32 
AnswerRe: Linker error with CLSID defined in uuids.h Pin
SoMad27-Feb-13 16:38
memberSoMad27-Feb-13 16:38 
GeneralRe: Linker error with CLSID defined in uuids.h Pin
SoMad27-Feb-13 18:02
memberSoMad27-Feb-13 18:02 
GeneralRe: Linker error with CLSID defined in uuids.h Pin
Vaclav_Sal28-Feb-13 2:42
memberVaclav_Sal28-Feb-13 2:42 
AnswerRe: Linker error with CLSID defined in uuids.h Pin
Vaclav_Sal28-Feb-13 9:34
memberVaclav_Sal28-Feb-13 9:34 
Questionlink list Pin
vshwash27-Feb-13 5:44
membervshwash27-Feb-13 5:44 
AnswerRe: link list Pin
Richard MacCutchan27-Feb-13 6:08
mvpRichard MacCutchan27-Feb-13 6:08 
AnswerRe: link list Pin
DavidCrow27-Feb-13 7:08
memberDavidCrow27-Feb-13 7:08 
Questionsimple dynamic array insert and remove element Pin
Eshoula Aswomwe27-Feb-13 2:18
memberEshoula Aswomwe27-Feb-13 2:18 
AnswerRe: simple dynamic array insert and remove element Pin
ThePhantomUpvoter27-Feb-13 3:05
memberThePhantomUpvoter27-Feb-13 3:05 
GeneralRe: simple dynamic array insert and remove element Pin
Eshoula Aswomwe27-Feb-13 3:34
memberEshoula Aswomwe27-Feb-13 3:34 
QuestionHow to export Excel data into a file in MFC VC++ 2010 Pin
syam07126-Feb-13 23:55
membersyam07126-Feb-13 23:55 
AnswerRe: How to export Excel data into a file in MFC VC++ 2010 Pin
Richard MacCutchan27-Feb-13 1:03
mvpRichard MacCutchan27-Feb-13 1:03 
QuestionLowest Level of Graphics on Windows Pin
Pravinda Amarathunge26-Feb-13 18:01
memberPravinda Amarathunge26-Feb-13 18:01 
AnswerRe: Lowest Level of Graphics on Windows Pin
CPallini26-Feb-13 21:04
mvpCPallini26-Feb-13 21:04 
GeneralRe: Lowest Level of Graphics on Windows Pin
Pravinda Amarathunge26-Feb-13 23:01
memberPravinda Amarathunge26-Feb-13 23:01 
GeneralRe: Lowest Level of Graphics on Windows Pin
CPallini26-Feb-13 23:15
mvpCPallini26-Feb-13 23:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150603.1 | Last Updated 5 Jul 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid