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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. Can't close main form!!

Can't close main form!!

Scheduled Pinned Locked Moved Managed C++/CLI
question
4 Posts 2 Posters 1 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.
  • R Offline
    R Offline
    richiemac
    wrote on last edited by
    #1

    Hi all, I've created a form with a number of child windows. One certain window is behaving very strangely. If I open the child window and then close it, the main form will not close - by this I mean I can't click the exit button or use the exit menu item. The main reason for my confusion is that this behaviour only happens on certain machines. Does anyone have any knowledge of why this might be occurring? It must have something to do with the individual machines but I can't find anything that would cause this and I was just wondering if any of you guys have come across this before. Thanks in advance Rich

    S 1 Reply Last reply
    0
    • R richiemac

      Hi all, I've created a form with a number of child windows. One certain window is behaving very strangely. If I open the child window and then close it, the main form will not close - by this I mean I can't click the exit button or use the exit menu item. The main reason for my confusion is that this behaviour only happens on certain machines. Does anyone have any knowledge of why this might be occurring? It must have something to do with the individual machines but I can't find anything that would cause this and I was just wondering if any of you guys have come across this before. Thanks in advance Rich

      S Offline
      S Offline
      Saksida Bojan
      wrote on last edited by
      #2

      I think there is a problem in your code. Try to debug, after you close certan window. Or try recreate this child window. quote: behaviour only happens on certain machines If you use same setting for this child window then all child would have same problem

      R 1 Reply Last reply
      0
      • S Saksida Bojan

        I think there is a problem in your code. Try to debug, after you close certan window. Or try recreate this child window. quote: behaviour only happens on certain machines If you use same setting for this child window then all child would have same problem

        R Offline
        R Offline
        richiemac
        wrote on last edited by
        #3

        That's what's confusing me. If it happened everywhere I would at least have a starting point.:confused::confused::confused:

        S 1 Reply Last reply
        0
        • R richiemac

          That's what's confusing me. If it happened everywhere I would at least have a starting point.:confused::confused::confused:

          S Offline
          S Offline
          Saksida Bojan
          wrote on last edited by
          #4

          Try to disable all your code. If error still exist, try to delete and create another child

          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