User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 403,394 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,671 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 376 | Replies: 3
Reply
Join Date: Mar 2008
Posts: 1
Reputation: tree100 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
tree100 tree100 is offline Offline
Newbie Poster

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

  #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..!
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2008
Posts: 20
Reputation: techtix is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 3
techtix techtix is offline Offline
Newbie Poster

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

  #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  
Join Date: Aug 2007
Location: Cavite,Philippines
Posts: 507
Reputation: ryan_vietnow is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 68
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.

  #3  
Apr 3rd, 2008
2. Use Frames and or picture boxes as panel containers

this is the best way you can do.
"death is the cure of all diseases..."
http://ryantetek.wordpress.com
Reply With Quote  
Join Date: Nov 2007
Location: ★ Jogja ★
Posts: 2,477
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 
Rep Power: 9
Solved Threads: 215
Jx_Man's Avatar
Jx_Man Jx_Man is offline Offline
Nearly a Posting Maven

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

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Visual Basic 4 / 5 / 6 Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the Visual Basic 4 / 5 / 6 Forum

All times are GMT -4. The time now is 9:36 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC