Results 1 to 4 of 4

Thread: Can you display VB app ontop of a directx or opengl window?

  1. #1

    Thread Starter
    Frenzied Member Jmacp's Avatar
    Join Date
    Jul 2003
    Location
    UK
    Posts
    1,959

    Can you display VB app ontop of a directx or opengl window?

    DX or Opengl at fullscreen, can you have a VB app onto of this?

  2. #2

    Thread Starter
    Frenzied Member Jmacp's Avatar
    Join Date
    Jul 2003
    Location
    UK
    Posts
    1,959

    Re: Can you display VB app ontop of a directx or opengl window?

    bump

  3. #3
    Junior Member MushroomSamba's Avatar
    Join Date
    Sep 2008
    Location
    In my room.
    Posts
    19

    Re: Can you display VB app ontop of a directx or opengl window?

    Yeah, but it won't be pretty. I'm assuming you're trying to make like a stat calculator or something for your game?

    All you have to do is call SetWindowPos(Me.hwnd, -1, 0, 0, 0, 0, 3) or whatever form's hwnd you're using.

    Don't forget to declare it in a form or module.

  4. #4

    Thread Starter
    Frenzied Member Jmacp's Avatar
    Join Date
    Jul 2003
    Location
    UK
    Posts
    1,959

    Re: Can you display VB app ontop of a directx or opengl window?

    Quote Originally Posted by MushroomSamba
    Yeah, but it won't be pretty. I'm assuming you're trying to make like a stat calculator or something for your game?

    All you have to do is call SetWindowPos(Me.hwnd, -1, 0, 0, 0, 0, 3) or whatever form's hwnd you're using.

    Don't forget to declare it in a form or module.

    Tried it, doesn't work over a dx screen/game works in the desktop windows ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width