|
but my requirement is like that..Any more ideas???
|
|
|
|
|
Don't do the validation during EN_KILLFOCUS . Unless the validation is time consuming, do it with each EN_CHANGE .
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"We will be known forever by the tracks we leave." - Native American Proverb
|
|
|
|
|
Hi ,
I have splitter window with a treeview and a listview (like as in explorer)
in which i will be populating the data to be displayed in the listview's initialupdate . The problem is that wen i do a showindow maximize it takes a lot of time to get displayed (due to large data ) which in effect looks bad ,
is their any way i can reduce this .
Regards,
FarPointer
|
|
|
|
|
For the list view, check LVS_OWNERDATA in MSDN docs. Its a style to make a virtual listview. That could solve your problem. I dont think there is any thing similar for the tree view.
Magnus
|
|
|
|
|
Hi ,
Thanx for your coment but i have moved ahead with my implementatiobn that its not feasible to change it now ,as you might be aware that for this i need to give a LVN_GETDISPINFO handler .
I also want to bring to the notice that it takes time only once and that to in the ShowWindow(SW_SHOWMAXIMIZED),afterwards its prety fast due to SetRedraw(FALSE) etc .
Regards,
FarPointer
|
|
|
|
|
Well thats the only way I know of speeding up the list control. Except a full owner draw version... but thats an even bigger change
When are you populating the control.. maybe if you wait with that untill after the call to ShowWindow... might help.
Magnus
|
|
|
|
|
Hi ,
Anyway i appreciate your suggestion i was not aware of the LVS_OWNERDATA anyway.
Regards,
FarPointer
|
|
|
|
|
Hello All,
I am faced with a problem here. I need to come up with a mobile solution that allows remote users to plug into a database and update/enter/delete values from their PDA's. We intend to use GPRS/WiFi and this system involves creating many pages that will be browsed thru hence it will be costly if we user web. I want to cut costs by having a local database on the PDA store the values temporarily then once the user is thru, they upload all that at once.
Is there a posiblity of creating a windows app for the PDA with a dataset that holds the database so that once the user is thru' we upload everything in one sweep!!
Pliz help.
Jus Mee
|
|
|
|
|
maybe its kind of funny...actually i am doing my industrial training...n i ve sent to a c++ developing site...i have a poor knowledge in C++....today i have to convert my system to GUI interface...can anyone suggest me the way to learn this....
|
|
|
|
|
You can use the MFC for that. It's not too difficult to learn.
|
|
|
|
|
ok...where to learn the basics...
|
|
|
|
|
|
|
What's wrong with my suggestion ? I even made the search on google for you ! Feel to lazy to do something by yourself ? People should do the work for you isn't it ?
|
|
|
|
|
Cedric Moonen wrote: People should do the work for you isn't it ?
It's about time for Stephen to show up and say something to him ...
Maxwell Chen
|
|
|
|
|
i knw..i m tring..i mean any other betta sites in da net..
|
|
|
|
|
There are no 'better' sites than the ones google will offer you.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
makaveli_07 wrote: actually i am doing my industrial training
So you already have your teachers!
Maxwell Chen
|
|
|
|
|
yeah...but i cant ask everything rite!
|
|
|
|
|
makaveli_07 wrote: but i cant ask everything rite!
What did you mean?
A) You don't know how to express your intention (of coding) with appropriate programming jargons?
B) Your teacher is not willing to answer you?
C) Too many SMS texts in your questions?
Maxwell Chen
|
|
|
|
|
I see several problems here
1 - you have 'poor knowledge of C++', but you've been asked to write a GUI in C++
2 - people have given you the only possible answers, and you've rejected them
Your only other option is to find someone you can pay to do the work for you. Otherwise, it's google all the way, and you'd be insane not to buy a good book. How big is this GUI ? How long do you have ? What's 'industrial training' ? Are you on a course and you'll be marked for this ? Or are you in a work situation where this is a task you're being paid to do ? If the former, go and ask for info from your teachers. If the latter, you need to either work hard, or find another job.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I suggest read MSDN that is best resource and then read examples in codeproject
|
|
|
|
|
I want to select a row in the CListCtrlEx through program. What method can help me.
|
|
|
|
|
use the macro
ListView_SetItemState( hWnd, nIndex, LVIS_SELECTED , LVIS_SELECTED );
where hWnd is the handle to the listctrl and nIndex is the items to be selected
Please note that u should set the focus to the listctrl before calling this macro
Setfocus( hWnd );
nave
|
|
|
|
|