Click here to Skip to main content
16,007,126 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating user defined messages and events in MFC Pin
Mark Salsbery29-Dec-07 7:24
Mark Salsbery29-Dec-07 7:24 
QuestionHow to get current screen DPI? Pin
hanlei000000000928-Dec-07 21:50
hanlei000000000928-Dec-07 21:50 
AnswerRe: How to get current screen DPI? Pin
CPallini28-Dec-07 22:58
mveCPallini28-Dec-07 22:58 
AnswerRe: How to get current screen DPI? Pin
Mark Salsbery29-Dec-07 7:34
Mark Salsbery29-Dec-07 7:34 
AnswerRe: How to get current screen DPI? Pin
grmanoj19-Dec-12 17:15
grmanoj19-Dec-12 17:15 
GeneralApplication Crash problem Pin
Atul2328-Dec-07 18:10
Atul2328-Dec-07 18:10 
GeneralRe: Application Crash problem Pin
Steve Echols28-Dec-07 19:26
Steve Echols28-Dec-07 19:26 
GeneralRe: Application Crash problem Pin
Atul2328-Dec-07 19:37
Atul2328-Dec-07 19:37 
Hi Steve,

I write code in CPageView class which is derived from CView class. My project is to create web page design tool. when I create page by using my code, as the page is open there is error ocuure. I write customize function to open web page. The error is occur after page is open and application gets crash with messgeBox having 3 buttons as Send Error,Don't sent error and ignore.

void CPageView::OpenWebSite(int nTabIndex)
{
if(nTabIndex > 0 && nTabIndex < nSize+1)

{
CString strPagePath = pFrame->m_selWebPagePaths.GetAt(nTabIndex-1);
theApp.OpenDocumentFile(strPagePath);
}
}

Thanks
Abm
GeneralRe: Application Crash problem Pin
Steve Echols28-Dec-07 19:53
Steve Echols28-Dec-07 19:53 
GeneralRe: Application Crash problem Pin
Atul2328-Dec-07 21:33
Atul2328-Dec-07 21:33 
GeneralRe: Application Crash problem Pin
CPallini28-Dec-07 23:41
mveCPallini28-Dec-07 23:41 
Generalstring and xstring Pin
Maxwell Chen28-Dec-07 4:51
Maxwell Chen28-Dec-07 4:51 
QuestionRe: string and xstring Pin
CPallini28-Dec-07 5:05
mveCPallini28-Dec-07 5:05 
GeneralRe: string and xstring Pin
Maxwell Chen28-Dec-07 5:07
Maxwell Chen28-Dec-07 5:07 
GeneralRe: string and xstring Pin
CPallini28-Dec-07 5:13
mveCPallini28-Dec-07 5:13 
GeneralRe: string and xstring Pin
Maxwell Chen28-Dec-07 5:18
Maxwell Chen28-Dec-07 5:18 
GeneralRe: string and xstring Pin
CPallini28-Dec-07 5:36
mveCPallini28-Dec-07 5:36 
GeneralRe: string and xstring Pin
Maxwell Chen28-Dec-07 5:48
Maxwell Chen28-Dec-07 5:48 
GeneralRe: string and xstring Pin
Maxwell Chen2-Jan-08 1:02
Maxwell Chen2-Jan-08 1:02 
General(Solved) GDI+ and CDC::GetWindow() Pin
bob1697228-Dec-07 4:00
bob1697228-Dec-07 4:00 
QuestionRe: GDI+ and CDC::GetWindow() Pin
CPallini28-Dec-07 4:46
mveCPallini28-Dec-07 4:46 
GeneralRe: GDI+ and CDC::GetWindow() Pin
bob1697228-Dec-07 5:03
bob1697228-Dec-07 5:03 
GeneralRe: GDI+ and CDC::GetWindow() Pin
CPallini28-Dec-07 5:08
mveCPallini28-Dec-07 5:08 
GeneralRe: GDI+ and CDC::GetWindow() Pin
bob1697228-Dec-07 5:17
bob1697228-Dec-07 5:17 
GeneralRe: GDI+ and CDC::GetWindow() Pin
bob1697228-Dec-07 5:29
bob1697228-Dec-07 5:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.