Click here to Skip to main content
15,887,337 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: TrackPopupMenu() blocks message engine Pin
Wes Aday5-Jun-06 9:24
professionalWes Aday5-Jun-06 9:24 
GeneralRe: TrackPopupMenu() blocks message engine Pin
LeeeNN5-Jun-06 9:29
LeeeNN5-Jun-06 9:29 
GeneralRe: TrackPopupMenu() blocks message engine Pin
Wes Aday5-Jun-06 9:33
professionalWes Aday5-Jun-06 9:33 
AnswerRe: TrackPopupMenu() blocks message engine Pin
Stephen Hewitt5-Jun-06 14:22
Stephen Hewitt5-Jun-06 14:22 
GeneralRe: TrackPopupMenu() blocks message engine Pin
Ryan Binns5-Jun-06 18:28
Ryan Binns5-Jun-06 18:28 
GeneralRe: TrackPopupMenu() blocks message engine Pin
Stephen Hewitt5-Jun-06 18:35
Stephen Hewitt5-Jun-06 18:35 
GeneralRe: TrackPopupMenu() blocks message engine Pin
Ryan Binns5-Jun-06 18:42
Ryan Binns5-Jun-06 18:42 
QuestionHow do I host an ASP.NET 2.0 Page in C++ MFC SDI app? Pin
davegalligher5-Jun-06 7:47
davegalligher5-Jun-06 7:47 
We are currently looking at 'improving' our user interface in our 32 bit applications so that certain views are more dynamic to enhance our user experience. This requires functionality similar to the gridview control and other ASP.NET 2.0 controls that already exist. (Think of an interface similar to Microsoft Money for a comparison, or Microsoft Small Business Accounting interface)

The 'problem' is they need to be hosted in a MFC SDI application. We need to use MFC as the primary language for the UI due to a bunch of legacy code that we have already created and access to quite a few existing DLLs that are written in MFC (over 1 million lines of code and growing). I have looked into the WebBrowser control and it has problems reading the XML in the web.config application. I have published the website to the local machine (localhost) and it still does not work. The idea solution to meet the requirement by our design department would be something like this:

Create a Control that can be hosted in a MFC application (this is where we are having problems) that can display ASP.NET 2.0 pages.
Change the control URL setting (i.e c:\websites\accounts.aspx || http://localhost/<sitename>) based on what user is clicking on in the SDI application. Basically the specs are showing about 12 different pages that would show.
Allow user to interact with page and raise events that will trigger MFC forms (dialogs) to be displayed.
Allow user to filter information shown in gridviews based on security settings (data in gridviews are fed via SQL Server (2000 or 2005)


I realize this is an over simplification but basically this is what we are after. Control can be created in .NET and hosted in MFC (tlb gets created using [ClassInterface(ClassInterfaceType.AutoDual)] on the control, user interaction with the pages needs to be bi-directional (input coming from apps like filter details of accounts, user clicking on hyperlinks in the page sending messages back (raising events) to the hosting application)

I've even tried using the WebBrowser container in a native C# app and find problems with the WebBrowser control reading web.config file, probably something simple I just need to work out (problems reading past the xmlns line in the web.config file).

Has anybody seen a control that meets this requirement? A point in the right direction would be greatly appreciated. Thank you.

Dave Galligher
Director of Product Development
Cougar Mountain Software
davegalligher@cougarmtn.com
Voice: 208.375.4455 x180
Fax: 208.375.4460
AnswerRe: How do I host an ASP.NET 2.0 Page in C++ MFC SDI app? Pin
led mike5-Jun-06 8:28
led mike5-Jun-06 8:28 
GeneralRe: How do I host an ASP.NET 2.0 Page in C++ MFC SDI app? Pin
davegalligher5-Jun-06 10:30
davegalligher5-Jun-06 10:30 
GeneralRe: How do I host an ASP.NET 2.0 Page in C++ MFC SDI app? Pin
led mike5-Jun-06 10:52
led mike5-Jun-06 10:52 
GeneralRe: How do I host an ASP.NET 2.0 Page in C++ MFC SDI app? Pin
davegalligher5-Jun-06 12:50
davegalligher5-Jun-06 12:50 
QuestionTab Control - text Pin
zbek5-Jun-06 7:22
zbek5-Jun-06 7:22 
AnswerRe: Tab Control - text Pin
David Crow5-Jun-06 7:33
David Crow5-Jun-06 7:33 
GeneralRe: Tab Control - text Pin
zbek5-Jun-06 11:42
zbek5-Jun-06 11:42 
GeneralRe: Tab Control - text Pin
zbek5-Jun-06 18:32
zbek5-Jun-06 18:32 
GeneralRe: Tab Control - text Pin
ThatsAlok5-Jun-06 23:00
ThatsAlok5-Jun-06 23:00 
QuestionRunning an external executable through C++.Net code Pin
Bob X5-Jun-06 7:01
Bob X5-Jun-06 7:01 
AnswerRe: Running an external executable through C++.Net code Pin
toxcct5-Jun-06 7:08
toxcct5-Jun-06 7:08 
GeneralRe: Running an external executable through C++.Net code Pin
Bob X5-Jun-06 7:18
Bob X5-Jun-06 7:18 
GeneralRe: Running an external executable through C++.Net code Pin
toxcct5-Jun-06 7:21
toxcct5-Jun-06 7:21 
GeneralRe: Running an external executable through C++.Net code Pin
Bob X5-Jun-06 7:27
Bob X5-Jun-06 7:27 
GeneralRe: Running an external executable through C++.Net code Pin
toxcct5-Jun-06 7:28
toxcct5-Jun-06 7:28 
GeneralRe: Running an external executable through C++.Net code Pin
Bob X5-Jun-06 7:30
Bob X5-Jun-06 7:30 
GeneralRe: Running an external executable through C++.Net code Pin
ThatsAlok5-Jun-06 22:48
ThatsAlok5-Jun-06 22:48 

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.