Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 6 of 6

Thread: Opening a Window w/o Borders

  1. #1
    Junior Member Regular Contributor
    Join Date
    Nov 2000
    Location
    los angeles
    Posts
    131

    Opening a Window w/o Borders

    Is there way to open a window without the border or at least without the bit at the top?

    I'm using CreatWindow with the WS_VISIBLE flag set only, but it still acts like WS_CAPTION is set. How can I affect this?

    thanks

  2. #2
    Junior Member Newbie
    Join Date
    May 2001
    Location
    London UK
    Posts
    2

    Re: Opening a Window w/o Borders

    Check out the new NeHe base code.

  3. #3
    Intern Newbie
    Join Date
    Feb 2001
    Location
    Kiel, Germany
    Posts
    39

    Re: Opening a Window w/o Borders

    Have you tried WS_POPUP ?

  4. #4
    Junior Member Regular Contributor
    Join Date
    Nov 2000
    Location
    los angeles
    Posts
    131

    Re: Opening a Window w/o Borders

    Probably, but I'll try again!

    where do you find this NeHe base code?

  5. #5
    Member Regular Contributor
    Join Date
    Nov 2000
    Location
    Dunblane, Scotland
    Posts
    353

    Re: Opening a Window w/o Borders

    Originally posted by mv:
    Probably, but I'll try again!

    where do you find this NeHe base code?
    nehe.gamedev.net - The best begginers opengl site!!!
    Reality is for idiots only the best over come it!

  6. #6
    Junior Member Regular Contributor
    Join Date
    Nov 2000
    Location
    los angeles
    Posts
    131

    Re: Opening a Window w/o Borders

    Thanks, guys. Got it to work and finally got fullscreen going as well.

    One question still remains: Is there a real full screen mode? I mean, one where SwapBuffers really SWAPS the buffers rather than doing a byte copy? I can see where a windowed app might be prohibited from messing with video ram directly, but what about a full screen program?

Posting Permissions

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