mfc
Migrated MFC app from VC6 to VS2010, now OnInitDialog() not called for CPropertyPage subclass
I have been tasked with migrating our product\'s UI to VS2010. It is an MFC app, originally written in VC6. I have performed the following steps:[详细]
2023-03-31 20:39 分类:问答Cannot open modal dialog containing MS FlexGrid activex control
I am trying to open dialog containing MS FlexGrid ActiveX control using DoModal() from an ActiveX control project(OCX). I added member variable for the FlexGrid control and genera开发者_JS百科ted a wr[详细]
2023-03-31 20:38 分类:问答Modeless Child WPF Window to a native MFC MDI Application
I have an MFC MDI application and I am trying to add a new dialog to it. I want this dialog to be in WPF (a Window basically rather than a dialog). This window should be modeless and a child to the cu[详细]
2023-03-31 18:21 分类:问答What's the fundamental difference between MFC and ATL?
Assuming I am only using them for \"normal\" GUI programs (no COM, no ActiveX, nothing fancy), what is the fundamental difference I will see between ATL and MFC, to help me figure out which one to use[详细]
2023-03-31 16:48 分类:问答FindFirstFile causes "There is no disc in the drive" Error
FindFirstFile function is causing \"There is no disc in the drive. Please insert a disc into drive\" Error. The cause of this error is that there is no sd-card in the USB stick开发者_StackOverflow社区[详细]
2023-03-31 07:29 分类:问答How to access an MFC control from a worker thread?
What is the best way to access an MFC control from a worker thread? What is the MFC idiomatic way of accessing a control?[详细]
2023-03-31 05:01 分类:问答Nice looking MFC listbox
I am looking an extended MFC listbox able to开发者_StackOverflow中文版 manage - icon and text - nice selection (vista style)[详细]
2023-03-31 04:49 分类:问答Load image from binary in MFC
Usually I do the image-loading using LoadImage with path or L开发者_如何学PythonoadBitmap with resource ID. But now the target image resource is stored in database(SQLite). So how can I use the binary[详细]
2023-03-31 02:36 分类:问答FindWindow by class name not working?
To preface we have a strange requirement that all dialogs must be modeless for an MFC application. There is a particular dialog using region drawing and some custom controls to select dates and times[详细]
2023-03-30 21:35 分类:问答Handling WM_PAINT in a Subclassed CStatic Control
I created a custom control whose class has CStatic as base class. Currently I handle the drawing using WM_PAINT event. But there is a strange behavior. When I re-enable the window after disabling it u[详细]
2023-03-30 20:44 分类:问答