custom form designer - selection

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Tomasz Dħbrowski (tdabrowski_at_telmax.com.pl)
Date: 05/20/04


Date: Thu, 20 May 2004 10:02:50 +0200

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



Relevant Pages

  • RE: Code disappears from under InitializeComponent()
    ... dont use design mode ... switch off the autoformating options for the C#. ... Then, buy VS2k5. ... the code in my InitializeComponent() completely disappears and I have ...
    (microsoft.public.dotnet.framework.aspnet)
  • Access 2003 forms - couple of queries ...
    ... When I switch one form to Design mode, ... When I close an open full screen form there is a visible 'flash' as ... again to accommodate the menubar. ...
    (microsoft.public.access.forms)
  • Re: Access 2003 forms - couple of queries ...
    ... I've installed Access 2003 on two machines and the symptoms are ... When I switch one form to Design mode, ... >>again to accommodate the menubar. ...
    (microsoft.public.access.forms)
  • Re: Count the occurences
    ... > FROM table1 ... > Switch back in design mode to see how you could have done it, ... >> Is there a way to compare field values between consecutive records? ...
    (microsoft.public.access.queries)
  • Re: Access 2003 forms - couple of queries ...
    ... When I switch one form to Design mode, ... or move to the database window and open any ... >again to accommodate the menubar. ...
    (microsoft.public.access.forms)