|
Rajesh R Subramanian wrote: BTW, I believe that a balanced diet is having a plate of hot jalebis on each hand.
Addict!
BTW I have Darjeeling now (Twinings: loose tea, at least not tea bags). I'm going to taste it this afternoon.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
How does the tea look like? Flaky or granules/powder? If it is flaky[^], then it would be better. Shall I share a few tips with you?
1. Make terribly hot water.
2. Wash up the tea pot with this water to make it hot.
3. Add two teaspoons of tea flakes into the tea pot (or the infuser - whatever you are using)
4. Pour the boiling water over the tea.
5. Let it brew for about 3 minutes. (trial and error to suit your taste)
6. Add milk to taste (My cup of tea consists 20% of milk and 80% of the freshly brewed tea).
7. Add refined white sugar (one teaspoon?)
8. Pour it into a tea cup.
9. The most important step - Give it to me.
Remember that Darjeeling tea is supposed to be a connoisseur's tea and everyone may not like it at the very first cup. It is a very very mild tea, but has a very exotic muscatel flavor. Mmm...
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Visual C++ MVP
|
|
|
|
|
I suppose it isn't (I haven't open the packaging yet, but I suppose there are cut leaves, you used an acronym defining them that I don't remember...) I'm going to send you a photo, this afternoon (If I remeber: do you know, drugz... ).
Rajesh R Subramanian wrote: 1. Make terribly hot water.
I'm not able to make it exceed the boiling temperature...
Rajesh R Subramanian wrote: 2. Wash up the tea pot with this water to make it hot.
3. Add two teaspoons of tea flakes into the tea pot (or the infuser - whatever you are using)
4. Pour the boiling water over the tea.
5. Let it brew for about 3 minutes. (trial and error to suit your taste)
6. Add milk to taste (My cup of tea consists 20% of milk and 80% of the freshly brewed tea).
Fine.
Rajesh R Subramanian wrote: 7. Add refined white sugar (one teaspoon?)
8. Pour it into a tea cup.
Usually I don't use sugar (for instance I only add milk to espresso)
Anyway, if you think it tastes better with sugar I'll follow your suggestion.
Rajesh R Subramanian wrote: 9. The most important step - Give it to me.
Nope: you've the real one. This poor fake will make you unhappy.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
The sugar thing - just do an experiment. Try it with sugar now and without tomorrow. Find which is good for you. For me, a tea spoon of sugar is good.
Are you talking about the CTC (Cut, rolled and curled?). That would look like a coarse powder (granules?). Darjeeling tea must be mostly flaky, in which case you can be relieved. Do email me a photo.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Visual C++ MVP
|
|
|
|
|
Rajesh R Subramanian wrote: Are you talking about the CTC (Cut, rolled and curled?). That would look like a coarse powder (granules?).
Yes (I think).
Rajesh R Subramanian wrote: Darjeeling tea must be mostly flaky, in which case you can be relieved
To get it flaky, here in Italy, I should cultivate tea myself, I suppose.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
CPallini wrote: To get it flaky, here in Italy, I should cultivate tea myself, I suppose.
I think you'd be better off writing software.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Visual C++ MVP
|
|
|
|
|
|
Bahaha... Drug addict.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Visual C++ MVP
|
|
|
|
|
Or maybe I should apply to this job [^] in order to taste the real thing.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Eventually I tried it (with milk, without sugar: tomorrow I'll try with). It was good, the taste being quite persistent, I like it.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Great minds think alike.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Visual C++ MVP
|
|
|
|
|
Of course.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Why in hell's name are you using strcat ? This doesn't make any sense on so many levels. strcat is a low level function whereas std::string is a high level class that's intended to manage to low level details for you. Even is the code compiled, the intention is flawed anyway: you have no right to mess with a std::string 's buffer. That's the reason why the buffer returned from the std::string::c_str method is const . Use code like this:
std::string path = dtCore::GetDeltaRootPath();
path += "/CharacterAnimation.exe";
system(path.c_str());
Why's exeroot used for? I can't see it being used in your code. Also note that the buffer returned from std::string::c_str is not valid if you modify the string.
Steve
|
|
|
|
|
toxcct wrote: std::string s = "Hello World";
char* psz = s.c_str();
Should be:
std::string s = "Hello World";
const char* psz = s.c_str();
Steve
|
|
|
|
|
I have changed the dialog's background color using WM_ERASEBKGND.
But how to give the same color to the menu bar in the dilaog?
|
|
|
|
|
owner drwan menu. Use the search box.
Greetings from Germany
|
|
|
|
|
|
Hi all,
I just wanted to know can we increase the size of static text(label we are using in dialog box) at runtime.... like i put text in my static text at run time using SetDlgItemText(), but sometimes when text is big it is not displayed i.e text is displayed according to the size of static text control....so what i want is that my control size should increase or decrease according to the text given...
Thanks in advance...
|
|
|
|
|
BOOL CMyDlg::OnInitDialog()
{
CDialog::OnInitDialog();
CString str;
CRect rect;
GetDlgItem(IDC_STATIC1)->GetWindowText(str);
int iLen = str.GetLength();
int iWidth = 8*iLen;//assume 8 pixel per character
GetDlgItem(IDC_STATIC1)->GetWindowRect(rect);
rect.right = iWidth;
GetDlgItem(IDC_STATIC1)->MoveWindow(rect);
return TRUE;
}
Nigah M Manzoor
modified on Tuesday, July 1, 2008 7:58 AM
|
|
|
|
|
Hey thanks its increasing the size but one more problem is there, where ever i put label when i run my program its showing the text at upper left corner only.....
|
|
|
|
|
use
GetDlgItem(IDC_STATIC1)->GetWindowRect(rect);
ScreenToClient(&rect);
instead of
GetDlgItem(IDC_STATIC1)->GetClientRect(rect);
Nigah M Manzoor
|
|
|
|
|
hey thanks it worked correctly
|
|
|
|
|
i also used the same code to resize my static text control it is working fine but one problem the text box width is not exactly according to the text it is little bit large. i want do like autofit to content. any idea?
|
|
|
|
|
Use this method.
CClientDC dc( pWnd );
CFont * pOldFont = dc.SelectObject( pWnd->GetFont());
CSize txtSize = dc.GetTextExtent(m_szText);
dc.SelectObject( pOldFont);
|
|
|
|
|
Has anyone come across an API or piece of code that allows partitions to be created and be formatted as NTFS?
I want the code to run under WinXP.
|
|
|
|