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 / C++ / MFC
  4. Simple question

Simple question

Scheduled Pinned Locked Moved C / C++ / MFC
question
6 Posts 5 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.
  • A Offline
    A Offline
    Alex Cutovoi
    wrote on last edited by
    #1

    Hi for all I would like to know what is these types of variables HDC, HWND, HGLRC. Thanks a lot

    D P 2 Replies Last reply
    0
    • A Alex Cutovoi

      Hi for all I would like to know what is these types of variables HDC, HWND, HGLRC. Thanks a lot

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      They are all handles.


      "One must learn from the bite of the fire to leave it alone." - Native American Proverb

      F 1 Reply Last reply
      0
      • D David Crow

        They are all handles.


        "One must learn from the bite of the fire to leave it alone." - Native American Proverb

        F Offline
        F Offline
        Fired Fish
        wrote on last edited by
        #3

        what is the different between them? I

        1 Reply Last reply
        0
        • A Alex Cutovoi

          Hi for all I would like to know what is these types of variables HDC, HWND, HGLRC. Thanks a lot

          P Offline
          P Offline
          Prakash Nadar
          wrote on last edited by
          #4

          HDC - Device handle to Device Context. HWND - Handle to window. HGLRC - I dont remember (need to lookup) Basically they are all handles, i.e. The handles are just a 32bit value and nothing more then that. It is one of the way of hinding the data that the window is using for displaying the window and the user can work on it only by passing the handle to appropriate windows function.


          -prakash

          R 1 Reply Last reply
          0
          • P Prakash Nadar

            HDC - Device handle to Device Context. HWND - Handle to window. HGLRC - I dont remember (need to lookup) Basically they are all handles, i.e. The handles are just a 32bit value and nothing more then that. It is one of the way of hinding the data that the window is using for displaying the window and the user can work on it only by passing the handle to appropriate windows function.


            -prakash

            R Offline
            R Offline
            Rick York
            wrote on last edited by
            #5

            is HGLRC an OpenGL rendering context ?

            P 1 Reply Last reply
            0
            • R Rick York

              is HGLRC an OpenGL rendering context ?

              P Offline
              P Offline
              Prakash Nadar
              wrote on last edited by
              #6

              yes :)


              -prakash

              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