PDA

Click to See Complete Forum and Search --> : Let a class has hwnd?


Yok
Feb 14th, 2001, 12:05 PM
Can I let a class ( it has it's own region and some graphical methods ,so it can display on any DC and can be dragged or scaled,just like a control but can't handle
any messages ,i had to build a message-process method in the class and call the method in the events of the control who is used to show the class) has hwnd?

parksie
Feb 14th, 2001, 12:14 PM
I can't see what you're going at here, but if it's what I think, then no.

For something like this you'd have to use a control.

Feb 14th, 2001, 02:32 PM
You can use the CreateWindowEx API function to create a window as use that as your control.