|
I have tried that already but not getting any appropriate link.
|
|
|
|
|
Never though about the fact that it might be because what you are trying to do is illegal ? So, if you don't want to pay for the book, then try to find other free resources. Otherwise just buy this damn book, and do not download it illegaly. People have worked for that book. Would you like that people download your work for free illegaly ? Probably not, so don't do the same with other.
|
|
|
|
|
Do you know led mike he knows other secrets?
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
You are an idiot. Books are not free, they cost money because people write them. Are you hoping to work for free, or do you hope to get paid ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
May be you like to see www.functionx.com[^].
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
|
free download link of a free MFC book.
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]
|
|
|
|
|
|
|
Try (as already suggested) Google, for instance [^].
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]
|
|
|
|
|
|
Hi,
How can I identity that my OS is 32 bit or 64 bit?
|
|
|
|
|
|
Hi,
I want to change the index of header Item on drag drop. If header item 0 drag drop to next header column(After HeaderCol 1) then change the index of Header item 0 to 1. & Header Item 1 index to 0. I am using GetItem() & SetItem() but that's not working. How to do this?
Please make the correction in the code:-
On DragDropFunc()
{
HDITEM pHeaderItemCurrent,pHeaderItemNew;
TCHAR lpBuffer[256];
TCHAR lpBuffer1[256];
pHeaderItemCurrent.pszText = lpBuffer;
pHeaderItemCurrent.cchTextMax = 256;
pHeaderItemNew.pszText = lpBuffer1;
pHeaderItemNew.cchTextMax = 256;
m_HeaderCtrl.GetItem(0,&pHeaderItemCurrent);
m_HeaderCtrl.GetItem(1,&pHeaderItemNew);
m_HeaderCtrl.SetItem(0, &pHeaderItemNew);
m_HeaderCtrl.SetItem(1, &pHeaderItemCurrent);
}
Thanks:-
Mike
|
|
|
|
|
Are you in search of this ?
m_mylistcontrol.SetExtendedStyle(LVS_EX_HEADERDRAGDROP);
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
NO. I have already added the HDS_DRAGDROP while creating the header control.
What I need is to change the header Id which we specify while insertion. i.e
m_header.InsertItem(columnId, &hditem);//columnId =1;
Now How Can assign the some different hditem to columnId = 1;
I try with SetItem() as in code but its not working......
Any suggestion.
Mike
|
|
|
|
|
Just one quick question. Why do you want to change the index of the item?
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
Yes. I need to change the index of item. The new index will be postion of column after drag drop.
Mike.
|
|
|
|
|
Check out CHeaderCtrl::SetItem() and HDI_ORDER
|
|
|
|
|
Hai!
Can you please give me a sample code which calculates HCF and LCM of two or more numbers without using inbuilt functions to calculate HCF & LCM.
If there are more than one methods to calculate HCF/LCM just tell the logic and if possible provide sample code for the best logic.
Thankyou!
modified on Monday, February 16, 2009 1:11 AM
|
|
|
|
|
|
I must be doing something really silly but I'm trying to get the time information when a key is hit down then released (WM_KEYUP). I'm writing a win32 application (doesn't anyone write these anymore?), but when I hit the key, I get a blank messagebox or squares. What am I doing wrong. Any good advice might win you a keg of cool beer or at least, a thanks.
case WM_KEYDOWN:
{
SYSTEMTIME st;
GetSystemTime(&st);
MessageBox(NULL,(LPCWSTR)L"Time is "+ st.wMilliseconds,(LPCWSTR)L"Keystroke Analysis",MB_OK);
}
break; //etc
|
|
|
|
|
You cannot add a WORD type to a constant string.
Use the Format method of the CString class to generate the Text for the MessageBox .
«_Superman_»
|
|
|
|
|
|
EvScott wrote: doesn't anyone write these anymore?
Yes.
case WM_KEYDOWN:
{
SYSTEMTIME st;
GetSystemTime(&st);
const int BUFSIZE = 0x100;
TCHAR msg[BUFSIZE];
HRESULT hr = StringCbPrintf(msg, sizeof(TCHAR) * BUFSIZE, _T("Time is %d"), st.wMilliseconds);
if (SUCCEEDED(hr)) MessageBox(NULL, msg, _T("Keystroke Analysis"),MB_OK);
}
break;
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]
|
|
|
|