First post: How to make dual-paned windows, or docked child windows apps.

Reply

Join Date: Mar 2008
Posts: 1
Reputation: tree100 is an unknown quantity at this point 
Solved Threads: 0
tree100 tree100 is offline Offline
Newbie Poster

First post: How to make dual-paned windows, or docked child windows apps.

 
0
  #1
Mar 29th, 2008
Hello, this is my first post. I'm learning VB6 at home, with online tutorials. So far ok, but I can't find the right info on making a dual-paned app. Sort of like in webpages, where a 'frame' acts differently than the rest of the page. I guess it's like a child window, but always in the same position [docked?], should be NON-moveable by user, and acts as just one window with the parent, when alt-tabbing to other apps.
I don't want menus nor toolbars, because this will be a touchscreen POS app.
But the left pane will be the parent pane, with the invoice grid control, as well as some large touch buttons that run all the way acroos the top and bottom of the screen. then, in the middle and right side, will be the docked child window, or pane, which will show various buttons, depending on where in the inventory the user has gone to. For example, clicking a button will then show a new screen of buttons, of sub-products and modifiers. And clicking those may then show yet new choices. But the entire time, the parent pane stays visible and unchanged, which its grid control, and its large, home buttons across the top and maybe bottom of screen. Some of the clicks on the child window will be coded to send data to the parent window's grid control.
How should I begin making the 2 panes. Must I use a child window? And if so, how do I put it inside the parent and dock it so it stays a part of the parent, in the same place relative to it. (Sort of looks like the two panes of 'Windows Explorer', the tree view, and the file view, except those are themselves 'controls', and I just want plain panes to put various controls. )
Thanks very much for any and all help or links to info..!
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 34
Reputation: techtix is an unknown quantity at this point 
Solved Threads: 4
techtix techtix is offline Offline
Light Poster

Re: First post: How to make dual-paned windows, or docked child windows apps.

 
0
  #2
Apr 3rd, 2008
You have several options:

1. Use a MDI & MDIChild forms
http://msdn2.microsoft.com/en-us/lib...26(VS.60).aspx

2. Use Frames and or picture boxes as panel containers

3. Use the Web control and use web pages with local VBScript to VB Host function calls.

4. Use the SetParent API to "host" a form in another container. You need to create the form through progromatic instantiation though. e.g. Set FrmX = New MyFormObject

There are more options, but these are the easiest for you to start with.
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 561
Reputation: ryan_vietnow is an unknown quantity at this point 
Solved Threads: 71
ryan_vietnow's Avatar
ryan_vietnow ryan_vietnow is offline Offline
Posting Pro

Re: First post: How to make dual-paned windows, or docked child windows apps.

 
0
  #3
Apr 3rd, 2008
2. Use Frames and or picture boxes as panel containers
this is the best way you can do.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 2,641
Reputation: Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light 
Solved Threads: 245
Jx_Man's Avatar
Jx_Man Jx_Man is offline Offline
Posting Maven

Re: First post: How to make dual-paned windows, or docked child windows apps.

 
0
  #4
Apr 3rd, 2008
frames its easy way
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC