Ash_
Senior Member
Posts: 638 Reputation: 31
35 / / –
Joined: Aug 2004
|
RE: RE: RECT type ?
code: Var Wnd = MsgPlus.CreateWnd(... ) (im assuming you've created the window and stuff? if you have Var Wnd will hold the Handle (Me.hwnd in VB))
var theRECT = Interop.Allocate(16); //long = 4 so size = 4 * 4
theRECT .WriteDWORD(0, 0); //left
theRECT .WriteDWORD(4, 0); //Top
theRECT .WriteDWORD(8, 0); //Right
theRECT .WriteDWORD(12, 0); //Bottom
Interop.Call('user32', 'RedrawWindow', Wnd, theRECT, 1, 1);
|
|