level 13
只是在CSDN帖子里拷贝了一段代码,发在我的个人帖吧yzf911吧里,还是个人帖,一发就提示封一个月,若干次联系吧务组,得不到解决。
所以,以我为鉴,奉告大家,小心发言,小心转帖。
2012年08月24日 07点08分
1
level 7
那我就问一个究极简单问题吧,你这边可能都不是问题
vb.net
如何在打开自己后立刻执行另一个程序,然后迅速将自己关掉,不给人反汇编的机会
2012年08月24日 14点08分
4
level 10
或许你的代码涉及到贴吧的代码
这个还是比较敏感的……
2012年08月27日 18点08分
9
level 13
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, CheckLst;
type
TCheckListBox = class(CheckLst.TCheckListBox)
private
FOldMessageEvent: TMessageEvent;
FMessageEventAssigned: Boolean;
procedure DoMessage(var Msg: TMsg; var Handled: Boolean);
public
procedure CMShowingChanged(var Message: TMessage); message CM_SHOWINGCHANGED;
end;
TForm1 = class(TForm)
CheckListBox1: TCheckListBox;
Edit1: TEdit;
procedure Edit1Click(Sender: TObject);
procedure FormClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.Edit1Click(Sender: TObject);
begin
CheckListBox1.Show;
end;
procedure TForm1.FormClick(Sender: TObject);
begin
Text := Classname + DateTimeToStr(now)
end;
{ TCheckListBox }
procedure TCheckListBox.CMShowingChanged(var Message: TMessage);
begin
inherited;
if not FMessageEventAssigned then
if not (csDesigning in ComponentState) then
begin
if Showing then
begin
FMessageEventAssigned := True;
FOldMessageEvent := Application.OnMessage;
Application.OnMessage := DoMessage;
end;
end;
end;
procedure TCheckListBox.DoMessage(var Msg: TMsg; var Handled: Boolean);
begin
if Assigned(FOldMessageEvent) then
FOldMessageEvent(Msg, Handled);
Handled := False;
if (Msg.message = WM_LBUTTONDOWN) and ((Msg.hwnd <> Self.Handle) and
(Msg.hwnd <> Form1.Edit1.Handle))
then
Hide
end;
end.
2012年08月28日 02点08分
10
pascal? 又有.net的痕迹
2012年08月28日 11点08分
好胆大,你用7级号就不怕被封?
2012年08月29日 17点08分
回复 yzf911 :还好,我也是搞计算机的,主C
2012年08月30日 00点08分
我用一个小号发了,也没被封
2012年08月30日 03点08分