Subclassing a ClientView control

Subclassing a ClientView control

Anonymous
Not applicable
163 Views
0 Replies
Message 1 of 1

Subclassing a ClientView control

Anonymous
Not applicable
On a form, I've created a ClientView control in a way similar to the following code: Set objClientView = .ClientViews.Add() But if I attempt to subclass the control with a call to the Windows API SetWindowLong function: SetWindowLong objClientView.HWND, -4, AddressOf the call fails. Is it not possible for some reason to subclass a ClientView control, or is it not possible to subclass any control that's created at runtime? Has anyone successfully subclassed a ClientView control? -------------------------------------------------------------------------------- Brian R. Iwaskewycz Senior Mechanical Engineer PA Transformer Technology, Inc. Do or do not. There is no try.
0 Likes
164 Views
0 Replies
Replies (0)