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. Managed C++/CLI
  4. Problem with dialogs

Problem with dialogs

Scheduled Pinned Locked Moved Managed C++/CLI
help
5 Posts 3 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
    dSolariuM
    wrote on last edited by
    #1

    Hi everyone, I've got a problem with dialogs, After I open a dialog I want to call a function in the parent dialog... But when I include the parent header file it gives me errors... Please help me... Thanks.

    Every new thing you learn,Gives you a new personality.

    M 1 Reply Last reply
    0
    • D dSolariuM

      Hi everyone, I've got a problem with dialogs, After I open a dialog I want to call a function in the parent dialog... But when I include the parent header file it gives me errors... Please help me... Thanks.

      Every new thing you learn,Gives you a new personality.

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      dSolariuM wrote:

      when I include the parent header file it gives me errors...

      What kind of errors...exactly? Mark

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      D 1 Reply Last reply
      0
      • M Mark Salsbery

        dSolariuM wrote:

        when I include the parent header file it gives me errors...

        What kind of errors...exactly? Mark

        Mark Salsbery Microsoft MVP - Visual C++ :java:

        D Offline
        D Offline
        dSolariuM
        wrote on last edited by
        #3

        When I include the parent header file it gives the error that says: "childclass" not declared...

        Every new thing you learn,Gives you a new personality.

        R 1 Reply Last reply
        0
        • D dSolariuM

          When I include the parent header file it gives the error that says: "childclass" not declared...

          Every new thing you learn,Gives you a new personality.

          R Offline
          R Offline
          rp_suman
          wrote on last edited by
          #4

          Hi, Please post the code snippet and state in which line are you getting the compile error. Best Regards, Suman

          -- "Programming is an art that fights back!"

          D 1 Reply Last reply
          0
          • R rp_suman

            Hi, Please post the code snippet and state in which line are you getting the compile error. Best Regards, Suman

            -- "Programming is an art that fights back!"

            D Offline
            D Offline
            dSolariuM
            wrote on last edited by
            #5

            /////// Form1 #include "Form2.h" Form2 ^f=gcnew Form2; f->ShowDialog(); /////////Form2 #include "Form1.h" Error: syntax error : identifier 'Form2' error C2065: 'f' : undeclared identifier error C2065: 'Form2' : undeclared identifier error C2227: left of '->ShowDialog' must point to class/struct/union/generic type

            Every new thing you learn,Gives you a new personality.

            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