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
V

vikramkarthik

@vikramkarthik
About
Posts
21
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to create a dialog box at Runtime with controls?
    V vikramkarthik

    hello to every one.. i need to know how to create a dialog box with controls at runtime? plz help me.. vikram..

    C / C++ / MFC help tutorial question

  • Is there any possibilty to create Drawing area in MFC?
    V vikramkarthik

    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

    C / C++ / MFC c++ question graphics help

  • how to import openGL codes in vc++
    V vikramkarthik

    hello every one.. i want to import my openGL codes in vc++.. help me... vikram

    C / C++ / MFC c++ graphics game-dev help tutorial

  • How to import opengl programs in VC++?
    V vikramkarthik

    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();

    C / C++ / MFC question c++ graphics game-dev tutorial

  • How to import opengl programs in VC++?
    V vikramkarthik

    hello to all.. my question : i have some codes of OPENGL. now i want to import it in VC++.

    C / C++ / MFC question c++ graphics game-dev tutorial

  • if i type a string in edit box . it should b placed in that combo box..
    V vikramkarthik

    i tried and i got the answer.. vikram

    C / C++ / MFC help

  • if i type a string in edit box . it should b placed in that combo box..
    V vikramkarthik

    ok fine thank u..

    C / C++ / MFC help

  • if i type a string in edit box . it should b placed in that combo box..
    V vikramkarthik

    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

    C / C++ / MFC help

  • if i type a string in edit box . it should b placed in that combo box..
    V vikramkarthik

    im not getting in this code.. plz help me..

    C / C++ / MFC help

  • if i type a string in edit box . it should b placed in that combo box..
    V vikramkarthik

    help me... vikram

    C / C++ / MFC help

  • how to add a text dynamically in combo box?
    V vikramkarthik

    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..

    C / C++ / MFC debugging tutorial question

  • how to add a text dynamically in combo box?
    V vikramkarthik

    Hello everyone.. i tried with TRACE command other than that give me some ideas.. vikram

    C / C++ / MFC debugging tutorial question

  • how to split a dialog box?
    V vikramkarthik

    Hello every one.. my question is how i can split my dialog window .. help me.. vikram.

    C / C++ / MFC question help tutorial

  • how to switch from IDR_MAINFRAME to IDR_MENU1
    V vikramkarthik

    HELLO 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..

    C / C++ / MFC help tutorial question

  • HOW i CAN switch from one menu window to another menu window?
    V vikramkarthik

    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..

    C / C++ / MFC question help

  • HOW i CAN switch from one menu window to another menu window?
    V vikramkarthik

    HELLO to every one.. my question is how i can switch from one menu window to another? help me plz .. vikram..

    C / C++ / MFC question help

  • HOW to call a menu dialog box from one to another?
    V vikramkarthik

    actually i want to call a menu window from one to another.. thanks a lot from u for my queries..

    C / C++ / MFC question help tutorial

  • HOW to call a menu dialog box from one to another?
    V vikramkarthik

    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

    C / C++ / MFC question help tutorial

  • How to Enable the menu item
    V vikramkarthik

    Hello 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..

    C / C++ / MFC json help tutorial question

  • how to disable/enable menu items
    V vikramkarthik

    I 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.

    C / C++ / MFC help tutorial
  • Login

  • Don't have an account? Register

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