473,915 Members | 2,908 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

File Open dialog box

I have a question about the file Open dialog box.

I would like to be able to make the dialog box bigger by
selecting the bottom right-hand corner and dragging/expanding the
box.

I am told by my colleagues that this is not "standard" but find it
hard to believe.

Opening a file in MS word for example, the dialog has
an "expansion" corner on the bottom right corner.

Is it true that this is not standard.

Can you tell me how to enable and disable this
windows file Open dialog feature and would there be
any difference in the creating the dialog using vc and vb.
Thanks
Charles W
Jan 13 '07 #1
5 5413
It's sadly true that the standard FileOpen dialog does not have the resize thumb in the corner. It
would not be different between VC and VB. The Office apps clearly do not use the standard shell
dialogs offered to the rest of us mere mortals. In order to get this functionality, you'd need to
customize the dialog.

"ch*****@home.c om" <Ch*****@home.c omwrote in message
news:45******** **************@ ptn-nntp-reader02.plus.n et...
>I have a question about the file Open dialog box.

I would like to be able to make the dialog box bigger by
selecting the bottom right-hand corner and dragging/expanding the
box.

I am told by my colleagues that this is not "standard" but find it
hard to believe.

Opening a file in MS word for example, the dialog has
an "expansion" corner on the bottom right corner.

Is it true that this is not standard.

Can you tell me how to enable and disable this
windows file Open dialog feature and would there be
any difference in the creating the dialog using vc and vb.
Thanks
Charles W

Jan 14 '07 #2
ch*****@home.co m wrote:
Opening a file in MS word for example, the dialog has
an "expansion" corner on the bottom right corner.
Perhaps you will find this article helpful:
http://www.codeproject.com/dialog/select_all_button.asp

Although it may be a radical solution to completely replace the standard
open/save dialogs, there are components available that help with that.

In .NET:
http://www.ssware.com/megapack.htm

In Win32:
http://plasmatech.com/scpax.htm

I'm just trying to offer an alternative way, which may or may not be
acceptable for you.

Tom
Jan 16 '07 #3
Tom

It's a pity Microsoft didn't do this in the first place.....
Thanks for your comments.

Charles W
"Tamas Demjen" <td*****@yahoo. comwrote in message
news:uY******** *****@TK2MSFTNG P03.phx.gbl...
ch*****@home.co m wrote:
>Opening a file in MS word for example, the dialog has
an "expansion" corner on the bottom right corner.

Perhaps you will find this article helpful:
http://www.codeproject.com/dialog/select_all_button.asp

Although it may be a radical solution to completely replace the standard
open/save dialogs, there are components available that help with that.

In .NET:
http://www.ssware.com/megapack.htm

In Win32:
http://plasmatech.com/scpax.htm

I'm just trying to offer an alternative way, which may or may not be
acceptable for you.

Tom

Jan 16 '07 #4
ch*****@home.co m wrote:
I have a question about the file Open dialog box.

I would like to be able to make the dialog box bigger by
selecting the bottom right-hand corner and dragging/expanding the
box.

I am told by my colleagues that this is not "standard" but find it
hard to believe.

Opening a file in MS word for example, the dialog has
an "expansion" corner on the bottom right corner.

Is it true that this is not standard.

Can you tell me how to enable and disable this
windows file Open dialog feature and would there be
any difference in the creating the dialog using vc and vb.
Charles:

I am puzzled by this question. At least in XP, isn't the "new" Open file
dialog box (the one with the Places bar) resizable by default?

What version of Visual Studio (or the PSDK) are you using? I use VC6
with the Feb 2003 SDK, and use (a slightly modified version of) Paul
diLascia's CFileDialogEx class, which allows use of the new style File
dialog on Me/2000/XP/Vista, while giving the old style one on older
platforms.

[This is with MFC of course. But if you use the PSDK directly, you just
need (I would think) to control the lStructSize member of the
OPENFILENAME structure.]

Or do you want to make the old style open file dialog resizable? That
takes work, I think.

David Wilkinson
Jan 16 '07 #5
David Wilkinson wrote:
At least in XP, isn't the "new" Open file
dialog box (the one with the Places bar) resizable by default?
Yes, that's true. It still has the bug that places multiple selected
items in the opposite order (the most recently selected item last). So
let's say if you want to open files 0001.tif through 0099.tif, then they
will be opened in the wrong order, 0099 first, and 0001 last. That's
pretty inconvenient at times, users have to select the last item first
and the first item last. Personally I sort the selection in my own
applications to work this bug around.

Tom
Jan 16 '07 #6

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

Similar topics

4
3701
by: Dorte | last post by:
Hi, I am using the code below to stream a CSV file with the response object. Dim FileName As String = "Test.csv" With Web.HttpContext.Current.Response Web.HttpContext.Current.Response.AddHeader("content-disposition", "attachment; filename=" & FileName) .Charset = ""
24
1972
by: Kelly | last post by:
Hey all - I need a little more help. I don't quite know why my text file or form isn't closing. Short version - this program takes data entered into a textbox, user clicks Save button, Save As dialog box pops open, user selects file to save to, data *should* save to the file, file close, form close. The way I have it written so far, the data *does* save to the file, however,
2
6177
by: Mattbooty | last post by:
Hello, Not sure if anyone else has seen this bug, but I have a form where the entire form is covered with a picturebox. The picturebox has a mouseup event. I also have an open file dialog for loading images into the picturebox. If you double click the file you want to open in the open file dialog, it somehow interperets one of the clicks as a mouseup on the picturebox and fires the mouseup event for the picturebox. How can I get...
1
5730
by: hamil | last post by:
I am trying to print a graphic file (tif) and also use the PrintPreview control, the PageSetup control, and the Print dialog control. The code attached is a concatination of two examples taken out of a Microsoft book, "Visual Basic,Net Step by Step" in Chapter 18. All but the bottom two subroutines will open a text file, and then allow me to use the above controls, example 1. The bottom two subroutines will print a graphic file, example...
17
8048
by: Peter Duniho | last post by:
I searched using Google, on the web and in the newsgroups, and found nothing on this topic. Hopefully that means I just don't understand what I'm supposed to be doing here. :) The problem: I am trying to use the SaveFileDialog class to get a filename, which is subsequently opened for writing (write access, read sharing, but using read/write sharing doesn't make the problem go away anyway). Sometimes, on the statement where I...
3
4049
by: forest demon | last post by:
for example, let's say I do something like, System.Diagnostics.Process.Start("notepad.exe","sample.txt"); if the user does a SaveAs (in notepad), how can i capture the path that the user selects? thanks...
1
1763
by: sunita | last post by:
Hiii I open a file download dialog from a modal dialog...From the file download dialog i can either save or open the file.. Is there a way i can let the modal dialog that opens the file download dialog know whether the user has clicked on the open button or the save button of the file download dialog??
3
5871
by: ArmageddonAsh | last post by:
I'm trying to make an application that will allow the user to enter data into a flexgrid (that's done) and then save the data from that flexgrid into a CSV file but even though the file is made none of the data from the flexgrid goes into the CSV file and so I have a couple of questions. 1, How do I make the application load the data from a specific CSV file? 2, How do I make it so that the user is able to add information to the data and...
1
47527
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click on a link and after a moment or two a file download dialog box pops-up in your web browser and prompts you for some instructions, such as “open” or “save“. I’m going to show you how to do that using a perl script. What You Need Any recent...
0
10038
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11352
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10922
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11064
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10541
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
9730
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...
0
7253
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
6143
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4777
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

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.