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
I

iPick12

@iPick12
About
Posts
8
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Redirecting Window Output
    I iPick12

    Hi, I'm trying to render the contents of a window, with desktop composition disabled, on an off-screen buffer. I have no control over the window and the only thing I have is the window handle and the DC. I thought about allocating an off-screen DC and doing something like:

    /* The window handle is stored in the
    hWnd variable and the offscreen DC,
    is in hDC */
    PostMessage(hWnd, WM_ERASEBKGND,
    (WPARAM)hMemDC, 0);
    PostMessage(hWnd, WM_PAINT, 0, 0);

    But it doesn't seem to work. Please note that I don't want the application to render on the primary display DC. In other words I want to redirect it's graphical output, and blit the result in my window.

    Graphics

  • GDI OpenGL composition
    I iPick12

    Finally found the solution myself. If anyone else is interested in that, the process is simple. You create a bitmap from the DC (there are many websites that describe this), and then you apply that BITMAP object as a texture, the way you'd apply any other bitmap texture.

    Graphics graphics game-dev c++

  • the bellow code contains some logical errors.in this code food(),poison food() functions will only work at once after execution . .please help me to correct this.
    I iPick12

    It's a better idea to use the Win32 API Sleep() and SleepEx() functions for delaying instead of huge incremental loops:

    VOID
    Delay(INT iMilliseconds)
    {
    SleepEx(iMilliseconds, FALSE);
    }

    For more information check out: http://msdn.microsoft.com/en-us/library/windows/desktop/ms686307%28v=vs.85%29.aspx[^]

    Graphics help

  • GDI OpenGL composition
    I iPick12

    Hi, I'm trying to mix Device Contexts and OpenGL but not the usual way. I don't want to draw with GDI on top of an OpenGL scene. What I wanna do, is apply an HDC bitmap as a texture on an OpenGL polygon. I know that this is generally a bad idea, but if you know anything about how is that possible, you would be very helpful. I'm coding on C/C++ on Win32. A DirectX 8/9 solution would also be appreciated.

    Graphics graphics game-dev c++

  • Student needs help designing a OOP program
    I iPick12

    I'm also willing to help if you provide specific questions. :-)

    Design and Architecture learning oop help tutorial question

  • Codename Needed
    I iPick12

    Thanks

    Application Lifecycle question

  • Codename Needed
    I iPick12

    I have already developed the biggest part of the project, and it is named Pole OS, but I don't understand, how could the beta testers and the feedback help me reach a codename? And anyway, I've heard that some projects are initially developed without a name (like iOS). Any idea how is that? I mean, what do they show the user when they start up? The project site is: http://sites.google.com/site/fxpoleos/ Thanks for your help! :)

    Application Lifecycle question

  • Codename Needed
    I iPick12

    I'm currently looking for a codename for an operating system. I started with Pole OS, but I'm not sure if it's nice, and easy to remember. Also I came up with another codename, Prodane, but I'm not sure whether I should use it, as Prodane is not an actual word in any language. So, do you have any ideas? Please let me know. Also, If you can thing of a logo, you'd be very helpful.

    Application Lifecycle question
  • Login

  • Don't have an account? Register

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