Questions tagged [common-dialog]

questions related to MS Common Dialogs API

Windows Open File, Save File, Open Folder, Find and Replace, Print, Page Setup, Font, and Color dialog boxes.

https://learn.microsoft.com/en-us/windows/desktop/uxguide/win-common-dlg

48 questions
1
vote
1 answer

Windows IFileOpenDialog GetCurrentSelection sometimes return the wrong value

Hopefully I'm allowed to ask this question, because while I think I've found a Windows bug, there's also a chance that my code is at fault. Especially since I'm just starting to learn about using IFileDialog in its various forms. Here's my…
Steve Valliere
  • 1,119
  • 7
  • 12
1
vote
0 answers

Windows Explorer Refuses To Browse Into DefView Folder Of My NSE

On Windows 7, I developed a shell namespace extension (NSE) that presents a hierarchy of data that is very similar to a file system. Its junction point is the Desktop. I am able to click the [+] of each node in the tree control of Windows Explorer…
1
vote
0 answers

Preset output filename & Bypass 'Save As' dialogue after sending document to pdf printer VB6

Working on a legacy application. im looking for a way to preset the output filename & Bypass 'Save As' dialogue after sending document to pdf printer VB6. Im printing a report but i want to programmatically set the filename and avoid seeing the…
1
vote
1 answer

How to change the background color of a CFiledialog (2)

Tools : Visual Studio 2019, MFC, cpp I'm looking for how to change the background color for the CFileDialog dialog box. I found this link ==> Q115087: HOWTO: Change the Background Color of a Common Dialog. I have extracted this code and insert it…
G3D
  • 19
  • 1
1
vote
4 answers

Getting path of selected folder in VB6

I want to get the selected folder path dlgBrowse.ShowOpen fname = dlgBrowse.FileName dlgBrowse.Filter = "Text File (*.txt)|*.txt|Log File (*.log)|*.log||All Files (*.*)|*.*" dlgBrowse.DialogTitle = "Open Log File" dlgBrowse.ShowOpen If…
Rameez
  • 125
  • 2
  • 4
  • 14
1
vote
1 answer

Shell Link common dialog?

Before you call CreateFile, you need the name of a file. You can of course create your own dialog: enumerates drives, folders, or the shell namespace allow the user to navigate show files in selected folder and let the user pick a file and close…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
1
vote
1 answer

Common dialogue control seems to keep my programs running after I close them

I currently run a 64bit Windows 10 development box. I have old VB6 source that I have to unfortunately keep updated for the time being. For some reason all the sudden I noticed that one of the applications I have just built seemed to stay running…
Arvo Bowen
  • 4,524
  • 6
  • 51
  • 109
1
vote
1 answer

unresolved external symbol _QISearch@16

I have been trying to figure this out for the last 8 hours but I can find absolutely nothing on the problem anywhere that I have looked. I am attempting to create an application that can use the "Microsoft Way", as described in this MSDN Article, to…
Geowil
  • 624
  • 1
  • 12
  • 36
1
vote
3 answers

vb6 code to open dialog box without using commondialog control

Please help me to create a project to open dialog box without using common dialog component/control. Regards Sesha
Sesha
  • 11
  • 1
  • 2
1
vote
0 answers

How to change size of luminosity trackbar in CHOOSECOLOR Dialog?

I'm using the CHOOSECOLOR dialog, but in my app(C++/WinAPI) it looks wierd. Dialog has large luminosity slider and I do not why. I haven't found a way to make the slider smaller. a busy cat http://toxicbumble.com/color_dialog.png Dialog is created…
zdenek
  • 97
  • 1
  • 9
1
vote
1 answer

Common Dialogs on Windows Server 2008 R2: crash in GetOpenFileName

We have a sizable application, written in C++, running on Windows Server 2003 and Windows Server 2008 R2. It uses the GetOpenFileName API to bring up the Open File dialog, for selecting a video file. We're seeing that on Windows Server 2008 R2, we…
0
votes
3 answers

Is there a standard directory browser dialogue in MFC that doesn't involve the user creating directories to specify ones that don't yet exist?

I am working on the bootstrap application of an installer, and I have a dialogue that the user can open to select a different target directory from the given default. Currently, I'm using the CFolderDialog for that, but for the user to select a…
RobH
  • 1,607
  • 2
  • 24
  • 44
0
votes
1 answer

CommonDialog on microsoft 365 Access working

I have a MS Access 2003 Database which uses the command "CommonDialog". In this Database has access many computers with windows 10 and Microsoft 365. Some computers can work with no issue but some other appear the error: "Object doen't support this…
S3minaki
  • 297
  • 3
  • 19
0
votes
0 answers

How to fill the virtual folder "Application Links" in a Windows file dialog?

When I create a common file dialog on Windows, I can add application specific shortcuts on the left pane with IFileDialog::AddPlace. The shortcuts are all displayed in a virtual folder called "Application Links". But when I click on "Application…
Holger
  • 3,920
  • 1
  • 13
  • 35
0
votes
1 answer

What's the reason a handle for owner window required when creating an common dialog

I'm working with common dialog recently and I've found that a hWndOwner is required in the structure that passed to functions like ChooseColor. It seems of no difference when I used different hWndOwner. What does different hWndOwner choosing…
ksyx
  • 41
  • 1
  • 9