custom form designer - selection

  • Thread starter Thread starter Tomasz D±browski
  • Start date Start date
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
 
Hi Stoitcho,

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

Tomasz D±browski
 
Back
Top