|
Clean-up in OnDestroy Hi, In my dialog based MFC application I put all clean-up code into OnClose (). Recently I noticed that calling EndDialog () closes the application but without executing OnClose (). So I move my clean-up code into OnDestroy (). May this cause any validity problems? Thanks in advance ... 20 May 2008 16:15
Newbee :: Question about windows service Hi, i'm new on C++ and I'm trying to write a simple windows service for learning purposes. I created it on MS VC 6 (i'm sorry, this is the official version of the company I work for) using the wizard. I'm pasting only the code I've changed indicating them with *****. The question is: when I run the service from i... 17 May 2008 19:47
modeless dialog Oops I accidentally crossed post to vc.ide.general when I meant to post here I'm trying to create a modeless dialog as the one and only AppWindow (with MFC Visual C ) My default app comes up with an OK and CANCEL button. I delete the buttons in the resource editor but is the dialog now modeless ? Or is there mo... 18 May 2008 10:10
VIRUS ALERT! (was CInternetSession::OpenURL and Seek, Read) ATTENTION! I googled for ["IE Inspector HTTP Analyzer"] and reached a site wich offered a trial version of the software. I can't recall which site though. During the installation I got at least 2-3 virus and/or trojan alerts using Avira AntVir. I probably hit a fake site and just wanted to tell you to be careful. I... 25 May 2008 08:40
CDao problems... I have an access database (standalone, single user Windows EXE). There are about 20 or so tables in the database and I'm setting up CDaoRecordSet classes to talk to the database - one recordset per table. All tables/recordsets work perfectly except 1. I have a table called "TEreportsettings", which simply fails... 16 May 2008 06:26
CMFCDesktopAlertWnd We are trying to use the CMFCDesktopAlertWnd class in our project, but we cannot find a way to update the message on the Alerts dialog when using the custom dialog. Please, if anybody has any idea on how to dynamically update the message displayed at runtime, it will be greatly appreciated. Thanks, jayMFC ... 19 May 2008 05:44
Scrollbar paint problem with XP theme - SDI When I use the app wizard in VS 2005 to create a simple SDI application (change view to be a CFormView), the scrollbars on the form view don't seem to paint properly. As you resize the main window, the scrollbars will flash and initially paint with the XP theme and then repaint with the classic view. Any idea... 16 May 2008 13:01
CInternetSession::OpenURL and Seek, Read Hello Does anyone know the details of what goes on behind the scenes when I open a URL with CInternetSession::OpenURL and then do a Seek( ) and a Read( ) on the returned file pointer? I'm guessing that the class just downloads and caches the entire URL and then seeks and reads into a local file on my hard d... 16 May 2008 08:17
CListCtrl ? I was wondering if there is an equivalent statement for the CListCtrl to select a particular? Something like SetCurSel(item number) in a CListBox? What I want is to highlight the insert item and have the list scroll down so that the current item that was inserted is always visible. As it is now the top of ... 15 May 2008 14:36
Create multiple dialogs at runtime Hi, I want to make it possible for the user to create an unlimited (perhaps up to ten in practice :-) ) number of dialog boxes/windows at runtime depending on what the user selects in the main gui. It is meant to be a lot of dialog modules each containing a specific set of adjustable parameters that affects the pr... 16 May 2008 18:31 |