Using Win32 functions in Visual FoxPro Image Gallery
Window Class
..msdn
GetClassInfo
GetClassInfoEx
GetClassLong
GetClassName
GetWindowLong
RegisterClassEx
SetWindowLong
UnregisterClass
Code examples:
Displaying dimmed window behind VFP top-level form
UnregisterClass
..msdn    Add comment     W32 Constants      Translate this page
Unregisters a window class, freeing the memory required for the class.
Code examples:
Displaying dimmed window behind VFP top-level form
Declaration:
 
BOOL WINAPI UnregisterClass(
  __in      LPCTSTR lpClassName,
  __in_opt  HINSTANCE hInstance
);
 
FoxPro declaration:
 
DECLARE INTEGER UnregisterClass IN user32;
    STRING lpClassName,;
    INTEGER hInstance
 
 
Parameters:
lpClassName [in]
Type: LPCTSTR

A null-terminated string or a class atom.

hInstance [in, optional]
Type: HINSTANCE

A handle to the instance of the module that created the class.
Return value:
If the function succeeds, the return value is nonzero.
Usage:
 
= UnregisterClass( m.ClassName,;
            GetModuleHandle(0) )
 
My comment:
The class name must have been registered by a previous call to the RegisterClass or RegisterClassEx function.

Before calling this function, an application must destroy all windows created with the specified class.

All window classes that an application registers are unregistered when it terminates.
Word Index links for the UnregisterClass :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2011-09-16 18:52:09
Modified: 2011-09-16 18:55:02
Visited in last 7 days: 8
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 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.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (184.72.91.94)
5 sec.Function: 'GdipReleaseDC'
Function group: 'GDI+ Graphics'
4.63 hrs.Example: 'MapiSendMail class for Visual FoxPro application'
 Example: 'Adding user-defined items to the Control Menu of VFP form (requires VFP9)'
5.44 hrs.Example: 'Downloading files from the FTP server using InternetReadFile'
8.37 hrs.Example: 'One more way to retrieve environment strings'
15.48 hrs.Example: 'Retrieving a universal form for the drive-based path for a network resource'
 Example: 'Storing content of the Clipboard to a bitmap file'
15.7 hrs.Example: 'Running a regular FoxPro form while main VFP window is minimized'
 Function: 'EnumJobs'
 Function: 'SetThreadExecutionState'
Google
Advertise here!