Welcome to Pauls PureProject
 Home Online Reference Guide duplicated from http://cvs.purebasic.com  
 Online Resources
   · Reference

 Libraries
     2DDrawing
     Billboard
     Camera
     CDAudio
     Cipher
     Clipboard
     Console
     Database
     Date
     Desktop
     Engine3D
     Entity
     File
     FileSystem
     Font
     Gadget
     Help
     Image
     ImagePlugin
     Joystick
     Keyboard
     Library
     Light
     LinkedList
     Material
     Math
     Memory
     Menu
     Mesh
     Misc
     Module
     Mouse
     Movie
     Network
     OnError
     Packer
     Palette
     Particle
     Preference
     Printer
     Requester
     Sort
     Sound
     SoundPlugin
     Sprite
     Sprite3D
     StatusBar
     String
     SysTray
     Terrain
     Texture
     Thread
     Toolbar
     Window

 NextScreenMode

Syntax

Result = NextScreenMode()
Description
This command should be called after ExamineScreenModes(). It will go step by step into the screen modes list. The current screen mode informations can be retieved with the following functions: ScreenModeWidth(), ScreenModeHeight(), ScreenModeDepth() and ScreenModeRefreshRate(). If the 'Result' is 0, the screen mode listing is finished.

Example:
  InitSprite()

  If ExamineScreenModes()
    While NextScreenMode()
      Debug Str(ScreenModeWidth())+"x"+Str(ScreenModeHeight())+"x"+Str(ScreenModeDepth())+"@"+Str(ScreenModeRefreshRate())+"Hz"
    Wend
  EndIf

Supported OS

Windows, Linux

<- LoadSprite() - Sprite Index - OpenScreen() ->



Hosted by Reel Media Productions Copyright©2001-2004 All Rights Reserved