Click here to Skip to main content
16,015,666 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: How to add a MFC dialog in a WTL project? Pin
freehawk18-Jan-04 19:05
freehawk18-Jan-04 19:05 
GeneralRe: How to add a MFC dialog in a WTL project? Pin
Igor Vigdorchik19-Jan-04 5:13
Igor Vigdorchik19-Jan-04 5:13 
GeneralSTL list sort() limit Pin
GMoss11-Dec-03 3:12
GMoss11-Dec-03 3:12 
GeneralRe: STL list sort() limit Pin
jbarton11-Dec-03 5:40
jbarton11-Dec-03 5:40 
GeneralRe: STL list sort() limit Pin
ZoogieZork11-Dec-03 8:26
ZoogieZork11-Dec-03 8:26 
GeneralInternet Explorer Toolbar Pin
krishnendubagchi@greymatterindia.com11-Dec-03 2:02
krishnendubagchi@greymatterindia.com11-Dec-03 2:02 
GeneralRe: Internet Explorer Toolbar Pin
Michael Dunn11-Dec-03 14:50
sitebuilderMichael Dunn11-Dec-03 14:50 
GeneralUsing Japanese Resources Pin
SanShou10-Dec-03 5:33
SanShou10-Dec-03 5:33 
I am currently attempting to localize a dialog for Japanese. This dialog inherits off of CAxDialogImpl. The seemingly simple way to localize this was to set the _Module.hinstResource to our language DLL. This seems to find the dialog and seems to load it. It does call _DialogSplitHelper::SplitDialogTemplate which finds all the controls and builds the template. However when it proceeds to call DialogBoxIndirectParam it returns a -1. Called GetLastError and of course it returns "Operation Completed Successfully".

Then I tried to modify the dialog to use our internal resources. I did that by overriding DoModal and creating a Modal Pump. This allows me to use our internal dialog creation tools that are designed to load from our Japanese language DLL and if that fails load from the embedded English resources. However the Japanese dialog fails to load, and then StartWindowProc asserts when trying to load the English dialog. This is because _Module.ExtractCreateWndData() returns a NULL. (NOTE: I do AddCreateWndData() in the DoModal call). Also if set the application to load English only, then this dialog still doesn't come up but does not assert in StartWindowProc.

Anybody seen this before and solved it? Anybody have any articles on localizing CAxDialogImpl()?

All help is helpful, and appreciated...

Thanks,
Brian

If you start a fire for a man, he will be warm for a day. If you start that same man on fire, he will be warm for the rest of his life.
GeneralWTL 7.1 with VS.NET2003 Support Released Pin
JeremyRemington9-Dec-03 21:10
JeremyRemington9-Dec-03 21:10 
GeneralRe: WTL 7.1 with VS.NET2003 Support Released Pin
Jörgen Sigvardsson10-Dec-03 8:14
Jörgen Sigvardsson10-Dec-03 8:14 
GeneralSTL map. Pin
WREY9-Dec-03 5:11
WREY9-Dec-03 5:11 
GeneralRe: STL map. Pin
ZoogieZork9-Dec-03 6:28
ZoogieZork9-Dec-03 6:28 
GeneralRe: STL map. Pin
WREY9-Dec-03 9:40
WREY9-Dec-03 9:40 
GeneralRe: STL map. Pin
ZoogieZork9-Dec-03 11:42
ZoogieZork9-Dec-03 11:42 
GeneralRe: STL map. Pin
Jörgen Sigvardsson17-Dec-03 8:18
Jörgen Sigvardsson17-Dec-03 8:18 
GeneralImplementing a COM interface in ATL Pin
Judah Gabriel Himango8-Dec-03 9:18
sponsorJudah Gabriel Himango8-Dec-03 9:18 
GeneralRe: Implementing a COM interface in ATL Pin
Jörgen Sigvardsson12-Dec-03 8:19
Jörgen Sigvardsson12-Dec-03 8:19 
GeneralPrinting with WebBrowser Control Pin
Jo Fredrickson7-Dec-03 18:10
Jo Fredrickson7-Dec-03 18:10 
GeneralRe: Printing with WebBrowser Control Pin
Kosenko Kolya19-Dec-03 0:57
Kosenko Kolya19-Dec-03 0:57 
GeneralRe: Printing with WebBrowser Control Pin
Jo Fredrickson19-Dec-03 17:07
Jo Fredrickson19-Dec-03 17:07 
GeneralPersisting STL containers to disk Pin
Jeremy Pullicino5-Dec-03 4:38
Jeremy Pullicino5-Dec-03 4:38 
GeneralRe: Persisting STL containers to disk Pin
Todd Smith5-Dec-03 5:03
Todd Smith5-Dec-03 5:03 
GeneralRe: Persisting STL containers to disk Pin
John M. Drescher15-Dec-03 7:01
John M. Drescher15-Dec-03 7:01 
GeneralRe: Persisting STL containers to disk Pin
valikac5-Dec-03 5:36
valikac5-Dec-03 5:36 
GeneralRe: Dynamically adding a ActiveX control as a resource to a project Pin
Abhishek Srivastava5-Dec-03 0:51
Abhishek Srivastava5-Dec-03 0:51 

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.