Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Open Dialog over Menu

hannes

New member
dear all!

i am new at programming pro toolkit and have a problem about programming a menu with open a dialog. i use ms vs c++ 6.0.

i give you my example code, so may anyone can help me.

main cpp-file TEST1.cpp:

#include "stdafx.h"
#include "TEST1.h"

#include <ProUIDialog.h>
#include <ProUIPushbutton.h>
#include <ProUILabel.h>


#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

BEGIN_MESSAGE_MAP(CTEST1App, CWinApp)
END_MESSAGE_MAP()

// CTEST1App Konstruktion

CTEST1App::CTEST1App()
{
// ZU ERLEDIGEN: Hier Code zur Konstruktion einf
 
Hello Hannes,


Plz refer the documentation i observed it is .cpp files,let try in .c file and run the application and check. As you asked for the resource file,need to create a "text" folder,inside you need to create a one more subfolder name "resource" and copy the .res file into that.Register your application given as per the documentation it will work fine.


With regards,


Kishore V
 

Sponsor

Back
Top