Click here to Skip to main content
15,897,315 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionread stl files Pin
saisp26-Jul-07 22:51
saisp26-Jul-07 22:51 
AnswerRe: read stl files Pin
CPallini26-Jul-07 23:14
mveCPallini26-Jul-07 23:14 
GeneralRe: read stl files Pin
beko26-Jul-07 23:28
beko26-Jul-07 23:28 
GeneralRe: read stl files Pin
saisp26-Jul-07 23:42
saisp26-Jul-07 23:42 
GeneralRe: read stl files Pin
beko27-Jul-07 4:17
beko27-Jul-07 4:17 
GeneralRe: read stl files Pin
CPallini26-Jul-07 23:42
mveCPallini26-Jul-07 23:42 
GeneralRe: read stl files Pin
saisp26-Jul-07 23:49
saisp26-Jul-07 23:49 
QuestionView Style Changes when switching the compiler option _UNICODE to _MBCS [modified] Pin
F.Falk26-Jul-07 22:42
F.Falk26-Jul-07 22:42 
Hi,

i have a very old project without unicode support that i wanted to modernize a bit. Especially the user interface should get the new windows xp or vista control-style. But it doesn't works completly . The Dialog Controls don't wanted to switch to the new style. I tried everything i've found in the net but nothing works. Then i created a new project (mfc-application, dialog based) where i just open a about box to start some tests. The first result was:

The Button and the Icon are drawn in XP Style

Then i compared every option in the project settings and all include-files and #defines in the stdafx.h to my own project and changed one by one to find out whats wrong.

When i changed the character set from Unicode to Multi Byte i got this dialog box:

The Button and the Icon are drawn in Old Style

I really don't understand why this switch leads to this old window styles. But the bigger problem is: my own application is written completly for Multi Byte Character Set. And its a VERY Big Application. It will take days to convert it to Unicode and since there are things like text parsers included it will not be easy to be sure that everything runs fine after the conversion.

It would be nice if there is a way to get around this problem without switching to unicode.

Does someone know this problem and how to go around?

Thanks in advance.

Best Regards,

Florian


-- modified at 5:28 Friday 27th July, 2007
AnswerRe: View Style Changes when switching the compiler option _UNICODE to _MBCS Pin
Mark Salsbery27-Jul-07 6:24
Mark Salsbery27-Jul-07 6:24 
QuestionCreateProcess with write permission Pin
slasktrat26-Jul-07 22:38
slasktrat26-Jul-07 22:38 
AnswerRe: CreateProcess with write permission Pin
Sam_c26-Jul-07 23:08
Sam_c26-Jul-07 23:08 
GeneralRe: CreateProcess with write permission Pin
slasktrat26-Jul-07 23:34
slasktrat26-Jul-07 23:34 
GeneralRe: CreateProcess with write permission Pin
Sam_c27-Jul-07 0:28
Sam_c27-Jul-07 0:28 
QuestionMemory Allocation Problem Pin
rjkg26-Jul-07 21:04
rjkg26-Jul-07 21:04 
AnswerRe: Memory Allocation Problem Pin
VonHagNDaz27-Jul-07 1:35
VonHagNDaz27-Jul-07 1:35 
AnswerRe: Memory Allocation Problem Pin
rjkg27-Jul-07 21:34
rjkg27-Jul-07 21:34 
Questionhtml-help: expand all contents tabs Pin
includeh1026-Jul-07 21:00
includeh1026-Jul-07 21:00 
Question.obj file Pin
ShilpiP26-Jul-07 19:08
ShilpiP26-Jul-07 19:08 
AnswerRe: .obj file Pin
CPallini26-Jul-07 20:49
mveCPallini26-Jul-07 20:49 
GeneralRe: .obj file Pin
ShilpiP26-Jul-07 21:22
ShilpiP26-Jul-07 21:22 
GeneralRe: .obj file Pin
CPallini26-Jul-07 21:47
mveCPallini26-Jul-07 21:47 
GeneralRe: .obj file Pin
ShilpiP26-Jul-07 23:01
ShilpiP26-Jul-07 23:01 
GeneralRe: .obj file Pin
CPallini26-Jul-07 23:13
mveCPallini26-Jul-07 23:13 
GeneralRe: .obj file Pin
ShilpiP26-Jul-07 23:22
ShilpiP26-Jul-07 23:22 
GeneralRe: .obj file Pin
Shouvik Das26-Jul-07 23:48
Shouvik Das26-Jul-07 23:48 

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

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