15,895,799 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by sunnyram (Top 9 by date)
sunnyram
2-Dec-11 3:00am
View
yes, instead of hiding we can disable the controls to make this work, but this will be my last option to solve my problem.
is there any other way to solve my problem. because i am going to use this combo box in 2-3 places so instead of disabling/hiding the controls, is there any other solution? in standard combo box, it shows the list box it does not disable/hide the controls bellow it so if i want to give this functionality to my combo box then how do i do this?
sunnyram
2-Dec-11 1:01am
View
i want to do many things in the list control, means on double click in some cell of the list control i want to show combo box or edit box as per the sub-item index such things can not be done in combo box. so using the list control for this case.
sunnyram
1-Dec-11 10:17am
View
(it is the item in the list control)i updated the question, please check it, waiting for the reply.
sunnyram
5-Sep-11 6:48am
View
thank you
sunnyram
5-Sep-11 6:36am
View
thank you,
i followed what you said.
if i want to do this in generic way then what should we do for that?
means if i dont know whether the type is int, CString or may other
then what should we do for this
class MyList : public CList <cobject,cobject>
{
// ...
};
can we do like this?
i tried this i got the error like:
cannot access protected member declared in class 'CObject'
sunnyram
17-Jun-11 2:26am
View
BOOL CWnd::PreTranslateMessage(MSG* pMsg)
{
// handle tooltip messages (some messages cancel, some may cause it to popup)
AFX_MODULE_STATE* pModuleState = _AFX_CMDTARGET_GETSTATE();
if (pModuleState->m_pfnFilterToolTipMessage != NULL)
(*pModuleState->m_pfnFilterToolTipMessage)(pMsg, this);
// no default processing
return FALSE;
}
it is giving error for the following line in above code
(*pModuleState->m_pfnFilterToolTipMessage)(pMsg, this);
sunnyram
16-Jun-11 2:46am
View
it is giving debug assertion error while executing the following line
"return CDialog::PreTranslateMessage(pMsg);"
before this line i am calling DoModal function of the CMyDialog class.
sunnyram
25-May-11 3:58am
View
class CBaseDlg : public CDialog
{
CBaseDlg(CWnd* pParent = NULL); // standard constructor
CBaseDlg(UINT nIDTemplate, CWnd* pParent = NULL); // constructor
}
class CChildDlg : public CBaseDlg
{
CChildDlg(CWnd* pParent = NULL): CBaseDlg(IDD, pParent){} // constructor
}
//and then calling the domodal
CChildDlg ChildDlgObj;
ChildDlgObj.DoModal();
//so it should show the parent dialog box controls on child dialog box. but for me it is not showing it.
sunnyram
25-May-11 2:42am
View
I did it but it is not showing the controls of base dialog box on the derived dialog box on DoModal.
Show More