Solved

Moving and sizing components at runtime ala designer

Posted on 1998-11-05
1
207 Views
Last Modified: 2010-04-04
I'm working on a designer editor where you can drop components and size and move them. The only but is
that I want to do this visuallly.

I already tried various options

1. Overriding windowproc of control dropped
2. Made a customcontrol (transparent) with same
    dimensions as control dropped.
3. Tried to make a bitmap of the component but for
    some reason non visual components cannot be
    copied to a bitmap.
4. The last method I'm still working of it works a bit
    but it is not what I want. I have a designerform
    with has a mousedown, mouseup and mousemove
    I also use the same method 2 for making the object
   clickable without activating it. And let the designerform
   handle the moving functions.

Shorthly I'm creating a designer ala delphi visual basic and I can't seem it to make it work the way I want.

Can someone help me out with some kind of source, the
most easy way is to create bitmaps of the controls however the controls are none visual.

Regards,

Ronald
0
Comment
Question by:Ronald Buster
1 Comment
 
LVL 4

Accepted Solution

by:
dwwang earned 400 total points
Comment Utility
I can mail you a full source implementing this function, or you can download it from the site:

http://myhome.netsgo.com/wyb330/defaulte.htm

Select and download the Handel.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now