473,767 Members | 2,138 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Navigate between open windows? (opinion)

Do you have your users rely on the windows taskbar to manage/navigate
between the forms they have open, or do you provide another (more
robust) method? Does anyone use a custom navigation system (like
keeping a selectable list of open forms in a listbox/commandbar/
breadcrumb trail etc.)?

Mar 7 '07 #1
13 3549
On Mar 7, 5:21 pm, "robert.wat ers" <robert.wat...@ gmail.comwrote:
Do you have your users rely on the windows taskbar to manage/navigate
between the forms they have open, or do you provide another (more
robust) method? Does anyone use a custom navigation system (like
keeping a selectable list of open forms in a listbox/commandbar/
breadcrumb trail etc.)?

I used one that was written by Dev Ashish, but damned if I can find a
link to it anymore. It requires placing a 'Window' menu item on a
custom toolbar and it adds open forms and reports to it when you click
on it.

Perhaps someone out there knows where it's hidden, otherwise I'll look
for it when I get home.

Mar 7 '07 #2
On Mar 7, 6:22 pm, "storrboy" <storr...@sympa tico.cawrote:
On Mar 7, 5:21 pm, "robert.wat ers" <robert.wat...@ gmail.comwrote:
Do you have your users rely on the windows taskbar to manage/navigate
between the forms they have open, or do you provide another (more
robust) method? Does anyone use a custom navigation system (like
keeping a selectable list of open forms in a listbox/commandbar/
breadcrumb trail etc.)?

I used one that was written by Dev Ashish, but damned if I can find a
link to it anymore. It requires placing a 'Window' menu item on a
custom toolbar and it adds open forms and reports to it when you click
on it.

Perhaps someone out there knows where it's hidden, otherwise I'll look
for it when I get home.
Found it here:
http://groups.google.com/group/comp....3915e2db50ad57
Thanks!!! This is perfect.

Mar 8 '07 #3
On Mar 8, 12:14 pm, "robert.wat ers" <robert.wat...@ gmail.comwrote:
On Mar 7, 6:22 pm, "storrboy" <storr...@sympa tico.cawrote:
On Mar 7, 5:21 pm, "robert.wat ers" <robert.wat...@ gmail.comwrote:
Do you have your users rely on the windows taskbar to manage/navigate
between the forms they have open, or do you provide another (more
robust) method? Does anyone use a custom navigation system (like
keeping a selectable list of open forms in a listbox/commandbar/
breadcrumb trail etc.)?
I used one that was written by Dev Ashish, but damned if I can find a
link to it anymore. It requires placing a 'Window' menu item on a
custom toolbar and it adds open forms and reports to it when you click
on it.
Perhaps someone out there knows where it's hidden, otherwise I'll look
for it when I get home.

Found it here:http://groups.google.com/group/comp..../browse_thread...
Thanks!!! This is perfect.
How did you implement it? The code as-is requires that form open and
close events call a function ('UpdateMenu') that iterates through open
windows in the MDI client area and populates a menu bar; in order to
do this, it makes use of Terry Kreft's MDIWindowsZ() function, which
gets the "Z order of open non-modal Forms". Unfortunately, this
function will only return windows having a window style of visible; in
my Access 2003, all the form open events (open/load/resize/activate/
current) occur before the window is actually visible, so each form
fails the test and is not included in the list that populates the
menu.
Here is the code:
strClassName = fGetClassName(h WndChildAfter)
lngStyle = apiGetWindowLon g(hWndChildAfte r, mcGWLSTYLE)
If (strClassName = "OForm" Or strClassName = "OReport") And
(lngStyle And mcWSVISIBLE) Then
.. add to the list

I can make the code work if I remove the '(lngStyle And mcWSVISIBLE) '
check, but my production database makes use of hidden forms for saving
state information, so that workaround is not viable.
Am I going to have to coopt the event handlers of some object on each
form that isn't loaded until after the form is visible? That seems
quite hack-ish.

Any help would be appreciated.

Mar 8 '07 #4
On Mar 8, 12:14 pm, "robert.wat ers" <robert.wat...@ gmail.comwrote:
On Mar 7, 6:22 pm, "storrboy" <storr...@sympa tico.cawrote:
On Mar 7, 5:21 pm, "robert.wat ers" <robert.wat...@ gmail.comwrote:
Do you have your users rely on the windows taskbar to manage/navigate
between the forms they have open, or do you provide another (more
robust) method? Does anyone use a custom navigation system (like
keeping a selectable list of open forms in a listbox/commandbar/
breadcrumb trail etc.)?
I used one that was written by Dev Ashish, but damned if I can find a
link to it anymore. It requires placing a 'Window' menu item on a
custom toolbar and it adds open forms and reports to it when you click
on it.
Perhaps someone out there knows where it's hidden, otherwise I'll look
for it when I get home.

Found it here:http://groups.google.com/group/comp..../browse_thread...
Thanks!!! This is perfect.
My apologies. It seems that simply setting the form's Visible
property to True, in any of the Load events, before the call to
UpdateMenu, works (and vice-versa for the Close events).
Now that's one ugly hack.

Mar 8 '07 #5
My apologies. It seems that simply setting the form's Visible
property to True, in any of the Load events, before the call to
UpdateMenu, works (and vice-versa for the Close events).
Now that's one ugly hack.

I haven't looked at what you got, but the one I used enumerated the
forms/reports and added them to the menu when you clicked on the
'Windows' menuitem that you create in a custom toolbar. Opening the
forms has nothing to do with it in my version. Are you sure you read
through it properly?

Mar 8 '07 #6
On Mar 8, 1:10 pm, "storrboy" <storr...@sympa tico.cawrote:
My apologies. It seems that simply setting the form's Visible
property to True, in any of the Load events, before the call to
UpdateMenu, works (and vice-versa for the Close events).
Now that's one ugly hack.

I haven't looked at what you got, but the one I used enumerated the
forms/reports and added them to the menu when you clicked on the
'Windows' menuitem that you create in a custom toolbar. Opening the
forms has nothing to do with it in my version. Are you sure you read
through it properly?
I guess it was different code (or the same, modified).
Did your users notice a delay when clicking that 'Windows' menu item?
I wonder if it's faster to have it populated on form open/close
events, or when the menu item is selected?

Mar 8 '07 #7

I can send you the one I have. I don't think it will paste properly
into a reply.
I've never noticed any speed issues, but most things I've done with
it, users would rarely have more than 10 windows open at a time.

Mar 8 '07 #8
On Mar 8, 1:50 pm, "storrboy" <storr...@sympa tico.cawrote:
I can send you the one I have. I don't think it will paste properly
into a reply.
I've never noticed any speed issues, but most things I've done with
it, users would rarely have more than 10 windows open at a time.
Would you? I'll test the speed in my app. I really don't want to
have to go and add code to every one of 50 or so forms' onload and
onclose events ;)
My email address is robert(dot]waters[at)gmail.com

Mar 8 '07 #9

Done

Mar 8 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
8310
by: Richard Bell | last post by:
Newbie question ... please respond to group I'm trying to open/navigate to a url. How can I tell when the page is fully loaded? Testing suggest that window.open returns before the page is completely loaded and displayed. Likewise, window.navigate. The code looks something like this: wHandle = window.open( url, name, flags ); .... // how to tell when url is fully loaded and displayed
5
5098
by: Nicola Pedrozzi | last post by:
Here I really need a guru... ;^( I found out today with a big disappointment that : window.open("url", ...) and also navigate("url") limit the max length of the url string to something like 2080 characters. That on Explorer only; Netscape and Mozilla work perfectly
40
10837
by: Brian Jorgenson | last post by:
On my web page, I have a few hyperlinks with target frame of _blank. The hyperlink brings up a second window, but everytime I click on thie hperlink, it keeps bringing up a new window and not defaulting the the first active window. How do I make a hyperlink point to the active window? I don not want the hyperlink to default to the same page. I do want a second window but only a second window and not multiple pages.
2
1430
by: Guogang | last post by:
We are happy with the result of smart navigate, until recently some of our webpage shows strange behavior. Page color may change to something else. New windows can not open. Dynamic image can not be shown. If we remove smart navigate, everything works fine. Is there some document list the conditions we should not use smart navigate? Thanks, Guogang
7
4500
by: husamal_ahmadi | last post by:
Hi everyBody: I have this question which really drive me cruzy, By using VB.Net: How can I let the internet explorer navigate in the same window either by using win32 API or by using Microsoft Internet Control refreance to my project ? some body toled me to use ShellExcute Function in API but I tried it
10
6208
by: eSolTec, Inc. 501(c)(3) | last post by:
Thank you in advance for any and all assistance. I'm building a technician's tool and I'm trying to create a Jump Panel of buttons to the Windows System32 folder to open files programmatically. I have the majority of the program files opening except the Microsoft Computer Management console. I've tried in the button click event Shell("C:\WINDOWS\system32\compmgmt.msc") and nothing happens. No open program, no errors nothing.
7
5828
by: Toccoa | last post by:
After considerable googling - I mean searching with Google(r) - I could not find javascript on a button or <a href=... to close a window in the latest versions of IE and FireFox. There seemed to be two techniques for earlier versions. But the window.opener='' ;window.close(); and the window.open('','_parent','') ;window.close(); techniques do not work for me. I.e., I still get confirmation message
103
6868
by: Tom | last post by:
How do we get out of the browser infinite loop quicksand when we navigate to web pages designed to lock us in and force us to hit the "pay me" button (whatever they want to force you to do)? These are just a sample of nasty quicksand web pages I've run into which lock your browser into a loop and won't let you get out until you hit the "install" or "run" or "OK" button... (whatever it is they want you to do). http://www.spywareiso.com...
6
8799
by: emrodge | last post by:
I'm using Access 2007 on Windows Vista and am having some problems trying to configure a simple button. There are two tables called Clients and Contacts which are linked on clients.id and contacts.client_id. There are two forms associated with each table and I am trying to create a button to navigate from the Clients form to the Contacts form (which is a split form) but only to display the contacts where the current clients.id =...
0
9841
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8838
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7383
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6655
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5280
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5424
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3930
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3533
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2807
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.