Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Load another Forms in Frame

dali.gdali.g Member Posts: 2
Hy!

I have a problem.
I've programmed in C# till now, but now i have to do something in VB6...
So i need help - i found nothing about my problem

I have a Main Form with 5 Buttons at the bottom and a picturebox at the top of the form.
This should always look the same. Now i want in between this picturebox and the Buttons a Frame (or something similar) where i can load other Forms into.

e.g. click on Button 1 - load form1 - click on Button 2 - load form2 and so on.

I hope there's a solution which i can use for this problem. I tried with a Frame but it's not the solution.

Thanks ;)

Comments

  • violentMagiciaviolentMagicia Member Posts: 1
    : Hy!
    :
    : I have a problem.
    : I've programmed in C# till now, but now i have to do something in
    : VB6...
    : So i need help - i found nothing about my problem
    :
    : I have a Main Form with 5 Buttons at the bottom and a picturebox at
    : the top of the form.
    : This should always look the same. Now i want in between this
    : picturebox and the Buttons a Frame (or something similar) where i
    : can load other Forms into.
    :
    : e.g. click on Button 1 - load form1 - click on Button 2 - load form2
    : and so on.
    :
    : I hope there's a solution which i can use for this problem. I tried
    : with a Frame but it's not the solution.
    :
    : Thanks ;)
    :

    well i am not sure how this can be done using regular vb code..if it can be done at all..
    to do this you might have to go deep into win32 Api.
    one idea is to subclass the window drawing proecdure to have it constrained to the alloted region. if you really want to this it is best you stick to C++/C#

    and if you know how to do this there it should be a short work to setup similar Api calls in vb.

    hope this helps you even a bit
Sign In or Register to comment.