Results 1 to 14 of 14

Thread: Form within a form

  1. #1

    Thread Starter
    PowerPoster Halsafar's Avatar
    Join Date
    Jun 2004
    Location
    Saskatoon, SK
    Posts
    2,339

    Ray firing tutorial request

    I know it is a complex process to fire a ray from an object towards some triangles and determine the exact point of collision.

    I believe I have everything all set up to do so, my only problem is I cannot find any tutorial on generating a RAY.

    This is not for collision detection but more for firing a ray from screen space to world space....Determining when that rays hits the ground and where.

    Any tutorials that explain this would be great.
    "From what was there, and was meant to be, but not of that was faded away." - - Steve Damm

    "The polar opposite of nothingness is existance. When existance calls apon nothingness it shall return to nothingness." - - Steve Damm

    "When you do things right, people won't be sure if you did anything at all." - - God from Futurama

  2. #2
    Member
    Join Date
    Jan 2005
    Posts
    39

    Unhappy Form within a form

    Hi All:
    I am trying to develop a small program.

    I need assistance in developing something like a real software...(when the user starts the program a Main window will appear. and then based on the user selection a new form/window appears.).

    I tried with MDI-Form but I am lost on how to use it and attach the child forms to it.

    Can any one put a demo project here.... or any suggestions would be great.

    thanks in advance

    sincerely
    proline

  3. #3
    Member
    Join Date
    Jan 2005
    Posts
    39

    Re: Form within a form

    what happend to this forum..?

    my previous thread, on this same topic, has lost.

    and now in this thread.... some other post from a different thread is appearing.


  4. #4
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Form within a form

    the forums are sick today.

  5. #5
    Member
    Join Date
    Jan 2005
    Posts
    39

    Re: Form within a form

    so do you mean "the php forums" are under attack

  6. #6
    Member
    Join Date
    Jan 2005
    Posts
    39

    Re: Form within a form

    dglienna:
    can you suggest anything to my question..?? any link or example on the net.

  7. #7
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Form within a form

    I would suggest the games forum. I haven't really done anything with games, sorry. oops. sorry. going to re-read your question now.

  8. #8
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Form within a form

    You can create a main form that has buttons on it to call other forms.
    For a button click, you can have something like this:

    VB Code:
    1. frmMain.hide
    2. frmNext.show

    When you hide a form, and then show it, the load event is not fired. if you want it to fire again, just Unload frmMain. When you call it again, the Load event will be fired.

  9. #9
    Member
    Join Date
    Jan 2005
    Posts
    39

    Re: Form within a form

    Quote Originally Posted by dglienna
    I would suggest the games forum. I haven't really done anything with games, sorry. oops. sorry. going to re-read your question now.

    I am not into game developing.

    please read my post (it's the second post in this thread.) and if you have any suggestions/help...that would be great.

  10. #10
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Form within a form

    MDI forms are for like-based forms. for instance, in Word, when you open a document, it is an MDI form. Each document is a MDI form, and you can switch between them easily.

  11. #11
    Member
    Join Date
    Jan 2005
    Posts
    39

    Re: Form within a form

    dglienna:
    not just hiding, showing forms.

    I need something like a real software.(i dont know the buzz words...so i am stuck in searching google or any other web-search).

    Let us take: Microsort Word: When the word is open...it will give you a blank form with menu. When user selects "new document" a new form will be loaded to this main form.

    So I want something like word. A main form with menu (i know how to create a form with menu). and then sub-forms/child forms...which appear with in the main form.

    any suggestions.

  12. #12
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Form within a form

    Here is an example. I'm not sure where I found it, but it was on the forum.

  13. #13
    Member
    Join Date
    Jan 2005
    Posts
    39

    Re: Form within a form

    dglienna:
    thanks for the example. i am looking inot it.

    I have three forms. when i run the program each form appears as a seperate one in my "Toolbar". Instead i want two of the forms appear inside the main form.

    so...to do that what need to be done.

    (sorry for bugging you)

  14. #14
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Form within a form

    Then have a look at another one that I found SetParent will let you do what you want.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width