一直以来,对于WM_PAINT和WM_ERASEBKGND消息不是很清楚,从书上和网上找了很多资料,大体上有以下几点说法:1>WM_PAINT先产生,WM_ERASEBKGND后产生 2.WM_PAINT产生后,在调用BeginPaint时hdc = BeginPaint(hWnd, &ps); 如 Read More
posted @ 2016-02-26 21:48
findumars
Views(2461)
Comments(0)
Diggs(0)
混个脸熟: Read More
posted @ 2016-02-26 21:39
findumars
Views(342)
Comments(0)
Diggs(0)
新窗体上放一个Button1和Panel1,仅仅Form1就会收到以下消息: procedure TWinControl.DefaultHandler(var Message); begin if FHandle <> 0 then begin with TMessage(Message) do b Read More
posted @ 2016-02-26 21:03
findumars
Views(597)
Comments(0)
Diggs(0)
这是取得DC句柄的其中一种方法(会重定义原点和建立新的剪裁区): function TControl.GetDeviceContext(var WindowHandle: HWnd): HDC; begin if Parent = nil then raise EInvalidOperation.C Read More
posted @ 2016-02-26 20:40
findumars
Views(553)
Comments(0)
Diggs(0)
1. Microprocessor Design Principales and Practrices with VHDL 特点:电路与VHDL一一对应,比较清楚,而且还用MAX+plus进行仿真 2. VLSI概论 谢水瑞 比较简单和清楚 3. The designer's guide to VH Read More
posted @ 2016-02-26 04:18
findumars
Views(1985)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号