-
Do you mean removing the button component?
-
Insert a new window, make a button on the startup window, and double-click to jump to the window assembly. Enter the command in the window assembly.
Version 2 Subroutine button 1 is clicked.
Loading (Window 1, True) Note: Window 1 is the window you just inserted.
-
First of all, you need to create one more window first, and then write **load under the event that the button is single-machine**load (window 1, true), this window 1 is the window you created, and the system automatically named window 1
-
.Version 2Assembly Window Assembly 1
Subroutine button 1 is clicked to run ("xcopyc: users wei desktop vc++ beginner chapter 10-19 lesson c: users wei desktop vc s d", false, 1) the path is changed by itself.
-
Description: The most critical step is to send a message, the information value of the specific message, please find it on the Internet, this program comes from the Jingyi forum, you need a Jingyi module to take the handle, and you can also replace it with others.
Version 2 Subroutine button Background Mouse Click Button is clicked.
Take the handle ().
Send message integer (external button handle, 245, 0, 0) subroutine to take the handle.
Local variables, external window handles, integers.
External Window Handle Window takes the handle (the program being clicked) if true (External Window Handle 0).
External Button Handle Window Take Handle (External Window Handle, , Button) Outer Box Handle Window Take Handle (External Window Handle, ,edit", outputs debug text (1).
If it's really over.
The Subroutine button Background Keyboard Emulation is clicked.
Take the handle ().
Keyboard messages (external box handles, a key, subroutines to start the window are created.
Run (fetch the run directory () of the third-party program. exe", false, )
-
Get the QQ window handle first, and then send the key message. **: First apply an integer variable called 'window handle' window handle = take the form to pick up the old handle (window class name, window cavity tassel spring full rise title) to send a message (window handle, message ID, message 1, message 2) or C++ findwindow sendmessage
-
.Version 2
dll command dll command 1, ,"Yes. dll"
Version 2 Assembly Window Assembly 1
Subroutine button 1 is clicked.
dll command 1 ().
dll. Version 2
Assembly Assembly 1
Subroutine Startup Subroutine, Integer, , Please place dynamic link library initialization in this subroutine.
Window () Temporary Subroutine ().'Call a test after initialization is executed and return (0).'The return value is ignored.
Subroutines Temporary subroutines.
This name subroutine is used as a test program, only valid in the development and debugging environment, and will be automatically cleared by the system before compiling and releasing the program, please put all the temporary ** used as a test in this subprogram. *Be careful not to modify the name, parameters, and return value type of this subprogram.
The subroutine window, , is public.
Load (Window 1, true).
-
Is that what you wrote about Loading (Window 1, really) like this?
-
The window in the dll needs to be assigned a window ID. How do you load?
-
Password "love".
iF (text box 1 - content password).
Load (window 1,,).
else infobox ("The password is incorrect!") ”,
-
It's very simple, you're talking about two windows appearing. source:loading (window 1, true).
-
There are two boxes, one is to enter the account number (box 1), the other is to enter the password (box 2), and of course, a button. ** Below:
Version 2 Subroutine button 1 is clicked.
If (Box 2.)Content ≠
Load (window 1, false).
Destroy () otherwise the infobox ("You haven't entered your password yet!") ", error icon, )
-
If you want to write a little better,Just use the easy language database,I have the source code I wrote,The landlord wants to leave a QQ mailbox。
-
This can be achieved by using the "visual" property of the window. Here are some examples:
Set a "Hide Window" button on the window;
3.Run, click the button to hide the window.
-
Call APIs. Insert the following command in the dll command table.
Version 2dll command showwindow, integer,"user32", "showwindow", to control the visibility of the window (used in VB: for VB forms and controls, use the corresponding VB attributes).
Returns the value long, true (non-zero) if the window was visible before, and false (zero) otherwise.
Parameter hwnd, integer type.
Parameter ncmdshow, integer type.
Then write showwindow(process id, 0) inside the button click event
-
.Version 2Assembly Window Assembly 1
Whether the assembly variable is hidden, logical. The subroutine Startup Window is hidden after it is created.
Load (window 1, false).
Subroutine button 1 is clicked. If (hide or not) window 1Visual.
Whether it is hidden or not.
Otherwise window 1Visually false.
Whether it is hidden or not. If it ends.
-
.Version 2
The subroutine Startup Window is created.
Load (window 1, false).
Subroutine button 1 is clicked.
If (Window 1.)Visible).
Window 1Visually false.
Otherwise window 1Visual.
If it ends. Subroutine Startup Window Whether it can be closed, logical. If true (whether it has been created (Window 1)).
Window 1Destroy ().
-
Window 1Visual.
Window 1Visually false.
-
Load(Window 1, Startup Window, False) Startup window. Destroy ().
-
Overlap the two keys in writing:Version 2Subroutine button 2 is clicked on window 1Destroy ().
Button 1Visual.
Button 2Visually false. Subroutine button 1 is clicked to load (window 1, false).
Button 1Visually false.
Button 2Visual. Subroutine Startup Window Created Finished button 2Visually false.
That's it
We know that once the DLL function is imported into the input table of the exe file, the startup subroutine function of the DLL will be automatically executed when the exe file starts, so we can put the instructions that need to be executed in the function, and then remember to put a check box on the public option of the function, and then compile. >>>More
Easy language. Ways to close the window:
1. First of all, in the open home page of Easy Language, open the Easy Language software environment. >>>More
Pay attention to the hint - Application Interface Support Library - > System Processing is the command that comes with the easy language itself, if you don't have this command, you can see if there are many support libraries in the above tool support library configuration to see if there are many support libraries that are not checked, if not, select him to the above point OK. >>>More
Stack errors are usually used because of a function called cdecl with stdcall. >>>More
When you first started creating a menu, didn't you just click on the title bar?