Load DLL resource which contain custom control
-
I have to support French for an application. All the resources of my application are stored in a DLL for French. when select default language, main resource is loaded and if select french, french dll of resource is loaded. Everything is fine as long as no custom controls are used. I get a problem with custom control when load resource dll: In old version, there is a control which managed by ActiveX Control, when i load resource dll (french) -> DONE: CONTROL "",IDC_PREF_DIALOG_HIST, "{E41EAFC4-F536-11CF-93A1-0000C0A61E5A}",WS_TABSTOP,7,7, 397,114 But in new version, this control is edit to Custom Control and manage by a new class (CHistogramCtl). when I use default language (English) => OK. But when I use french language (resource DLL), I could not load dialog which contain this control. CONTROL "Custom2",IDC_PREF_DIALOG_HIST,"Histogram_Ctrl_Class", WS_TABSTOP,7,7,397,118,WS_EX_CLIENTEDGE Any suggestion will be helpful. Thanks in advance, Papais
Papais
-
I have to support French for an application. All the resources of my application are stored in a DLL for French. when select default language, main resource is loaded and if select french, french dll of resource is loaded. Everything is fine as long as no custom controls are used. I get a problem with custom control when load resource dll: In old version, there is a control which managed by ActiveX Control, when i load resource dll (french) -> DONE: CONTROL "",IDC_PREF_DIALOG_HIST, "{E41EAFC4-F536-11CF-93A1-0000C0A61E5A}",WS_TABSTOP,7,7, 397,114 But in new version, this control is edit to Custom Control and manage by a new class (CHistogramCtl). when I use default language (English) => OK. But when I use french language (resource DLL), I could not load dialog which contain this control. CONTROL "Custom2",IDC_PREF_DIALOG_HIST,"Histogram_Ctrl_Class", WS_TABSTOP,7,7,397,118,WS_EX_CLIENTEDGE Any suggestion will be helpful. Thanks in advance, Papais
Papais