15,903,012 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 Member 11482033 (Top 5 by date)
Member 11482033
16-Apr-15 8:24am
View
when i changed the TAB in my app, this method will get called.
And i just want to create Model dialog while switching the tab. But i create Modeless dlg its working fine with Create()(without error).. and i just wanna to create model dialog(using DoMdal())
My method is...
void ParentClassName::OnSelchange(NMHDR* pNMHDR, LRESULT* pResult)
{
// Get the number of the currently selected tab, and show it
ShowWindowNumber(m_cTab.GetCurFocus());
if(m_cTab.GetCurFocus() == 1){
CModeless m_pmodeless;
m_pmodeless.DoModal();
}
pNMHDR = NULL;
pResult = NULL;
}
Member 11482033
16-Apr-15 8:24am
View
when i changed the TAB in my app, this method will get called.
And i just want to create Model dialog while switching the tab. But i create Modeless dlg its working fine with Create()(without error).. and i just wanna to create model dialog(using DoMdal())
My method is...
void ParentClassName::OnSelchange(NMHDR* pNMHDR, LRESULT* pResult)
{
// Get the number of the currently selected tab, and show it
ShowWindowNumber(m_cTab.GetCurFocus());
if(m_cTab.GetCurFocus() == 1){
CModeless m_pmodeless;
m_pmodeless.DoModal();
}
pNMHDR = NULL;
pResult = NULL;
}
Member 11482033
13-Apr-15 8:25am
View
For setting data into edit box from other class, I need to write an event like on button click. But in my case, I need to set data directly without event.
Member 11482033
13-Apr-15 8:19am
View
actually I need to do is, I am having a modeless dialog while clicking on OK button I need to pass some data on other dialog edit box. I am setting that data in Dialog constructor, But its assertion failed message is coming.
I need help.. Thanks in advanced
Member 11482033
9-Apr-15 6:38am
View
I tried your suggestion but I'm getting ..
---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!
Program: ...diaformat Latest 30-12-2014\Debug\LipsTimeCodeApplication.exe
File: f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\winocc.cpp
Line: 245