This is normally done through the approparite use of container controls, like the TableLayoutPanel, SplitContainer, and various others. Combine these with appropriate use of the Anchor and Dock properties on your controls to get the scaling and sizing effects you want.
It just takes some playing about with the controls properties to get the effects you want. There really isn't a single good source for this information, and even fewer examples. The stuff I've seen just explains the control properties Anchor and Dock and that's about it.
I want to develop an level output meter like an 8 band equalizer. I saw some implementations to show a waveform, but this is not what I want. In the end the control should work like the winamp level meter. Has anybody an idea how to start?
I'will try to make it more clear. I developed a little tool for organizing and playing mp3 albums and files. To play the files I'm currently using the media player control. All that I want is to visualize the currently played mp3 in an 8-band level meter.
It's called a "spectrum analyzer". This is actually going to be quite difficult to do. You can only use the data that is currently going through the audio mixer to feed the analyzer. Reading the MP3 file directly will do you no good because you can't tell where the current sound is in the file.
You can find an example of this here[^], but I'll warn you, it's not for the beginner.
You can also find more about them on Google, here[^] or even find libraries that can do this for you.
What do you want to do ? Showing them is fairly easy, if you embed IE in your app, it will do it. Creating them requires a third party library.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
Go through your toolbox there is a validation control
section, in that u get a date validation control, use that control...OR if you don't know how to use the control then just go through the MSDN and take help abt the validation control.
Be A Good S/W Eng... Life is swing with you..Enjoy..
Private Sub Command1_Click()
On Error Resume Next
Dim Temp As String
If Len(Text1) = 8 Then
Temp = Mid(Text1, 1, 2) & "/" & Mid(Text1, 3, 2) & "/" & Mid(Text1, 5, 4)
If CDate(Temp) > Now Then
MsgBox "Invalid Date"
If Len(Text1) = 10 Then
If CDate(Text1) > Now Then
MsgBox "Invalid Date"
Private Sub Form_Load()
Text1.MaxLength = 10