Home > Back-end >  Career for ten years, now need to write a small program: FORM1 and Edit1 hidden aspects.
Career for ten years, now need to write a small program: FORM1 and Edit1 hidden aspects.

Time:11-16

Used DELPHI in 10 years, today asked us to unit the leadership of the monitor display in the camera screen fonts () is shown in the lower unit is set, but not achieve the monitor manufacturer said, I want to write a small program to implement with DELPHI: use EDIT to display fonts, VISIBLE to true, FORM1 hide, and then put the small program to monitor software, this small program font covered the monitoring of the font, surveillance video can also, according to the normal
I downloaded the DELPHI7, also can realize FORM1 hidden:
Procedure TForm1. FormCreate (Sender: TObject);
The begin

Application. ShowMainForm:=false;
end;
But there are struggling to solve a problem, but could not: when FORM1 hidden edit1 \ edit2 \ edit3 \ edit4 \ edit5 also disappear,,,
Please help to solve: how to hide FORM1, at the same time can show edit1 \ edit2 \ edit3 \ edit4 \ edit5?

CodePudding user response:

Do not understand,
But I think you can consider to make the form form for transparent?
Because you have hidden form, things must have hidden from the above, this is the right way of thinking,

CodePudding user response:

Don't hide Form1, as long as Form1 is set to no borders, as well as Edit1 size (Edit with Form1) can,

CodePudding user response:

What you said is right, can not hide, set to transparent, but new problems: behind this small program interface is monitored, when put the small program to monitor the picture above, monitoring picture frames, ask: how to make small application to real-time refresh image?

CodePudding user response:

Can't hide the form, is the result of control are hidden, usually not on video into characters,

CodePudding user response:

Add: monitor looping statements in your Application. ProcessMessages;

CodePudding user response:

Used DSPACK pull surveillance video source into play, then displayed on the DSPACK you want to display information, don't consider those who stand in front of other methods,

CodePudding user response:

Video, video manufacturer should support it

CodePudding user response:

Screen font should be relatively small, use transparent window should be able to solve

CodePudding user response:

https://bbs.csdn.net/topics/20201082
See wzrlover method

CodePudding user response:

Thinking should be the wrong

You should put the monitoring program embedded in its own window, so that you could control his window control to block a monitor:

The keyword "external program" "embedded"

There should be a great example

CodePudding user response:

Check monitoring system API (hai kang, dahua, have), make a monitoring program, you can directly get the image window Handle and DC, directly to write on

CodePudding user response:

Thinking there is a problem, first monitoring program source code, so it is good to do, the location of the specified name, if not, find spy++ handle way, give several corresponding position to fill his edit

CodePudding user response:

Use exescope exe resource editor, such as direct change, you are in the wrong way

CodePudding user response:

The test is complete, can,
Form of color set to clWhite (transparent), TransparentColor set to True, TransparentColorValue set to clWhite, then according to the position that you need to put the edit, setting their own edit text need to display Chinese characters,

CodePudding user response:

refer to 7th floor to play soy sauce unlicensed program apes reply:
video overlay, video manufacturers should support

Video is often not superposition, because superposition have to modify the video file data, through is in the video above to add a superposition of information,
You can use TPanel to do,
  • Related