Using Win32 functions in Visual FoxPro Image Gallery
Brush
..msdn
CreateSolidBrush
GetSysColorBrush
Code examples:
Displaying dimmed window behind VFP top-level form
How to make a VFP form fading out when released (GDI version)
How to put a horizontal text scrolling on the form (a news line, marquee)
How to put a vertical text scrolling on the form (a movie cast)
Subclassing CommandButton control to create BackColor property
Vertical Label control
CreateSolidBrush
..msdn    Add comment     W32 Constants      Translate this page
The CreateSolidBrush function creates a logical brush that has the specified solid color.
Code examples:
Displaying dimmed window behind VFP top-level form
How to make a VFP form fading out when released (GDI version)
How to put a horizontal text scrolling on the form (a news line, marquee)
Subclassing CommandButton control to create BackColor property
Vertical Label control
How to put a vertical text scrolling on the form (a movie cast)
Declaration:
HBRUSH CreateSolidBrush(
  COLORREF crColor   // brush color value
);
FoxPro declaration:
DECLARE INTEGER CreateSolidBrush IN gdi32;
    LONG crColor
Parameters:
crColor
[in] Specifies the color of the brush. To create a COLORREF color value, use the RGB macro.
Return value:
If the function succeeds, the return value identifies a logical brush.
Usage:
* creates a solid brush
hBackground = CreateSolidBrush( RGB(64,64,64) )

* deletes solid brush object
= DeleteObject( m.hBackground )
My comment:
A solid brush is a bitmap that the system uses to paint the interiors of filled shapes.

After an application creates a brush by calling CreateSolidBrush, it can select that brush into any device context by calling the SelectObject function.
Word Index links for the CreateSolidBrush :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-12-22 13:53:34
Modified: 2011-09-16 18:43:57
Visited in last 7 days: 21
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2014 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.1.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.166.15.152)
2 sec.Function: 'mmioDescend'
Function group: 'Windows Multimedia'
15 sec.Function: 'PageSetupDlg'
4 day(s)Function: 'FtpGetFileSize'
 Function: 'GetProcessHeap'
 Function: 'TaskDialog'
 Function: 'mmioWrite'
Function group: 'Windows Multimedia'
 Example: 'Retrieving the state of your Internet connection'
 Example: 'Enumerating MIDI output devices'
 Example: 'Running a regular FoxPro form while main VFP window is minimized'
 Function: 'VirtualAllocEx'
Function group: 'Memory Management'
Google
Advertise here!