custom form designer - selection

T

Tomasz D±browski

Hi,



I am implementing custom form designer that will allow to design user forms
in my application.

What I want to achieve is a form (panel) that is able to switch between
runtime and design mode.



I have implemented IDesignerHost and related interfaces. Also I have added
most of the services that designer may need.



I was able to put my panel into some kind of design mode: controls does not
take a focus and

mouse cursor become a cross like in VS.



However controls does not looks like selected when I click on them. Also I
can neither move nor resize them.

I did implement ISelectionService so I am receiving events from it.



What I did wrong?



Thanks,

Tomasz D±browski
 
T

Tomasz D±browski

Hi Stoitcho,

I've already discovered my mistake.
However this article helped me to better understand the subject.
Thanks a lot.

Tomasz D±browski
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top