Click here to Skip to main content
15,885,953 members
Home / Discussions / C#
   

C#

 
GeneralRe: Referring to a 2D array through a 1D array Pin
crushinghellhammer27-Jan-04 8:21
crushinghellhammer27-Jan-04 8:21 
GeneralRe: Referring to a 2D array through a 1D array Pin
crushinghellhammer27-Jan-04 8:23
crushinghellhammer27-Jan-04 8:23 
GeneralRe: Referring to a 2D array through a 1D array Pin
Heath Stewart27-Jan-04 8:58
protectorHeath Stewart27-Jan-04 8:58 
GeneralRe: Referring to a 2D array through a 1D array Pin
crushinghellhammer27-Jan-04 9:01
crushinghellhammer27-Jan-04 9:01 
GeneralRe: Referring to a 2D array through a 1D array Pin
Heath Stewart27-Jan-04 9:08
protectorHeath Stewart27-Jan-04 9:08 
GeneralRe: Referring to a 2D array through a 1D array Pin
crushinghellhammer27-Jan-04 8:50
crushinghellhammer27-Jan-04 8:50 
GeneralPreview in Open Dialog box Pin
Shree26-Jan-04 6:23
Shree26-Jan-04 6:23 
GeneralRe: Preview in Open Dialog box Pin
Heath Stewart26-Jan-04 8:43
protectorHeath Stewart26-Jan-04 8:43 
If the OS supports it, a user can switch to the Thumbnail view. Other than that, the two derivatives of FileDialog (OpenFileDialog and SaveFileDialog) cannot easily be modified. In fact, this is a major problem that many people have faced. These two dialog classes encapsulate the OPENFILENAME struct and the GetOpenFileName and SaveOpenFileName Win32 functions. In order to customize dialogs using the struct, you have to provide a Dialog resource - a Win32 resource, not a .NET resource. This can be very difficult even with native applications.

The typical solution is to make your own form and use various controls for the tree and list views. Another option is to make a mixed mode Managed C++ class that can use dialog resources and encapsulate all this in a .NET class that you can use from a different .NET language like C#.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralUploading Images Pin
srt726-Jan-04 4:36
srt726-Jan-04 4:36 
GeneralRe: Uploading Images Pin
Mazdak26-Jan-04 4:52
Mazdak26-Jan-04 4:52 
GeneralRe: Uploading Images Pin
Mazdak26-Jan-04 4:57
Mazdak26-Jan-04 4:57 
GeneralRe: Uploading Images Pin
srt726-Jan-04 6:36
srt726-Jan-04 6:36 
GeneralRe: Uploading Images Pin
Mazdak26-Jan-04 6:52
Mazdak26-Jan-04 6:52 
Generalthreading in c# Pin
eman galal26-Jan-04 3:44
eman galal26-Jan-04 3:44 
GeneralRe: threading in c# Pin
Heath Stewart26-Jan-04 4:20
protectorHeath Stewart26-Jan-04 4:20 
GeneralExit from main Pin
thomasa26-Jan-04 3:08
thomasa26-Jan-04 3:08 
GeneralRe: Exit from main Pin
Heath Stewart26-Jan-04 3:13
protectorHeath Stewart26-Jan-04 3:13 
GeneralRe: Exit from main Pin
thomasa26-Jan-04 3:49
thomasa26-Jan-04 3:49 
GeneralRe: Exit from main Pin
Heath Stewart26-Jan-04 4:08
protectorHeath Stewart26-Jan-04 4:08 
Questionhacked? Pin
Anonymous26-Jan-04 2:47
Anonymous26-Jan-04 2:47 
AnswerRe: hacked? Pin
Thesisus26-Jan-04 3:05
Thesisus26-Jan-04 3:05 
GeneralRe: hacked? Pin
Heath Stewart26-Jan-04 3:10
protectorHeath Stewart26-Jan-04 3:10 
GeneralRe: hacked? Pin
Anonymous31-Jan-04 1:16
Anonymous31-Jan-04 1:16 
GeneralParentForm and a null reference Pin
Andrew McLellan26-Jan-04 1:47
Andrew McLellan26-Jan-04 1:47 
GeneralRe: ParentForm and a null reference Pin
Broken God26-Jan-04 2:06
Broken God26-Jan-04 2:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.