>From my poor memory :

DECLARE INTEGER InvalidateRect IN WIN32API INTEGER hwnd, INTEGER, INTEGER
DECLARE INTEGER UpdateWindow IN WINAPI32 INTEGER hwnd

InvalidateRect(0,0,1)
UpdateWindow(0)

Fred

-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Garry Bettle
Envoyé : 27 octobre 2008 21:46
À : [EMAIL PROTECTED]
Objet : How to refresh the Desktop

Howdy all,

Hope everyone had a good weekend.

Does anyone know how to refresh a users desktop?  This would be
identical to pressing F5 when the desktop has focus.  What I'm looking
for is a winscript or api call to do the same within my VFP program.

Many thanks!

Cheers,

Garry


[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to