crswesty
2007-06-19 09:07:03 UTC
I'm posting this in the MFC newsgroup because the application I'm working
with is an MFC MDI one so apologies if it should be elsewhere.
When I set the WS_EX_LAYOUTRTL in the CMainFrame PreCreateWindow function
the window in mirrored as expected, as is the toolbar. I would like to stop
the bitmaps on the toolbar getting reflected and have found articles on the
MSDN site that talk about setting the LAYOUT_BITMAPORIENTATIONPRESERVED flag
on the current device context.
This may very well fix the problem but I don't know where I should be
setting this flag, I have tried to do this in the CMainFrame class in
OnCreate.
Can someone please advise on how to resolve this issue?
with is an MFC MDI one so apologies if it should be elsewhere.
When I set the WS_EX_LAYOUTRTL in the CMainFrame PreCreateWindow function
the window in mirrored as expected, as is the toolbar. I would like to stop
the bitmaps on the toolbar getting reflected and have found articles on the
MSDN site that talk about setting the LAYOUT_BITMAPORIENTATIONPRESERVED flag
on the current device context.
This may very well fix the problem but I don't know where I should be
setting this flag, I have tried to do this in the CMainFrame class in
OnCreate.
Can someone please advise on how to resolve this issue?