Using Win32 functions in Visual FoxPro Image Gallery
Device Context
..msdn
ChangeDisplaySettings
CreateCompatibleDC
CreateDC
DeleteDC
DeleteObject
EnumDisplayDevices
EnumDisplaySettings
GetDC
GetDeviceCaps
GetObject
GetObjectType
ReleaseDC
SelectObject
Code examples:
Bitmap Class for Visual FoxPro application
Converting image file to .ICO file
Creating a clipping region from the path selected into the device context of a form
Displaying animated images on FoxPro form with BitBlt and StretchBlt functions
Displaying bitmap using the AlphaBlend function
Drawing Windows predefined bitmaps using the LoadBitmap functions
How to change the name and the size of the font in the MessageBox dialog
How to convert a bitmap file to monochrome format (1 bpp)
How to copy the image of a form to the Clipboard using Bitmap API functions
How to make a VFP form fading out when released (GDI version)
How to print FoxPro form
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)
Placing an arbitrary rectangular area of main VFP window on the Clipboard
Placing On-screen Alert on top of all windows
Printing text on the main VFP window
Printing text with the Escape function
Splash Screen for the VFP application
Storing screen shot of a form to bitmap file
Subclassing CommandButton control to create BackColor property
Using the LoadImage function to have a bitmap file loaded and displayed on VFP main window
Vertical Label control
SelectObject
    Add comment     W32 Constants      Translate this page
Selects an object into the specified device context (DC). The new object replaces the previous object of the same type.
Code examples:
Storing screen shot of a form to bitmap file
How to put a horizontal text scrolling on the form (a news line, marquee)
Splash Screen for the VFP application
How to put a vertical text scrolling on the form (a movie cast)
How to make a VFP form fading out when released (GDI version)
Vertical Label control
How to print FoxPro form
Bitmap Class for Visual FoxPro application
Subclassing CommandButton control to create BackColor property
How to copy the image of a form to the Clipboard using Bitmap API functions
Declaration:
HGDIOBJ SelectObject(
  HDC hdc,          // handle to DC
  HGDIOBJ hgdiobj   // handle to object
);
FoxPro declaration:
DECLARE INTEGER SelectObject IN gdi32;
    INTEGER hdc,;
    INTEGER hObject
Parameters:
hdc
[in] Handle to the DC.

hgdiobj
[in] Handle to the object to be selected: bitmap, brush, font, pen, region
Return value:
If the selected object is not a region and the function succeeds, the return value is a handle to the object being replaced.
Word Index links for the SelectObject :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-08-01 12:00:00
Modified: 2001-11-26 16:02:48
Visited in last 7 days: 73
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 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.6.36), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (23.20.24.116)
9 sec.Function: 'StretchBlt'
26 sec.Function: 'SHEnumKeyEx'
35 sec.Function: 'waveOutGetErrorText'
43 sec.Function: 'SQLGetFunctions'
52 sec.Function: 'ShowWindow'
1.03 min.Function: 'SetTextCharacterExtra'
1.33 min.Function: 'wnsprintf'
Google
Advertise here!