Announcement

Collapse
No announcement yet.

Question Concerning Fullscreen OpenGL

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Question Concerning Fullscreen OpenGL

    I am a self-taught (very novice) programmer currently in the process of writing a small fullscreen OpenGL application using PBCC4.04.

    For some reason, creating a 1024x768 graphic window with GRAPHIC WINDOW will cover the Windows XP toolbar (which is what I want to do), but creating a window with CreateWindowEx makes a window whose bottom portion is covered by the toolbar.

    As I mentioned, I have only recently "graduated" from QBasic 4, and my Windows programming skills are nominal at best; I have been splicing code sections together from various examples here on the PowerBASIC site to get the desired results (obviously not the best way to go about programming...). However, I'm not really interested in making anything marketable at present, so it's a good way to tinker around with things for the moment.

    I know my problem (as stated) may be a bit too vaguely described; please let me know if it would help for me to actually post some of the code segments I'm working with.

    Anyways, what I need to do is to figure out how to raise a window created with CreateWindowEx so it will cover the Windows toolbar.
    Last edited by Jonathan States; 21 Dec 2007, 02:15 PM. Reason: forgot critical information

  • #2
    Jonathan

    I remember running into the same problem. I solved it - can't remember exactly how - but used the powerBASIC code posted at nehe.

    There are powerBASIC sources for each of the tutorials starting from Lesson 2 onwards.

    Comment


    • #3
      Thank you, Andre!

      This is exactly what I've been looking for! (Had to fiddle with it a bit to get it to work with PBCC, but that's how it goes, I guess.) I even figured out how to hide the cursor, so now I'm cooking with gas...

      Thank you for the help!

      Comment

      Working...
      X