|
Microsoft visual studio 6.0
please tell me.
|
|
|
|
|
Here [^] an example.
BTW Have you the library header file (*.h ) and the import one (*.lib )?
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
|
|
|
|
|
Hi Palnili,
May I ask a question?
|
|
|
|
|
Hamid. wrote: Hi Palnili
Actually is Pallini.
Hamid. wrote: May I ask a question?
Of course. I'm waiting for.
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
|
|
|
|
|
Oh Im sorry I must be paste your name.
Do you know Mr Antonio Vivaldi? I had a music of him and I like it a lot but I losed it,do you have this music(I think its four reasons)?
|
|
|
|
|
Hamid. wrote: Do you know Mr Antonio Vivaldi?
Well, not personally!
Hamid. wrote: I had a music of him and I like it a lot but I losed it,do you have this music(I think its four reasons)?
I think it was the four seasons, (orginal title: "le quattro stagioni").
I don't remeber if I have it, since Vivaldi is not my favourite composer (I like very much Verdi and Bach). I will look for at home.
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
|
|
|
|
|
Well he was born in Venis in Italy(1678-1741),I read his biography.You like Monte Verdi(1567-1643),right? I heared and know most harmonist of occident,because I am musician (at the day I am a programmer and at the night a player ),btw Im thankful of your search.
|
|
|
|
|
Hamid. wrote: You like Monte Verdi(1567-1643),right?
Nope. I like Giuseppe Verdi[^], I think he was the best Italian composer (I like so much the Aida opera), however I'm far of being a musician, hence my opinion maybe irrelevant (simply I like very much his brilliant usage of winds and percussions).
Hamid. wrote: btw Im thankful of your search.
I hope, once at home, to remember about (don't blame me if I forget, I'm very absent-minded)
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
|
|
|
|
|
Holy cow. Lots of patience there man. I appreciate it.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
That may be seeing the 5! that's mine to compensate previous one. I never seen savitri appreciates anwser.
|
|
|
|
|
Rajkumar R wrote: I never seen savitri appreciates anwser. [Smile]
So true. We'll never know if her query was solved or not.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
See these[^] parts of course this link is for create a DLL with a DEF file and use it.
|
|
|
|
|
I'd like to write an application that will show my current upload/download speeds and keep track of total data transferred. Could someone please point me at the appropriate API's to use?
(Yes, I could buy one, but I'd prefer to learn.)
|
|
|
|
|
|
I have 2 flexHgrids in my application. now i need to loas the data from a text file delemiter as semicolon
Now in the text file the format is as follows
first flex grid 2nd flex grid
1;2;4;1;45;1;4;1;3; 1;2;4;1;3;4;1
both are on the same line. how do i do that? i can do the first one. but how do i check for the second string and display it on the second flexgrid?
|
|
|
|
|
it seems the first ad second dataset is seperated by space, you may use
string::getline with delimiter space to read upto first data set or after reading complete string separate the string using any of the string functions like Tokenize, Find, Mid ...
|
|
|
|
|
Can we delete CFont object which is created in OnintDilaog() itself after doing SetFont to corresponding controls in dialog???
|
|
|
|
|
Nope.
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
|
|
|
|
|
No, if you delete the CFont, then your font won't be updated.
See this article[^] for more info (BTW, that was the first result in google when searching for SetFont).
|
|
|
|
|
Yes you can. But the results may not be very appealing as you are destroying the font object prematurely. Why not just do a little test?
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Yes I had done a test, even though after deleting its working fine. From where is it referring even after deletion?
|
|
|
|
|
Super Hornet wrote: From where is it referring even after deletion?
Turn your monitor East so that I can see it. But then CPallini, Cedric, David, and all others won't be able to see it.
So, show us your code.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
But the article refered by cedric clearly tells we shouldn't delete.
Here is my code:
BOOL NcEventArrhythmiaOnDlg::OnInitDialog()
{
NcEventSpecificDlg::OnInitDialog();
LOGFONT lf;
GetFont()->GetLogFont(&lf);
lf.lfHeight = -16;
lf.lfWidth = 0;
CFont* pFont = new CFont;
pFont.CreateFontIndirect(&lf);
GetDlgItem(IDC_ARRHYTHMIA_ONSET_TIME)->SetFont(&pFont);
GetDlgItem(IDC_ARRHYTHMIA_ONSET_INFO)->SetFont(&pFont);
GetDlgItem(IDC_CYCLE_LENGHT)->SetFont(&pFont);
GetDlgItem(IDC_ARRHYHMIA_UNIT)->SetFont(&pFont);
pFont->DeleteObject();
if(pFont != NULL)
{
delete pFont;
pFont = NULL;
}
return TRUE;
}
|
|
|
|
|
Super Hornet wrote: GetDlgItem(IDC_ARRHYTHMIA_ONSET_TIME)->SetFont(&pFont);
GetDlgItem(IDC_ARRHYTHMIA_ONSET_INFO)->SetFont(&pFont);
GetDlgItem(IDC_CYCLE_LENGHT)->SetFont(&pFont);
GetDlgItem(IDC_ARRHYHMIA_UNIT)->SetFont(&pFont);
How can the above lines work?
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
|
|
|
|
|
Super Hornet wrote: CFont* pFont = new CFont;
pFont.CreateFontIndirect(&lf);
This code won't compile.
And this too:
Super Hornet wrote: GetDlgItem(IDC_ARRHYTHMIA_ONSET_TIME)->SetFont(&pFont);
GetDlgItem(IDC_ARRHYTHMIA_ONSET_INFO)->SetFont(&pFont);
GetDlgItem(IDC_CYCLE_LENGHT)->SetFont(&pFont);
GetDlgItem(IDC_ARRHYHMIA_UNIT)->SetFont(&pFont);
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|