In using VB to write a project recently, in the attached case is written in Delphi, in case there is a line reads,
HWndProc:=AllocateHWnd (CProc);
Procedure TfrmMain. CProc (var MSG: TMessage)
Could you tell me how to write AllocateHWnd this function should be in VB?