Click here to Skip to main content
15,890,123 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Font Size Problem in Edit Control Pin
vishalgpt10-Jun-11 17:28
vishalgpt10-Jun-11 17:28 
Questionhow to get the code of OnLButtonDown and OnMouseMove etc in OnDraw method ? Pin
iampradeepsharma8-Jun-11 17:13
iampradeepsharma8-Jun-11 17:13 
AnswerRe: how to get the code of OnLButtonDown and OnMouseMove etc in OnDraw method ? Pin
Cedric Moonen8-Jun-11 20:29
Cedric Moonen8-Jun-11 20:29 
QuestionRe: how to get the code of OnLButtonDown and OnMouseMove etc in OnDraw method ? Pin
వేంకటనారాయణ(venkatmakam)8-Jun-11 20:30
వేంకటనారాయణ(venkatmakam)8-Jun-11 20:30 
AnswerRe: how to get the code of OnLButtonDown and OnMouseMove etc in OnDraw method ? Pin
Sarath C10-Jun-11 2:58
Sarath C10-Jun-11 2:58 
QuestionHow to fix the WinInet's block bug ? Pin
wangningyu8-Jun-11 15:36
wangningyu8-Jun-11 15:36 
QuestionFormatting CEdit Pin
DanYELL8-Jun-11 3:58
DanYELL8-Jun-11 3:58 
QuestionRe: Formatting CEdit Pin
David Crow8-Jun-11 4:21
David Crow8-Jun-11 4:21 
AnswerRe: Formatting CEdit Pin
DanYELL8-Jun-11 4:33
DanYELL8-Jun-11 4:33 
AnswerRe: Formatting CEdit Pin
Niklas L9-Jun-11 1:11
Niklas L9-Jun-11 1:11 
QuestionLogOff event in ActiveX control Pin
S p k 5217-Jun-11 19:26
S p k 5217-Jun-11 19:26 
AnswerRe: LogOff event in ActiveX control Pin
Niklas L7-Jun-11 20:19
Niklas L7-Jun-11 20:19 
Questionhow to check that database was corrupted or not??? Pin
shashankacharya7-Jun-11 19:10
shashankacharya7-Jun-11 19:10 
AnswerRe: how to check that database was corrupted or not??? Pin
Richard MacCutchan7-Jun-11 21:36
mveRichard MacCutchan7-Jun-11 21:36 
QuestionRe: how to check that database was corrupted or not??? Pin
David Crow8-Jun-11 3:04
David Crow8-Jun-11 3:04 
AnswerRe: how to check that database was corrupted or not??? Pin
jschell8-Jun-11 9:02
jschell8-Jun-11 9:02 
QuestionSetting RTL for a window? Pin
Hans Dietrich7-Jun-11 16:27
mentorHans Dietrich7-Jun-11 16:27 
According to MSDN, using SetProcessDefaultLayout(LAYOUT_RTL) should change the layout to right-to-left. However, it does not change the window caption - the buttons are still on the right.

I have found that using the extended style WS_EX_LAYOUTRTL does move the caption buttons to the left.

Is this how SetProcessDefaultLayout() is supposed to work? Or is there another API that will move the caption buttons to the left?

While WS_EX_LAYOUTRTL does work, it means that each window creation has to be intercepted and this flag added. I was hoping to find some way to do it only once, when an app starts.

Thanks for any suggestions.
Best wishes,
Hans


[Hans Dietrich Software]

AnswerRe: Setting RTL for a window? Pin
Code-o-mat7-Jun-11 21:53
Code-o-mat7-Jun-11 21:53 
AnswerRe: Setting RTL for a window? Pin
Hans Dietrich8-Jun-11 4:00
mentorHans Dietrich8-Jun-11 4:00 
GeneralRe: Setting RTL for a window? Pin
Code-o-mat8-Jun-11 6:08
Code-o-mat8-Jun-11 6:08 
GeneralRe: Setting RTL for a window? Pin
Code-o-mat9-Jun-11 6:56
Code-o-mat9-Jun-11 6:56 
QuestionWin32 Buttons, which is which? [solved] Pin
Groulien7-Jun-11 8:56
Groulien7-Jun-11 8:56 
AnswerRe: Win32 Buttons, which is which? [solved] Pin
Albert Holguin7-Jun-11 14:34
professionalAlbert Holguin7-Jun-11 14:34 
AnswerRe: Win32 Buttons, which is which? [solved] Pin
Tarmo Kalda9-Jun-11 0:03
Tarmo Kalda9-Jun-11 0:03 
QuestionHelp with reading Window titles and text in C sharp Pin
turbosupramk37-Jun-11 4:56
turbosupramk37-Jun-11 4:56 

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.