p_1960 wrote:
...how can i restrict the class to do the same...
By reading 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
What about documentation [^]? You may also check out the Rajesh's gold list of MFC books [^]. :)
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]
p_1960 wrote:
Please let me know the difference b/w debug and release dll"s...
You probably want to know the differences between debug and release builds. Here's a classic article[^] on the subject. Hope that helps. :)
It is a crappy thing, but it's life -^ Carlo Pallini
Why don't you try yourself? The debugger, you know, it is a fantastic tool... :rolleyes:
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]
«_Superman_» wrote:
The auto generated default constructor will initialize all class data members to 0.
This is incorrect. If your class has built-in data types (int, char, etc.), the default behavior is to leave them uninitialized, just like local variables.
--Mike-- Dunder-Mifflin, this is Pam.
Can't you just use CString if you are already using MFC? Why do you have to use the std containers?!
It is a crappy thing, but it's life -^ Carlo Pallini
p_1960 wrote:
and in this if the nsBCode is SB_PAGEDOWN im always getting the nPos value is 0 eventhough the position of the slider is changed
MSDN says
For the TB_THUMBPOSITION and TB_THUMBTRACK notifications, the high-order word of the wParam parameter specifies the position of the slider. For all other notifications, the high-order word is zero; send the TBM_GETPOS ( GetPos ) message to determine the slider position. The lParam parameter is the handle to the trackbar.
nave [OpenedFileFinder] [My Blog]
Dialog name IDs should be either a string or a 16-bit unsigned integer. If you remove dialog id definition (#define IDD_TESTDLG_DIALOG number) from the file named "resource.h", it will work. Or you should enter that name with double quotes (like "IDD_TESTDLG_DIALOG") as dialog ID of dialog properties.
Why you didnt sue of examples on the MSDN?
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 )
But it's not virtual, so if CreateDlgIndirect is called using an instance pointer typed as CDialog (which is highly likely, as CDialog is the only class with visibility of that method), it'll always call the CDialog version of the method.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
because in our application dialogBox along with controls should resize based on the Resolution of the system... so that user will be able to have a clear view...
Hi , im getting the below error when i tried to open the project in vs 2003 and 2005 '9,00' violates enumeration constraint of '7.00 7,00 7.10 7,10 8.00 8,00'. The attribute 'Version' with value '9,00' failed to parse.
To get the screen resolution, use GetSystemMetrics() or SystemParametersInfo(). To resize a dialog box, see Chris' answer. For a bitmap button, 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
CString is an object which has some methods as GetLength() which will return the lenght of the incorporated string. :doh: Plaese clarify your question... :sigh:
Press F1 for help or google it. Greetings from Germany
p_1960 wrote:
Node->put_text(&bstr2);
Should be
Node->put_text(bstr2);
:)
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]