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. Anyoune knows differences with custom controls in NT and W98???

Anyoune knows differences with custom controls in NT and W98???

Scheduled Pinned Locked Moved C / C++ / MFC
learningcsshelpquestion
3 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.
  • M Offline
    M Offline
    M Vo
    wrote on last edited by
    #1

    Hi, I am stuck... We use a custom control (yes, THE Grid Control ;-) in a big project . With NT4 everything is running fine, but now someone dared to run it with Win98 and W2k. The Result: every dialog with the grid in it refused to open!!! The samples provided with the grid run fine on the same machine, so it is nothing with the grid. When I setl the custom control in the resource editor to the classname EDIT, the dialog starts (but it looks terrible, of course ;-). So: what can be wrong in this project? ANY hints? Martin

    L 1 Reply Last reply
    0
    • M M Vo

      Hi, I am stuck... We use a custom control (yes, THE Grid Control ;-) in a big project . With NT4 everything is running fine, but now someone dared to run it with Win98 and W2k. The Result: every dialog with the grid in it refused to open!!! The samples provided with the grid run fine on the same machine, so it is nothing with the grid. When I setl the custom control in the resource editor to the classname EDIT, the dialog starts (but it looks terrible, of course ;-). So: what can be wrong in this project? ANY hints? Martin

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      here is a Shot in the Dark. hope it may be help. Don't use the Default name for the dialogs controls i.e When the Control's ID is IDC_STATIC I used to have weird problems of th dialog not showing in . or the control it self not being used win98 fine when using nt. (I guess because the value for, IDC_STATIC is = -1 in win95 , which can't be used Try changing the ID of the control to somthing Diffrent. like IDC_MYCONTROL. (geee, that was imaginitive of me :) ) Cheers Alfadhly

      M 1 Reply Last reply
      0
      • L Lost User

        here is a Shot in the Dark. hope it may be help. Don't use the Default name for the dialogs controls i.e When the Control's ID is IDC_STATIC I used to have weird problems of th dialog not showing in . or the control it self not being used win98 fine when using nt. (I guess because the value for, IDC_STATIC is = -1 in win95 , which can't be used Try changing the ID of the control to somthing Diffrent. like IDC_MYCONTROL. (geee, that was imaginitive of me :) ) Cheers Alfadhly

        M Offline
        M Offline
        M Vo
        wrote on last edited by
        #3

        Thanks, Alfadhly, but that's not the point, all the controls have other IDs. In the meantime I got another hint: The dialogs don't load when I put the ressources into an EXTERNAL DLL (as it is the case in this project)! You can do this with a minimal test app and you will get the same problems! Is there a way to tell the application, that it has to run with such an external DLL AND custom controls? Did I miss something important to do? Every other dialog works just fine, only the dialogs with custom controls in it refuse to load... Martin

        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