is it possible to make the radio button click automatically in dialog application after i make the data analysis? from the books, i jst found that they teach how to make it function when we click the radio button. could anyone give me example of programming to make a button click automatically among a group of button wtht to click it manually?
meiyueh
Posts
-
how to make radio button function -
Beginner Needs Helpi'm also a beginner of vc++ 6. i even blur of c++ indeed. i jst hv sth share wth u, duno whether can help u or nt, bt maybe can cheer u up..hehe..c++ fundamental is very important b4 u start to learn vc++ 6. the vc++ 6 bible and teach urself vc++ 6 in 21 days and the beginning of vc++ are quite a good book. some ebook like teach urself c++ in 21 days is also very useful for me to understand some basic of c++ fast. every language is different. it takes time to learn. be patient. i believe in patient learning make ur life wonderful . i still hv one mths to pass up my vc++ project, i hope i can fulfill it with the some help of engineer as i wish. gambadei( keep up gd work)...gd luck.
-
record VoiceThe 1st thing u hv to do is either create ur own wave class or get the function like what hv suggest by the guy who reply to u to do ur class. use msdn library to help you talking to ( do programming) the soundcard to buffer.u cn get msdn library online in vc++ developer centre or u jst buy the license or cd of it and can use offline. you can take the wavein.cpp i jst posted in jst nw as a reference too. The file is about how to get the signal frm sound card to buffer.and at the same time, could u also help me to ask others how to read the buffer to display or do signal processing later? if yes, i would be very aprreciate ur help. thx a lot.gd luck..
-
read buffer problemmy project is get the signal from pc mic to pc. below is one of the Cwavein class. i wan to read buffer to display graph and do signal processing. could anyone help me how to read the buffer? and i wan use 2dpushgraph that is in code project to display my graph. the statement is m_pushgraph.push(a,b),a is the magnitude in the buffer. b is how many line i wan display. could anyone tell me what magnitude should i put, how can i knw the magnitude(shw me example of programming), and should i put all the magnitude or jst push one magnitude and use looping for it and buffer will automatically get the data one by one in the array.thx for ur help. // WaveIn.cpp: implementation of the CWaveIn class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "xxx.h" #include "WaveIn.h" #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__; #define new DEBUG_NEW #endif ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////////////////////////////////////////////////////// IMPLEMENT_DYNCREATE(CWaveIn, CWinThread) CWaveIn::CWaveIn(int iHertz) { memset(&m_WaveFormatEx,0x00,sizeof(m_WaveFormatEx)); // set the memory content to all zeros // configure the audio input record format m_WaveFormatEx.wFormatTag = WAVE_FORMAT_PCM; // Pulse Code Modulation m_WaveFormatEx.nChannels = 1; // mono m_WaveFormatEx.wBitsPerSample = 16; // 16-bit/sample m_WaveFormatEx.cbSize = 0; m_WaveFormatEx.nSamplesPerSec = iHertz; // sampling freq = 44.1kHz m_WaveFormatEx.nAvgBytesPerSec = m_WaveFormatEx.nSamplesPerSec*(m_WaveFormatEx.wBitsPerSample/8); m_WaveFormatEx.nBlockAlign = (m_WaveFormatEx.wBitsPerSample/8)*m_WaveFormatEx.nChannels; // initialize indicators m_bAudioIn = FALSE; m_bRecording = FALSE; // initialize pointers to NULL m_ptrWaveOut = NULL; m_ptrWaveFile = NULL; } CWaveIn::~CWaveIn() { } BOOL CWaveIn::InitInstance() { // TODO: perform any per-thread initializetion here return TRUE; } int CWaveIn::ExitInstance() { // TODO: perform any per-thread cleanup here return CWinThread::ExitInstance(); } //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// BEGIN_MESSAGE_MAP(CWaveIn, CWinThread) //{{AFX_MSG_MAP(CWaveIn) // NOTE - the ClassWizard will add and remove mapping macros here. //}}AFX_MSG_MAP ON_THREAD_MESSAGE(WM_WAVEI
-
add two functions for a buttonis it i jst copy this code into the programming and no need right click the button and set its properties anymore? i'm newbie, hope you can help. thx.
-
add two functions for a buttoni'm using dialog based application as my own gui. i'm facing problem in button. i want a button with two function. that means the button can resemble start recording and stop recording. what are the source code for that? thx a lot for your help.
-
button in dialog based applicationis it after i set the button in the dialog based application manually, i still have to do programming to locate the button in a certain location in the dialog apllication? Thx a lot 4 help.
-
dialog based applicationcould i plot a real time signal n Spectrum in the dialog based application? Could anyone give me fast fourier transform implementation coding? i already have coding of how to detect the sound frm mic by using sound card in pc.by hw am i gng to transform the signal in analog into digital value(is it in ascii code) to do signal processing afterward? thx a lot for your help.
-
gui problemCould i plot signal in the dialog box? Or it's more difficult to do it? I wan to choose mfc AppWizard(exe).i wan to display button and boxes on the gui.What type of application is suitable to create ? sdi, mdi or dialog ? Thx a lot for ur help. take care all.
-
build gui by using vc++ 6.0i'm fresh for vc++. Could anyone tell me where can learn the 1st steps and so on to build a gui? What book is easy to understand? thx a lot.god bless u all the time.:-D
-
Programming of all types of visual c++There are many kind of visual c++. Got vc++ enterprise,.net,6.0,professional and so on. Is it the programming for all of the software is the same? my degree project is about sound recognition of coin.i will use pc microphone to detect coin dropping sound and i will use vc++ to interface with the pc sound card.moreover, in the gui in vc++, i'll do fft and artificial method to differentiate each kind of coins. i'm a beginner of programming. can anyone give some opinion what kind of vc++ is suitable for my project? thx a lot for ur help. may god bless u all.
-
sound card libaryi wan to interface the sound card in pc with the visual basic 2005 express edition, is it work?And where can i find the sound library before i start programming? i search for long and can't find it in any website. i wan use the visual basic 2005 express edition to do a digital signal processing project which related to memory pointer, it it work? Or other software is more suitable?thx for your help.