# SCREEN FillRect problem on Win2000

**URL:** <https://psychtoolbox.discourse.group/t/screen-fillrect-problem-on-win2000/1551>\
**Category:** Uncategorized\
**Created:** [November 13, 2002, 7:21pm UTC](https://psychtoolbox.discourse.group/t/screen-fillrect-problem-on-win2000/1551 "2002-11-13T19:21:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [November 13, 2002, 7:21pm UTC](https://psychtoolbox.discourse.group/t/screen-fillrect-problem-on-win2000/1551/1 "2002-11-13T19:21:18Z")

</div>

Hi,  
 Please help me with the following problem. I tried to run this   
command: SCREEN(WINDOW, 'FillRect', BLACK) (BLACK = [0 0 0]). But got   
this error message:   
 SCREENFillRect: Could not lock device context for drawing.  
 What does 'lock device context for drawing' mean?   
  
Thank you!
