clear window with background color

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by hkey.

Similar to clearscreen(R,G,B) it would be nice to have a command clearwindow(R,G,B). I didn't find something like that in the Helpfile.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Danilo.

SetWinBackgroundColor() with installed SkinWin library.

Code: Select all

OpenWindow(1,200,200,400,300,#PB_Window_SystemMenu,"Test")SetWinBackgroundColor(WindowID(),RGB($FF,$FF,$FF))

Repeat:Until WaitWindowEvent() = #PB_EventCloseWindow
cya,
...Danilo

(registered PureBasic user)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by hkey.

installed SkinWin library ?

what does this mean?

sorry, I'm a real newbee :-(
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Andre.

SkinWin is an user library, written by Danilo.
Download it at the ressources site at http://www.reelmediaproductions.com/pb/
and install the lib to PureBasic/PureLibraries/UserLibraries/

Regards
André

*** German PureBasic Support ***
Post Reply