|
I have downloaded and tried to use this class witin a VS 2005 MFC C++ application.
I am having build problems, has anyone used this Class and developed a sample project.
I was going to use the CSpreadSheet, but then came across the BasicExcel class which seemed more error free.
So anyone with a sample project using BasicExcel.
Many thanks,
Andy.
|
|
|
|
|
hi
i made a dialog with keyboard buttons on it. i need to know how to handle the left and right arrow buttons .
thanks
|
|
|
|
|
Handle the WM_KEYDOWN event.
Nobody can give you wiser advice than yourself. - Cicero
|
|
|
|
|
Hy.
I'm trying to clean up a "huge" project, and since i have a few thousand resource IDs in the "resource.h" file, it's a pain in the b.t to try to remove the ones that are really not used in the RC file.
I've found a tool, the ResOrgNET program which can find duplicate IDs, but it still doesn't help in removing the IDs that are not used anymore.
The question is : is there an add-in, program or maybe even a Perl/Java/whatever script that can help me find the duplicate resources ? (it must no remove them automatically, it should either only report them so i can remove them manually, or show a dialog in which i can tell it which ones to remove).
Thanks in advance.
There's no teacher who can teach us anything new
He can just help us to remember the things we always knew!
E N I G M A
|
|
|
|
|
in VC 6, view-->Resource symbols helps you to remove unused ids.
|
|
|
|
|
Thanx prasad_som,
I didn't know about that option, it's exactly what I needed.
I've found in in Visual Studio.Net too, when you rightclick in the resource view on any of the resources there's the "Resource Symbols" option.
There's no teacher who can teach us anything new
He can just help us to remember the things we always knew!
E N I G M A
|
|
|
|
|
HI all,
how we can communicate with usb device from the mfc?
means if the usb device is installed then how to communicate with
it? does CreateFile will be benefiticial?
if anyone know's some link please forward to me
Thanks and regards
Harshal
|
|
|
|
|
There's nothing special to it. You can use normal file handling routines. Just like how you write a file to your hard disk.
Nobody can give you wiser advice than yourself. - Cicero
|
|
|
|
|
Hello Friends,
I have created Combo box in my item.I have question that.. when i will open the Combo box then it will show me last selected item in blue cursor ( ie. it will show mw which string i selected last time).
PLZ help me...I am new in this filed so i dont know what Function or method have to used.
shah_satish2002@yahoo.com
|
|
|
|
|
Are you talking about one instance of the exe or you want the application to remember which item was choosen the last time when app was run ?
redindian
|
|
|
|
|
Thanks dear for your responde..
In my application i created one combo box.I am retraving data from ini file.In my .ini file one section is Default..value of default is equal to string which i selected last time.i want in my application to remember which item was selected the last time when app was run ?( ie it will show in blue cursor ( highlight)).
I hope u got my question.
Waiting for reply.
Satish
Shah satish
|
|
|
|
|
Do not follow Monty's advise he is confused .
Well you are already half way thro to reach what you want .
You said you write the last selected string in a section called Default in an .ini file . So why not you just read the same Default entry when app starts and compare it with combobox items and then you SetSel(item no) . I feel you mean setting focus by "blue color"
redindian
|
|
|
|
|
Ya..u mean...I will compare with if condition n then use selcur method. ( i want to focus or highligh last item..For example when we select any application then it will show us in blue or any color.. that what i want.. ie just only indicate me this section i selected last time.. )
Setcursel is appropriate method or not??
|
|
|
|
|
Hi
Read the Default section of .ini file and get the string in CString or LPCTSTR = lpszStr;
Now implement the following in your OnInitDialog()
int lastselection = m_combo.FindString(0,lpszStr);
m_combo.SetCurSel(lastselection);
redindian
|
|
|
|
|
Hi
1) Read your ini file and load the default string in CString str or LPCTSTR str;
2) implement the following in your OnInitDialog
int lastselection = m_combo.FindString(0,lpszStr);
m_combo.SetCurSel(lastselection);
redindian
|
|
|
|
|
|
dharani wrote: Do not follow Monty's advise he is confused .
hahaha now i understand him ..... he want the last item to be selected again .. damn
Gas prices suggest that they have taken out lead from gas and replaced it with gold
|
|
|
|
|
Well you will have to Owner draw the combobox yourself, lots of articles on owner draw on CP use search.
Then it comes to be that the soothing light at the end of your tunnel
Is just a freight train coming your way
|
|
|
|
|
After you have added all the items to the combobox, call SelectString() with the one you want selected.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I want to resize a BMP image and save it.
How can i do it ?
|
|
|
|
|
Well take a look at CImage[^] class it does everything you need
Excuse is a word that human beings came up with to hide from the potential of failure and in doing have robbed themselves of the grace of success.
Code-frog in lounge
|
|
|
|
|
|
Dear All,
How can i edit WM_CLOSE and WM_DESTORY Message Event handler in my dialog based application ?
Kindly Help me
Thanks
|
|
|
|
|
hi friend,
pls let me know your actual requirement.
|
|
|
|
|
Which IDE you are using?
In caseof VS2005, you need to dilog class from class view right click on its properties, and then add/edit required message/overidables.
|
|
|
|