Search - Articles - Dev Forums - Favorites - Member Login  
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, February 09, 2010

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > Support WebCasts
Search:
What's New - What's Hot
Listings for .NET Framework .NET Framework (49)
Listings for ADO.NET ADO.NET (15)
More Categories for ASP.NET ASP.NET (28)
Listings for ASP.Net 2.0 ASP.Net 2.0 (34)
More Categories for C#  ( C-Sharp ) C# ( C-Sharp ) (3)
Listings for Internet Explorer Internet Explorer (69)
Listings for MSDN Show MSDN Show (22)
More Categories for Operating Systems Operating Systems (299)
More Categories for Server and Networking Server and Networking (201)
Listings for SQL Server 2000 SQL Server 2000 (23)
Listings for SQL Server 2005 SQL Server 2005 (144)
Listings for SQL Server 7.0 SQL Server 7.0 (36)
More Categories for Visual Basic .NET Visual Basic .NET (5)
More Categories for Visual Studio .NET Visual Studio .NET (17)
Listings for Visual Studio 2005 Visual Studio 2005 (50)
More Categories for Web Services Web Services (19)
Listings for XML XML (0)
 


A class based on CFileDialog that provides easy image preview    Version: 0.00       Price: $0.00   
Total Hits: 1  |  Today: 0 Author: Rob Manderson       Rating:  
Read Reviews | Write Review |   Your Rating: 

I wanted to import images in various formats into my application. These images could have come from a digital camera or from a scanner and don't necessarily have intelligible names. Look at the filename in the sample picture above. It doesn't exactly drip with meaning.

So it was obvious that I needed to show a preview image in the file import dialog. As the user clicks on files in the ListView the preview control updates to show the image. Naturally I turned to CodeProject to see if anyon...

CSoundFileDlg - An Open/Save dilaog for sound files with Preview (or prelisten)    Version: 0.00       Price: $0.00   
Total Hits: 2  |  Today: 0 Author: lvidaguren       Rating:  
Read Reviews | Write Review |   Your Rating: 

Using CSoundFIleDlg you can listen to a sound file before actually opening it, kind of like when choosing Windows' sounds. I wanted to be able to do that in a program I was writing; it was a timer so I didn't immediately need the sound, and I found it interesting working out what sound to play when a selection had been made. Since I couldn't find the code to do it anywhere I wrote it, I'm not aware if someone has written any similar code....

Multiple Selection in a File Dialog    Version: 0.00       Price: $0.00   
Total Hits: 3  |  Today: 0 Author: PJ Arends       Rating:  
Read Reviews | Write Review |   Your Rating: 

When using the Windows FileOpen dialog with multiple selection do you ever wonder how much memory you have to allocate for the buffer. Is one kilobyte going to be enough? Or should you make it ten? How about one Megabyte just to be safe?

It seems that no matter what you choose, you are either going to waste a whole bunch of memory just to be safe, or your user is going to select a bunch of files only to find their selection didn't work because your buffer was too small....

Hacking FontDialog    Version: 0.00       Price: $0.00   
Total Hits: 2  |  Today: 1 Author: legcsabi       Rating:  
Read Reviews | Write Review |   Your Rating: 

It is a common problem that we want to use Common Dialogs (like the Font dialog), but we do not want to allow users to select all the properties offered by the dialogs. This article shows how we can do that, with the font dialog as an example....

Screen Mate    Version: 0.00       Price: $0.00   
Total Hits: 1  |  Today: 0 Author: Hirosh       Rating:  
Read Reviews | Write Review |   Your Rating: 

Windows 2000 introduces a new extended window style bit: WS_EX_LAYERED. When used properly, it can significantly improve performance and visual effects for a window that has a complex shape, animates, or wishes to use alpha-blending effects. The full implementation of layered windows was publicly available for the first time in Windows 2000 Beta 3....

Easy to use file finding dialog    Version: 0.00       Price: $0.00   
Total Hits: 1  |  Today: 0 Author: Chris Losinger       Rating:  
Read Reviews | Write Review |   Your Rating: 

Because we couldn't find out how to use the Windows "Find Files or Folders" dialog in our own app, and we needed to be able to retrieve a list of the files that were found in our app (which I don't think the Windows dialog even allows you to do), we wrote our own....

Windows 2000 Common File Dialog    Version: 0.00       Price: $0.00   
Total Hits: 1  |  Today: 0 Author: Keyvan Saneinejad       Rating:  
Read Reviews | Write Review |   Your Rating: 

If you've tried using the MFC common dialog class CFileDialog in Windows 2000, you'll notice that it will show the 'old' file dialog even with the OFN_EXPLORER flag set. The reason for this is that Windows 2000 uses OFN_ENABLE_HOOK flag to determine which dialog to use. If the OFN_ENABLE_HOOK flag is set, Windows 2000 uses the old dialog, if not, it uses the new dialog. CFileDialog in MFC uses the OFN_ENABLE_HOOK flag which explains why all MFC applications display the old dialog and regular app...

CLayeredWindowHelperST v1.0    Version: 0.00       Price: $0.00   
Total Hits: 1  |  Today: 0 Author: Davide Calabro       Rating:  
Read Reviews | Write Review |   Your Rating: 

CLayeredWindowHelperST is a wrapper class of all required APIs to add support for transparent (layered)
windows to your applications. This is a scalable class. If running under Windows 2000/XP your windows
will have the selected transparent effect, while if running under Windows 9x/ME/NT will run error-less....

Office 2000 style File Dialogs for Win 95/98/NT/Me    Version: 0.00       Price: $0.00   
Total Hits: 2  |  Today: 0 Author: David Wulff       Rating:  
Read Reviews | Write Review |   Your Rating: 

The included source files will allow you to use the Office 2000 and VS.NET style file dialogs in your applications, which will appear on all versions of Windows 95/98/NT/Me, as well as 2000. To use the dialog, simply add the source files to your project and use the standard CFileDialog calling functions to show / manipulate it....

FaderWnd - a Window Fader for Windows 2000    Version: 0.00       Price: $0.00   
Total Hits: 1  |  Today: 0 Author: P J Pearson       Rating:  
Read Reviews | Write Review |   Your Rating: 

One of the attractive new features of Windows 2000 is the menu and other selections that fade away instead of just disappearing. To see this in operation you need to select "Use transition effects for menus and tooltips" on the "Effects" tab of the Display Properties dialog and then select "Fade effect" in the combo box.

In this article I present a simple MFC class that allows you to apply a similar fading effect to any window you choose - with only one line of code! Don't just close a wi...

Producing translucent dialog boxes and windows without flickering    Version: 0.00       Price: $0.00   
Total Hits: 2  |  Today: 0 Author: -Kirill-       Rating:  
Read Reviews | Write Review |   Your Rating: 

The AnimateWindow() API with the AW_BLEND parameter is supposed to fade in and out windows smoothly. Basically, it has two drawbacks:

1. Text and ListView controls (and several others) aren't rendered correctly during fade-in.
2. You cannot specify a translucency for the window, i.e., after the animation is over, the window is opaque.

Clicking 'No' in the sample project demonstrates both problems....

Windows 2000 Style Wizards    Version: 0.00       Price: $0.00   
Total Hits: 1  |  Today: 0 Author: Robert Pittenger       Rating:  
Read Reviews | Write Review |   Your Rating: 

There are two main differences between the traditional MFC-CPropertySheet wizards and the Windows 2000 wizards:

1. The Windows 2000 wizard has a white background.
2. The "page" portion of the Windows 2000 wizard extends all the way to the edge of the dialog....


DevASP.Net - Disclaimer - Privacy
© 2002-2010 DevASP.net