Keyword interface SKIN Author: Dong Jun containing
Additional instructions on doing interface
4 web technology ActiveX technology (DLL or OCX)
The web page is now more and more, the interpreter is simple, with IE or WebBroser, shield the right button or change to your right-click menu.
If you don't have to say it, you can easily use Dreamweaver (Lenovo's gorillas may be)
Then it is your own function, click on how to use the program's function call.
There are at least two methods
First use Script ActiveX
First of all, first CreateObject, create a good class such as Eg.dll, such as eg.dll
HTML:
HEAD:
DIM EG
EG = CreateObject ("eg.skin")
script>
Body:
This way, click this image, you can implement the method of this object of EG.
Of course, you can continue to enrich Script and HTML make it more convenient.
Second: Cut from WebBroser
WebBroser has a beforenavagat, use this, you can get a destination address in advance before turning
We can intercepted it, after finding the content, then cancel it.
With super connections, we assume "new" a "fake" protocol
cmd: // Buttonxx
We use WebBroser (refer to WB) to get to cmd: // Buttonxx
Private sub wb_beforenavagat2 (URL AS String, Cancel As Bool ....)
IF ucase (Left (URL, U)) = "cmd: //" THEN
DIM Arr () AS String 'Temporary Variable
Arr = split (URL, "//") 'Separate protocol header and command parameters (parameters are also used // segmentation)
SELECT CASE ARR (1)
Case "Buttonxx"
Msgbox "You press buttonxx super connection"
Case ...
Case Else
"Msgbox" The specified command can't explain, see if it is wrong? "
End SELECT
END IF
End Sub
Simple, and the second method does not need the user to master scripting knowledge
5 Flash Technology
A lot of drops of Flash interface, such as 3Dmax, his startup screen is Flash
Flash is very simple, and still animated, the most important thing is how to interact with the application
Many people have mentioned that they can go to Baidu Google to search for relevant information, here is simple to mention
Flash scripts have a fscommand action, using him, we can accept information for Flash to us.
Suppose the name of the flash control in VB is SWF (? Have you heard it ?? I can find it, as long as you can see Flash, there must be, there are two, only one is true, another one I don't know what to use. of)
When making flash, build a flash button or something else, then give him a script, fscommand ("Butxx", "this is example")
Back to EXE, WSF has an event is also fscommand
Private sub swf_fscommand (command as string, args as string ...)
SELECT CASE COMMAND
Case "Butxx"
The Msgbox Args' parameter is also passed.
Case Else
MsgBox "Skin's FSCommand does not support in this version application"
End SELECT
End Sub
As for how EXE controls Flash, simple, swf.play is OK, or jump to the corresponding frame to instantly use EXE to modify the internal variable parameters of the Action script, but the relationship with the interface is not big (the most important thing I can't remember The name of the method is cleared ... more information, search yourself
Another one is the problem of right-click menu, there are many people asked before 2 years, now there is no time. I need to study hook, prompt, there is a problem I do, often the CPU is full, and later lazy.
It is not a simple technology, it is often compliant.
6 to D3D
I mentioned some relevant signals in front ... I don't plan to say too much.
Games, the interface of people is gorgeous.
I want to do it yourself.
troublesome.....
First interface with DRIECTDRAW or D3D, so draw speeds are unprecedented.
Then draw the button and other "controls" (this is not ActiveX ...)
Microsoft provides a few better-looking, the function is also good.
Then if you need to change Skin, you can use any of the first three methods described in this article.
Do your way, your program can be as gorgeous with the game interface. (Time super long ...)
7 Skin supported by the server
This is more advanced, and there are not many people have seen. It is estimated that developers have seen
Basically, the BS structure (more), CS is not a powerful (that is, put the configuration is simple to put the server database, there is nothing to say)
Server stores various HTML interfaces and user data, HTML is those that I mentioned in the fourth method.
Data Stock Users choose SKIN
The client's WB is still those content. But the opportunity to choose on will rely on the server (Skin_Server ?? joke ..)
As for users to save or what do you want to do what you mean?
The program is the main thing you wrote or you said, you're your mood. (Server mood)
It is very popular among the most popular, and the back is extremely unused.
The overall method is much more, technology is always progress, four ways are also diversified, just pick a kind of use.