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
  1. Home
  2. General Programming
  3. C#
  4. Drawing in Panel---help needed Urgent

Drawing in Panel---help needed Urgent

Scheduled Pinned Locked Moved C#
graphicshelpcsharpgame-devtutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Raza5680
    wrote on last edited by
    #1

    hey... I am working on an application that used the complete form for drawing(using openGL) but the problem is that after I add menus to my application the menus are not displayed at run-time.... kindly tell how to solve this problem?? someone also suggeted to use of panel how to setup panel for drawing in C#?/ thanks

    C C 2 Replies Last reply
    0
    • R Raza5680

      hey... I am working on an application that used the complete form for drawing(using openGL) but the problem is that after I add menus to my application the menus are not displayed at run-time.... kindly tell how to solve this problem?? someone also suggeted to use of panel how to setup panel for drawing in C#?/ thanks

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      You probably would find it easier to use DirectX. If you must use OpenGL, then I'd use C++, you're not going to be doing much directly in C#, I would expect.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      1 Reply Last reply
      0
      • R Raza5680

        hey... I am working on an application that used the complete form for drawing(using openGL) but the problem is that after I add menus to my application the menus are not displayed at run-time.... kindly tell how to solve this problem?? someone also suggeted to use of panel how to setup panel for drawing in C#?/ thanks

        C Offline
        C Offline
        caix
        wrote on last edited by
        #3

        If your using forms to display then the OGL takes over all drawing so you cant use the default drawing UI components. You'll have to create your own GUI components in OGL - i've done this in DirectX, and there are some good tutorials out there (CUnit for Directx is a good overview) Its been a long time since i used OGL, but to write to the panel instead of a form i think its just passing the Win32 draw parameter fo the panel instead of the form when you start OGL (it really was a long time ago) HTH

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

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