Hi John,
The following code closes Windows Media Player:
#DEFINE WM_SYSCOMMAND 0x112
#DEFINE SC_CLOSE 0xF060
DECLARE INTEGER FindWindow IN user32;
INTEGER lpClassName, STRING lpWindowName
DECLARE SHORT PostMessage IN user32;
INTEGER hWnd, INTEGER Msg, INTEGER wParam,;
INTEGER...
CLEAR
CLEAR ALL
obj = CREATEOBJECT('Tform')
obj.Show(1)
DEFINE CLASS Tform As Form
Width=500
Height=300
Autocenter=.T.
ADD OBJECT txt As TextBox WITH;
Left=20, Top=20, Width=200, Height=23,;
Format='K'
* TabStop=.F. does the job
ADD OBJECT lst As ListBox WITH;
Left=20, Top=54...
Hi Darrel,
I wrote that creeper example (News2News). Testing it on WinXP+Vfp6, Pentium 4, 1.6GHz, 256 MB -- I have absoultely no trouble accessing radio buttons and moving the form while the creeper was running.
Could you provide more details: OS, FoxPro version, CPU clock rate etc. I wonder...
Check this update showing how to call NetServerGetInfo under Win2000/XP:
In the example convert cBuffer into cursor like the following:
CREATE CURSOR csResult (ch C(1), asc I)
FOR ii=1 TO Len(cBuffer)
ch = SUBSTR(cBuffer, ii,1)
INSERT INTO csResult VALUES (m.ch, asc(m.ch))
ENDFOR
It...
Really you don't need to be a News2News member to get access to the list of constants at
http://www.news2news.com/vfp/w32constants.php
There is a limitation, comparing to member access, you are able to get one constant at a time. For example, typing name of constant EWX_ returns a list of six...
There is another draconian way: use Timer event to clean clipboard like this:
_CLIPTEXT = ' '
Sending any data to the Windows clipboard automatically removes its previous content.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.