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 )>
* VB Public Const WM_PAINT = &HF * VFP #DEFINE WM_PAINT 0xF * or #DEFINE WM_PAINT 15