Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Right Alignment !!! :(
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00013888
Message ID:
00015481
Views:
63
>>>Hi ahmad,
>>>you are using the wrong sintax again
>>>After you issue your regfn don't worry about the Gkey value for now,
>>>buy looking at your sintax I can say that you are not using it the right
>>>way, in your Regfn you said that your function will accept an "integer"
>>>value and then it will return another integer, and you are doing four things wrong, first you are trying to send a string, 'Sysmenu', second
>>>you are trying to send it in a wrong way,third you can't register
>>>and call the function in the same command, and looking again at
>>>the function that you are trying to call it accept two parameters and
>>>return one logical,(in your case integer), value, you have to figure out
>>>what kind of parameters are 'hmenu' and 'frtol', that is, are they
>>>character,integer,logical,etc..
>>>assuming that 'hmenu' is character type and 'frtol' is an integer
>>>I guess that what you would like to do is something like this:
>>> Gkey=Regfn("MakeMenuRtoL","CI","I","c:\windows\system\user.exe")
>>>(note that now the function is registered to accept a caracter "C")
>>>and then call your function with
>>>myReturn=callfn(Gkey,'sysmenu',2).
>>>Got it?
>>
>>Luis Hi,
>>
>>I tried it but it does not work... my code was ...:
>>
>>Gkey=Regfn("MakeMenuRtoL","CI","I","c:\windows\system\user.exe")
>>MyReturn=Callfn(Gkey,"symenu",2)
>>
>>I expcted the FoxPro menu bar to be alinged from right to left but there was no change on the menu, although no syntax error. nothing at all !!
>>
>>Note:
>>I got another opinion from Mr. Arnon, and I forwarded a copy to you I hope you don't mind...
>>
>>Ahmad
>Hi Ahmad,
>I like to receive forwarded message, thanks for that,
>I'm going to play with your problem today in the afternoon and see if I can find something that help you. I'll let you know tonight after
>6:00 pm US eastern time.
Hi Ahmad,
I was looking for that function 'MakeMenuRtoL', and couldn't find it in
any library under '\windows\system', I looked every 'DLL' and every
'EXE' file under 'windows\system' and couldn't find that function,
where is suppose to be?, let me know so maybe I can help you.
I checked my e-mail a least three times a day, so let me know by
e-mail.
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform