Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Repainting/Redrawing ActiveX Controls
Message
 
 
To
11/11/2001 16:01:32
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00580208
Message ID:
00580294
Views:
21
This message has been marked as a message which has helped to the initial question of the thread.
>Thanks, George.
>
>I presume the code is something like...
>
>
DECLARE ;
>	INTEGER PostMessage IN WIN32API ;
>	INTEGER hWnd, 	;	&&	Handle to the destination window
>	INTEGER wMsg, 	;	&& 	Message to be sent, see note below
>	INTEGER wParam, ;	&& 	Not used with WM_PAINT
>	INTEGER lParam		&& 	Not used with WM_PAINT
>
>PostMessage( toTree.hWnd, WM_PAINT )
>
>However, I don't know the value of WM_PAINT. There must be a translation of WM_messages somewhere. Any ideas?
>

There's two places to look, one of the Win API header files or VS 6 API Text Viewer. I usualy use the last one
* VB
Public Const WM_PAINT = &HF
* VFP
#DEFINE WM_PAINT 0xF
* or
#DEFINE WM_PAINT 15
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform