|
Hi David,
and thanks for giving your attention to my little problem.
The problem is already solved (see other answers), I am now
able to change the button text in runtime
BR/Lars
|
|
|
|
|
lmflho wrote: The problem is already solved (see other answers)...
See here for more on that particular subject.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Hi David,
thanks for your suggested further reading. For now, it is quite a bit beyond
my horizon, but if I ever get more experienced in windows programming, I will
take a closer look at the article.
BR/Lars
|
|
|
|
|
Hi to all,
I need to make use of tab control on my dialog.
I have done in VB. But in VC6, I have no idea how to do it. Even How do I edit one tab.
Basically I need 2 tab page on the tab control.
Please help me.
-----------------------------
I am a beginner
modified on Thursday, September 24, 2009 6:05 AM
|
|
|
|
|
See here.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
See rather all MSDN samples about Tab contol (dozens in SDK, KB, doc, etc)
|
|
|
|
|
Hi to all,
I want to use datagrid in MFC. (VC6)
But I am not able to see the control in control box.Please help me how to do it.
Do I have to make use of some activeX or the control is available in VC6 itself
-----------------------------
I am a beginner
modified on Thursday, September 24, 2009 6:05 AM
|
|
|
|
|
Is CListView removed from Visual Studio 2005 Pro? When I was going to use it in a MFC project, I got the error:
error C2065: 'CListView' : undeclared identifier
Maxwell Chen
|
|
|
|
|
It should be still there, see [^]. Have a look at 'Requirements' section too.
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]
|
|
|
|
|
Thank you very much!
Maxwell Chen
|
|
|
|
|
What is a manifest at a technical level? Is it mandatory in certain situations or is always on. Is there a way not to embed manifest in V studio 2008
|
|
|
|
|
Hi
we are using CPictureHolder in order to display image through data. This data nothing but CString.
we are doing the dcode(converting into byte) and creating the byte into CMemfile object.
The problem is few image data not displaying the image.
i am using below code.
hr = ::OleLoadPicture(lpStream,
maxLen,
FALSE,
IID_IPicture,
(LPVOID*)&m_pPict);
hr return as E_FAIL for some image data.
please let me know what could be reason.
Regards
Gopal
|
|
|
|
|
From documentation:
This function returns S_OK on success. Other possible values include the following.
Return code | description |
---|
E_NOINTERFACE | The object does not support the specified interface. | E_POINTER | The stream is not valid. For example, it may be NULL. |
So what's the actual return value you got?
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
Returning as E_FAIL. but same image datai have used in C# using xmlreader it works fine.
|
|
|
|
|
That's in sharp contrast with the documentation. What is the numerical value?
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
Numerical value means is it hr return value. if not how do i get it numerical value
|
|
|
|
|
Hi
I am using DWORD to fine numerical value. I getting this value (2147500037) conver into Hex(80004005). it says that (#define OLE_E_NOTRUNNING _HRESULT_TYPEDEF_(0x80040005L));
|
|
|
|
|
Gopal_Kanchana wrote: Numerical value means is it hr return value
Yes I would like to know hr numerical value.
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]
|
|
|
|
|
Hello everyone,
I am using std::map<cstring, cmystruct=""> in my application. I am searching for CMyStruct based on the CString using find function. But sometimes find function is returning null iterator even when there is strcture obj with specified key.
Can anyone help me in finding the solution?
|
|
|
|
|
Posting the relevant code would possibly help.
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,
here is how I used
std::map<cstring, cmystruct="">mapVar;
void Myfun1()
{
...
CString strTemp = "str1";
mapVar[strTemp] = myStructObj1;
}
void MyFun2()
{
map<CString, CMyStruct>::const_iterator itr;
Cstring strTemp = "str1";
itr = mapVar.find(strTemp);
....
}
Sometimes it is working fine but sometimes it is not working.
|
|
|
|
|
Lakshmi_p wrote: sometimes find function is returning null iterator even when there is strcture obj with specified ke
Umm, that's odd.
If the key doesn't exist in the sequence std::map::find() returns end() and not NULL .
Have you verified that you haven't added a NULL pointer for the key you're looking for? If the answer to this question is 'no', don't bother answering the following.
How have you declared your map? Post some code (preferrably properly formatted using <pre></pre> tags)
How do you add elements to the sequence? (Code again)
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
Hello
Well what i want to do is restore original page protection flags, searching on google i readed that virtualquery and virtualqueryeax are used to do this but no detailed info or example could anyone point me somewhere or post a sample with some random address will really apriciate it thnx
|
|
|
|
|
Had you Googled virtualqueryeax you would have found this[^].
|
|
|
|
|
pls send me a program that can add edit and browse a data that you input on your database program please i need itt very badly
|
|
|
|