Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Load DLL resource which contain custom control

Load DLL resource which contain custom control

Scheduled Pinned Locked Moved C / C++ / MFC
comhelpannouncementlearning
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dungpapai
    wrote on last edited by
    #1

    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

    A 1 Reply Last reply
    0
    • D dungpapai

      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

      A Offline
      A Offline
      Atul23
      wrote on last edited by
      #2

      How u create resources in French Language in VC++. Thanks Atool Atool

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups