|
My friend for his masters final project did an image recognition application. Think he's still slaving over it just now to be honest Seemed like a good project to do and quite interesting.
|
|
|
|
|
First, pick something doable and practical. Don't fool yourself into believing your going to discover some great algorithm. Something small and elegant will do more for you career wise, than something large, obscure and unfinished.
Second, what areas interest you? Do you like to database stuff or hate it? Do you prefer working at the UI level or the lower level? Command line?
Third, what turns on your advisor? For example, if he/she, hates BTrees, don't do something with BTrees.
Fourth, whatever you do, don't do AI, natural language recognition/translation, visual imagery resolution... All are much, much, much harder than most college students think and none are close to being solved. Moreover, some of these require additional education you may not be willing to do. Also avoid encryption and compression (directly at least), both have been done to death.
Fifth, whatever you pick, make sure you can do it with just MFC. I know some readers will disagree, but to keep the project simple and on track, avoid learning loads of new stuff. If you know STL, great, if not think twice if your goal is to complete the project. (In other words, minimize the new stuff you need to learn.)
Finally, I really suck at coming up with projects like this. I either come up with stuff so huge, it would take a team 18 months or something so simple, I do it in a week.
|
|
|
|
|
I have the problem, that the OnUpdate???(CCmdUI* pCmdUI) functions of my command bar will not be called, and so the buttons are always enabled!
I have a dialog with a command bar and some buttons, the click events works fine. The only thing is that the OnUpdate???(CCmdUI* pCmdUI) functions are not working! I have take some breakpoints in the functions, but the system never call this functions!
I am working with eVC++ 3.0!
--
Nice greets, Daniel.
|
|
|
|
|
Modal dialog? OnUpdate methods are called from main application message loop (CWinApp::OnIdle method), but modal dialogs have it's own message loop.
See Q123158 KB article[^] for details how to implement updating the control bars on dialog.
Pavel
Sonork 100.15206
|
|
|
|
|
Thanks for the tip! I try it...
--
Nice greets, Daniel.
|
|
|
|
|
To All experts,
I have to write an engine capable of :
-accept inout from differnce source eg COM ports, TCP/IP, I/O device. More like each input device is module and have its own properities.
-You can start with one input, say get data from COM1, and if user want can add more. More like having multiple terminal emulators running in the same system.
How best should I go about it ? in term of architecture and UI. I am looking at MDI and may be a SDI with Tab-control interface. my head filled with useful information and cannot decide what is best.
like to get suggestion from our experts here.
thank
sanong
|
|
|
|
|
Try googling for "Free BBS source".
|
|
|
|
|
I am using ShellExecute method to launch Internet Explorer. I am using it like this:
ShellExecute(hWnd,"open","www.codeproject.com","","",SW_SHOWNORMAL);
The problem is that it opens the URL in already opened browser. How can i use this to launch a seprate new browser.
Ahsan
|
|
|
|
|
replace www.codeproject.com with iexplorer.exe http://www.f***you.com
She's so dirty, she threw a boomerang and it wouldn't even come back.
|
|
|
|
|
What will happen if default browser is NETESCAPE or Internet explorer is not installed on that PC.
Ahsan
|
|
|
|
|
Ah ah ! what a boring question. Then look up the registry in HKCR\.htm (HKCR\htmlfile), and there you get a reference to the default web browser.
She's so dirty, she threw a boomerang and it wouldn't even come back.
|
|
|
|
|
In my application I want to put a control into a property page which shall fill the whole region of the property page. I use GetClientRect() to get the client area of the property page and position the control with SetWindowPos(). This works fine for Windows 2000. Running the application on Windows98/ME the control is not in the property page but beside of it.
I can't think of why this happens but maybe anyone of you has a solution...
Gero
|
|
|
|
|
Why does the height of the control change when you make it owner drawn and how can I prevent this...?
I don't mean the actual listbox but the drop button and edit control height...it increases by about 5 pixels which is really annoying...?
Thanx in advance!
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
I figured it out thanx!!!
incase your curious:
SetItemHeight(-1, newHeight);
Using the above will allow you to change the height of the comobobox itself not the items in the listbox.
Cheers!
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
Hi!
i have a dialogbased mfc-programm. in this programm i have several cstrings like
155 180 210 ..........
with a lot of rows and columns.
now i want to have every number as a single integer.
like int One=155; int Two=180;.....
is it possible??? thanks for every reply.
MFC
|
|
|
|
|
Use AfxExtractSubString() to pull out each group of digits, then _ttoi() to convert to integers.
--Mike--
Just released - 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click!
My really out-of-date homepage
Sonork-100.19012 Acid_Helm
|
|
|
|
|
i searched the function AfxExtractSubString in the msdn, but i found nothing.
can you explain the use?
my string is called: CString text; and it contains for example: 120 111 34 44 (between every number is a blank)
thanks
MFC
|
|
|
|
|
MFC is the Best wrote:
120 111 34 44 (between every number is a blank)
Why dont you just simply use CString::Find(' ', nStart) ?
So you can iterate over the whole Line and by remembering the result of Find() you can reuse it in the next Find() .
With CString::Mid(), you get the portion of the Text between the two finds.
|
|
|
|
|
Hi!
Since I found out, that under eMbedded Visual C++ 3.0 the CPropertySheet doesn't support the wizard style mode (see CPropertySheet::SetWizardMode ), I try to implement my own wizard dialog.
So, the first test version is ready to test... but I have one problem... At the moment I have got no device to test my application, so I only can make some tests with the emulator.
So, I would be happy, if there are some programmers who would test my application on some devices. I am also very happy, if they would take a look on my source code and give me some tips to make it better!
So, please give me a reply on this message with your e-mail and I would send you the source code of my eVC++ 3.0 application!
I have one proplem in my application... I have a command bar with some buttons... I want to enable / disable this buttons at a special time... to enable / disable the buttons I use the OnUpdate???(CCmdUI* pCmdUI) function... but the system will never call this functions in the emulator... so the buttons will every time enabled!
There are 4 important files in my application:
- Wizard.h
- Wizard.cpp
- WizardPage.h
- WizardPage.cpp
I have 3 wizard pages (simple dialogs IDD_PAGE1 , IDD_PAGE2 and IDD_PAGE3 ), who are subclassed from CWizardPage (see Wizard.h and Wizard.cpp).
The wizard dialog (CWizard ) is in Wizard.h and Wizard.cpp.
In the CWizardPage class you can find the CWizardPage::OnInitDialog function, where I detroy and delete the empty command bar of the wizard pages (dialogs), so that the wizard butons (back, next, ready and cancel) are always be visible.
In the CWizard class you can add some pages with CWizard::AddPage , in the CWizard::OnInitDialog function I create all the pages.
With the next and back button I show and hide the current page.
(Sorry for my bad english - I am learning!)
--
Nice greets, Daniel.
|
|
|
|
|
Let me see.
cward@sct.com
RebelCause
|
|
|
|
|
Hi!
Now I have my own PocketPC (a HP jornada) and I have tried my own Wizard-Style dialog, and it works very fine! I will create a simple sample application and will send it to you, if you want?
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
|
Who can send me one?
Thank you very much!
nevergrief@hotmail.com
nevergrief@sohu.com
C++ lover ,haha
|
|
|
|
|
|