Using Win32 functions in Visual FoxPro Image Gallery
Window Class
Code examples:
Drawing icons associated with the VFP main window
..msdn    Add comment     W32 Constants      Translate this page
The GetClassInfoEx function retrieves information about a window class, including a handle to the small icon associated with the window class.
Code examples:
Drawing icons associated with the VFP main window
BOOL GetClassInfoEx(
  HINSTANCE hinst,    // handle to application instance
  LPCTSTR lpszClass,  // class name
  LPWNDCLASSEX lpwcx  // class data
FoxPro declaration:
DECLARE INTEGER GetClassInfoEx IN user32;
    INTEGER  hinst,;
    STRING   lpszClass,;
    STRING @ lpwcx
[in] Handle to the instance of the application that created the class. To retrieve information about classes defined by the system (such as buttons or list boxes), set this parameter to NULL.

[in] Pointer to a null-terminated string containing the class name.

[out] Pointer to a WNDCLASSEX structure that receives the information about the class.
Return value:
If the function finds a matching class and successfully copies the data, the return value is nonzero.
My comment:
Check GetClassLong function as an alternative way to retrieve most class window parameters.
Word Index links for the GetClassInfoEx :
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2001-12-02 17:17:10
Modified: 2001-12-02 18:13:38
Visited in last 7 days: 40
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 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.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
16 sec.Function: 'GetKeyboardType'
32 sec.
Function group: 'GDI+ Graphics'
51 sec.
Function group: 'Color'
1.1 min.Function: 'MAPISendMail'
1.38 min.Function: 'SQLManageDataSources'
1.65 min.Function: 'SQLDisconnect'
1.93 min.
Function group: 'Data Decompression Library'
2.2 min.
Function group: 'Window Station and Desktop'
2.5 min.Function: 'NetShareDel'
2.78 min.Function: 'CertCloseStore'
Advertise here!