Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SendMessage call to Windows hangs
Message
From
09/12/2006 19:25:26
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
SendMessage call to Windows hangs
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01176362
Message ID:
01176362
Views:
83
Hi,

A program that has worked for a long time started to hang:
	DECLARE INTEGER SendMessage IN USER32.DLL ;
	   INTEGER hWnd, ;
	   INTEGER Msg, ;
	   INTEGER wParameter, ;
	   INTEGER lParameter
	#DEFINE HWND_BROADCAST 0xFFFF
	#DEFINE WM_FONTCHANGE  0x001D 
...
	   *  We added fonts, so update the world
	   =SendMessage(HWND_BROADCAST,WM_FONTCHANGE,0,0)
It hangs in SendMessage. What may be the problem?

TIA,

Alex
Next
Reply
Map
View

Click here to load this message in the networking platform