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
M

mrhonus

@mrhonus
About
Posts
6
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Communicating with top level form
    M mrhonus

    Mainly because so many things which I know about C++ don't seem to apply in the .Net environment. I'm doing Managed Devlopment in C++ because I wasn't allowed to choose the development environment. I would have chosen Java, which is much more straightforward. But since you're now getting snide, I guess you've helped me enough--thanks for your time.

    Managed C++/CLI c++ question

  • Communicating with top level form
    M mrhonus

    I agree, it makes no sense. Well, I am looking for C++ examples. Thanks

    Managed C++/CLI c++ question

  • Communicating with top level form
    M mrhonus

    Well, since I used the .net designer to create all of the views, it doesn't seem to lend itself to mvc. Are there any examples of how to use mvc with studio/net generated forms? Thanks for the reply

    Managed C++/CLI c++ question

  • Communicating with top level form
    M mrhonus

    Using the designer to create the main form for an application generated the following code in the .cpp file: int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { System::Threading::Thread::CurrentThread->ApartmentState = System::Threading::ApartmentState::STA; Application::Run(new DataForm(lpCmdLine)); return 0; } The DataForm class has a button which generates a new form: linkedForm = new LinkedForm() ; The LinkedForm class exists in the same namespace as the DataForm class. What needs to be done to allow this child form to see public methods in it's parent, since a DataForm ptr cannot be declared globally? Are there any examples of parent/child form communications of this nature? Thanks, MrHonus

    Managed C++/CLI c++ question

  • Communicating with top level form from child forms
    M mrhonus

    Is it CI/C++? It was created using Visual Studio and .NET, so I guess the answer is yes.

    C / C++ / MFC c++ question

  • Communicating with top level form from child forms
    M mrhonus

    Using the designer to create the main form for an application generated the following code in the .cpp file: int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { System::Threading::Thread::CurrentThread->ApartmentState = System::Threading::ApartmentState::STA; Application::Run(new DataForm(lpCmdLine)); return 0; } The DataForm class has a button which generates a new form: linkedForm = new LinkedForm() ; The LinkedForm class exists in the same namespace as the DataForm class. What needs to be done to allow this child form to see public methods in it's parent, since a DataForm ptr cannot be declared globally? Are there any examples of parent/child form communications of this nature? Thanks, MrHonus

    C / C++ / MFC c++ question
  • Login

  • Don't have an account? Register

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