hello to every one.. i need to know how to create a dialog box with controls at runtime? plz help me.. vikram..
vikramkarthik
Posts
-
How to create a dialog box at Runtime with controls? -
Is there any possibilty to create Drawing area in MFC?hello every one.. my question: Is there any possibilty to create drawing area in VC++? if possible means plz help me with code?.. thank u vikram
-
how to import openGL codes in vc++hello every one.. i want to import my openGL codes in vc++.. help me... vikram
-
How to import opengl programs in VC++?thank u for reply.. actually below codes are opengraphical language(OpenGL).. this program should be called in VC++ .. how i have to call in my program.. help me.. #include #include #include #include #include /* * Window properties */ #define WINDOW_WIDTH 500 #define WINDOW_HEIGHT 500 #define WINDOW_X 100 #define WINDOW_Y 100 #define WINDOW_TITLE "RGB-ColorCube" /* * Perspective properties */ #define FOV_ANGLE 30 #define CENTER_X 0.0 #define CENTER_Y 0.0 #define CENTER_Z 0.0 #define VIEWER_X 0.0 #define VIEWER_Y 0.0 #define VIEWER_Z -2.1 #define UP_X 0.0 #define UP_Y 1.0 #define UP_Z 0.0 #define CLIPPLANE_NEAR 1.0 #define CLIPPLANE_FAR 20.0 #define ROTATION_SPEED 2.0 #ifndef M_PI #define M_PI 3.14159265358979323846 #endif GLfloat rot_x = 0.0, rot_y = 0.0; GLfloat saved_x, saved_y; /* * Material colors used for shading */ GLfloat red[4] = {.8, 0.0, 0.0, 1.0}; GLfloat white[4] = {.8, .8, .8, 1.0}; /* * Function prototypes */ void usage(void); void draw_scene(void); void draw_object(void); void init(int argc, char **argv, void (*draw)(void)); void save_position(int button, int state, int x, int y); struct point get_coords(double a, double b); void vertex(double a, double b); void rotate(int x, int y); void set_color(int angle); int main(int argc, char **argv) { /* * Init OpenGL and enter the event loop */ init(argc, argv, draw_scene); return 0; } /* * Handle rotations and buffer swapping and call the function draw_object * which does the actual drawing */ void draw_scene(void) { static GLfloat old_rot_matrix[16]; static int initialized = 0; GLfloat new_rot_matrix[16]; /* calculate new rotation matrix */ glPushMatrix(); glLoadIdentity(); glRotatef(rot_x, 1.0, 0.0, 0.0); glRotatef(rot_y, 0.0, 1.0, 0.0); glGetFloatv(GL_MODELVIEW_MATRIX, new_rot_matrix); glPopMatrix(); /* calculate total rotation */ glPushMatrix(); glLoadIdentity(); glMultMatrixf(new_rot_matrix); if (initialized) { glMultMatrixf(old_rot_matrix); } glGetFloatv(GL_MODELVIEW_MATRIX, old_rot_matrix); initialized = 1; glPopMatrix(); glPushMatrix(); glMultMatrixf(old_rot_matrix); draw_object(); glPopMatrix(); glFlush();
-
How to import opengl programs in VC++?hello to all.. my question : i have some codes of OPENGL. now i want to import it in VC++.
-
if i type a string in edit box . it should b placed in that combo box..i tried and i got the answer.. vikram
-
if i type a string in edit box . it should b placed in that combo box..ok fine thank u..
-
if i type a string in edit box . it should b placed in that combo box..CString strText; m_edtBox.GetWindowText(strText); m_cmbString.Addstring(strText); c im using VC++ 6.0, in this if i type this code means im not getting GeTWindowText option itself.what i can do.. vikram
-
if i type a string in edit box . it should b placed in that combo box..im not getting in this code.. plz help me..
-
if i type a string in edit box . it should b placed in that combo box..help me... vikram
-
how to add a text dynamically in combo box?thank u so much.. i tried with this also. and another question if i type a string in edit box . it should b placed in that combo box..
-
how to add a text dynamically in combo box?Hello everyone.. i tried with TRACE command other than that give me some ideas.. vikram
-
how to split a dialog box?Hello every one.. my question is how i can split my dialog window .. help me.. vikram.
-
how to switch from IDR_MAINFRAME to IDR_MENU1HELLO to every one.. my question is if i click a menu item from IDR_MAINFRAME window MENU BAR ,i have to be switched to IDR_MENU1 window.. plz help me.. vikram..
-
HOW i CAN switch from one menu window to another menu window?thanks ashok.. actually my question, two menu windows are there.. if i click one menu item from one window , I have to get a another menu window ? will it b possible? help me.. vikram..
-
HOW i CAN switch from one menu window to another menu window?HELLO to every one.. my question is how i can switch from one menu window to another? help me plz .. vikram..
-
HOW to call a menu dialog box from one to another?actually i want to call a menu window from one to another.. thanks a lot from u for my queries..
-
HOW to call a menu dialog box from one to another?Hello to every one.. my question is i had created one menu dialog box.. i want to call a another menu dialog box from the existing one... whether i have to create a new class r else i have call the another one simply.. help me.. vikram..:-D
-
How to Enable the menu itemHello to every one.. my question is i have a menu bar in that two menus im keeping.. 1. test 2.execute In the above test menu i have some menu items.. while im executing ,my test menu items alone should be enabled.Rest sholud be in disabled state.. if i click first menu item , from the test it should automatically enable the next menu items of execute .. plz help me.. vikram..
-
how to disable/enable menu itemsI want to disable and enable menu items depending on conditions. Say for eg. if menu is File Input Analysis Help There are many items under each menu. If 1st item under File is clicked, Input menu has to be enabled.