Using Win32 functions in Visual FoxPro Image Gallery
Window Property
..msdn
GetProp
RemoveProp
SetProp
Code examples:
How to write and read Window Properties for the specified window
GetProp
..msdn    Add comment     W32 Constants      Translate this page
Retrieves a data handle from the property list of the specified window. The character string identifies the handle to be retrieved. The string and handle must have been added to the property list by a previous call to the SetProp function.
Code examples:
How to write and read Window Properties for the specified window
Declaration:
HANDLE GetProp(
  HWND hWnd,         // handle to window
  LPCTSTR lpString   // atom or string
);
FoxPro declaration:
DECLARE INTEGER GetProp IN user32;
    INTEGER hWnd,;
    STRING  lpStr
Parameters:
hWnd
[in] Handle to the window whose property list is to be searched.

lpString
[in] Pointer to a null-terminated character string or contains an atom that identifies a string.
Return value:
If the property list contains the string, the return value is the associated data handle. Otherwise, the return value is NULL.
My comment:
Windows 7:
If a window owns an explicit Application User Model ID (AppUserModelID), calling the GetProp for this window with property name "{9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3} 5" returns valid data handle to IPropertyStore (?).
Word Index links for the GetProp :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-12-02 19:03:54
Modified: 2011-01-16 21:46:46
Visited in last 7 days: 86
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.227.5.234)
1 sec.Example: 'Winsock: retrieving the host information corresponding to a network address'
2 sec.
Function group: 'GDI+ Graphics'
5 sec.
7 sec.Example: 'Displaying bitmap using the AlphaBlend function'
10 sec.Function: 'LogonUser'
13 sec.Example: 'Retrieving graphic capabilities of your display'
Google
Advertise here!