>Hi!
>
>At DEVCON 11 I have seen a sample for new VFP 7 thins. In the sample demonstrated new property of controls - hWND. The sample made a command button elliptic using 2 API functions - CreateEllipticRgn and SetWindowRgn. Handle for SetWindowRgn used from Hwnd property of command button. Whan sample run at VFP 7 - button is really elliptic.
>
>How you can comment that? MS removed this feature in the next releases of VFP7? If yes, I'm quite wondered than...
Not having seen the demonstration, it's difficult to comment. However, native controls, including the command button are not windows and therefore do not have a window handle. So there are two possible conclusions that can be drawn: Either the window handle was that of the form or the command button was something like the MS Forms 2.0 command button or other ActiveX control (which is a window and therefore has its own hWnd).
George
Ubi caritas et amor, deus ibi est