opengl with windows programming

This is a discussion on opengl with windows programming within the Windows Programming forums, part of the Platform Specific Boards category; i created opengl application .i want to create a controller for the opengl application to change parameters like sliders in ...

  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
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598
    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, 12:18 PM
  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, 12:14 PM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 10:01 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21