|
Use QuerySiblings .
Nibu thomas
Software Developer
|
|
|
|
|
Create a class/struct that represents all of the data for each of the pages. Create an instance of this class/struct in the property sheet. Each time a page is activated, it will query this class/struct to initialize the controls. Each time a page is deactivated, it will update the class/struct with the control values. Make sense?
"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 ,
The bounding rectangle of my line string is changed and updated for the line object. This line object has array of points. I want to move/update those points too by the same offset, how may I achieve this?
Leya
|
|
|
|
|
hi all,
i am having a two DateTimePicker Control, i have selected Two Dates from that and put in a EditBox how to compare the Dates from the EditBox. Is this Possible with COleDateTime, if possible then please provide a snippet of Code.
thanks,
uday.
uday kiran
|
|
|
|
|
|
kiran janaswamy wrote: how to compare the Dates from the EditBox. Is this Possible with COleDateTime
Yes.
kiran janaswamy wrote: if possible then please provide a snippet of Code
COleDateTime dateOne(95, 3, 15, 12, 0, 0);
COleDateTime dateTwo(dateOne);
BOOL b;
b = dateOne == dateTwo;
dateTwo.SetStatus(COleDateTime::invalid);
b = dateOne == dateTwo;
b = dateOne != dateTwo;
b = dateOne < dateTwo;
b = dateOne > dateTwo;
b = dateOne <= dateTwo;
b = dateOne >= dateTwo;
And how to convert a string to COleDateTime object??
Use ParseDateTime .
Nibu thomas
Software Developer
|
|
|
|
|
hi nibuthomas,
if i have selected two dates from DateandTime Picker Control and put it in EditBox. this values are in the CString Format but they are not in COleDateTimeControl then how to Compare it. please provide a Solution for that.
thanks,
uday.
uday kiran
|
|
|
|
|
Take a look at ParseDateTime and please kindly look up the documentation for further details.
Nibu thomas
Software Developer
|
|
|
|
|
hi nimuthomas,
i got it and many thanks to provide a solution. i am lucky.
thanks and regards,
uday.
uday kiran
|
|
|
|
|
"search for some nodes in the reamining area"
"finds the next nodes in the cal"
|
|
|
|
|
Please elaborate!
Nibu thomas
Software Developer
|
|
|
|
|
"search for some nodes in the reamining area"
I not found "reamining" in dictionary, so i don't know that meaning of "reamining"?
|
|
|
|
|
it is probably "remaining" which would mean the area that is left.
|
|
|
|
|
umm.
remaining ?= reamining
|
|
|
|
|
FlyWithYou wrote: search for some nodes in the reamining area
it must be a typo, its "remaining area" i think
Master.. Master.. where are the dreams that i've been after...
|
|
|
|
|
But there are more than 53000 entries found via Google for this word "reamining".
reamining[^]
Maxwell Chen
|
|
|
|
|
Maxwell Chen wrote: 53000 entries
Lol. This could be a favorite typo for everybody.
Nibu thomas
Software Developer
|
|
|
|
|
Nibu thomas wrote: a favorite typo
You know what?! I was tickling and thought it something like re-amin-ing. Then were there such a word "amin" or "amine" ...
Maxwell Chen
|
|
|
|
|
I am improving an application that is taking forever to load, primarily because each time it loads it initialises a full tree of nearly 100000 items, even though there are only 5 or so keys viewable from the root path. Does the MFC tree control have any sort of support for reading only what is needed, or do I need to hook the open scope(whatever they may be called) functions and code it manually?
When I die I'd like to go peacefully in my sleep like my father, not screaming in terror like his passengers!!!
|
|
|
|
|
This[^] will be of some help.
Take a look at TVN_GETDISPINFO .
Another keyword for look up is LPSTR_TEXTCALLBACK .
For more details on how this works take a look at the TVITEM structure documentation for more details. Look closely at the callback values for Image and Text.
Using this you can create your own virtual tree control.
Nibu thomas
Software Developer
|
|
|
|
|
Thanks heaps.
When I die I'd like to go peacefully in my sleep like my father, not screaming in terror like his passengers!!!
|
|
|
|
|
What is the difference between Abstraction and encapsulation ?
|
|
|
|
|
Encapsulation is the binding of data and functions into one unit that is called a class. Whereas abstraction means that you are hiding the functionality from the user and let him use your function.
For example
class CXYZ
{
int a,b;
public:
void show()
{
//SOme code
}
};
Now you have included these variables in a class along with the member functions . THis is encapsulation.
Now for abstraction suppose you want to add the two numbers and show the total in the show function.
SO here you can add two variable in the manner you like hiding the code from the user and let him use your function
c=a+b; //could be one simple option
//Another option
a=a-2;
b=b+2;
c=a+b;
Vision is Always important and so is your ATTITUDE.
Wishes.
Anshuman Dandekar
|
|
|
|
|
|
Encapsulation
Abstraction
"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
|
|
|
|