| |

VerySource

 Forgot password?
 Register
Search
View: 717|Reply: 2

How to pass parameters to the ocx control

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-2-5 06:30:01
| Show all posts |Read mode
I found a lot of examples, I can't figure it out, there is a method in my ocx
void COcxtestCtrl :: GetParam (VARIANT Status)
{
MessageBox ("hello");
}
Passing parameters via vbscript calls in web pages
<SCRIPT ID = clientEventHandlersVBS LANGUAGE = vbscript>
<!-
Sub button1_onclick
DOcxtest1.GetParam ("aa");
End Sub

->
</ SCRIPT>
Why doesn't the dialog box pop up and the textbook error is not displayed, please help
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-4-23 05:45:02
| Show all posts
Try to use LPCTSTR as an input parameter in OCX
Reply

Use magic Report

0

Threads

12

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

Post time: 2020-5-1 11:15:01
| Show all posts
Define GetParam as [in] LPCTSTR Status
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list