Thread: opengl with windows programming

  1. #1
    Registered User
    Join Date
    Feb 2011
    Posts
    1

    Smile opengl with windows programming

    i created opengl application .i want to create a controller for the opengl application to change parameters like sliders in a separate window with GUI is this possible with MFC can u give me some hints or samples how to do this..

    regards

    malik.

  2. #2
    Registered User
    Join Date
    Mar 2011
    Posts
    53
    i dont know any mfc, but i think its possible using win32 api, the commctrl header. You can manage many "common controls" like sliders, toolbars and statusbars. There is a tutorial on how to add a slider here:

    Controls II.

    Give it a try.

  3. #3
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by mp10aad View Post
    i created opengl application .i want to create a controller for the opengl application to change parameters like sliders in a separate window with GUI is this possible with MFC can u give me some hints or samples how to do this..

    regards

    malik.
    theForger's Win32 API Tutorial

  4. #4
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    You will not be able to render GDI and OGL together if the OGL is full-screen. Even when it is not full-screen you can get some DC fighting and airspace issues between them.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Just starting Windows Programming, School me!
    By Shamino in forum Windows Programming
    Replies: 17
    Last Post: 02-22-2008, 08:14 AM
  2. OpenGL Quesiton: Does Windows XP, Vista still at OpenGL 1.1?
    By indigo0086 in forum Game Programming
    Replies: 8
    Last Post: 05-21-2007, 11:18 AM
  3. errors with opengl & glut in windows
    By korbitz in forum Game Programming
    Replies: 12
    Last Post: 03-14-2004, 02:54 PM
  4. Menu Item Caption - /a for right aligned Accelerator?
    By JasonD in forum Windows Programming
    Replies: 6
    Last Post: 06-25-2003, 11:14 AM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 10:01 PM