Questions tagged [MFC] (24)

0
answer

Why nothing is stored in the listBox?

Why nothing is stored in the listBox? In sprintf in the names of only the first letter is writtenINT_PTR CALLBACK JobDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) { static Worker workers[100]; //all working static HWND hListBox = GetDlgItem(hDlg,IDC_LIST1); StructEnd structEnd; UNREFERENCED_PARAMETER(l...
herman_Ernser asked March 31st 20 at 20:55
0
answer

As in the listview indent from icons?

Hi all. There is a listview with the report type with icons and checkboxes. I want the icon was not close to the text and the checkbox. Watch gugleniya did not help. Everywhere is about the padding of the icons for the type of iconview.
Aylin asked March 29th 20 at 19:46
2
answers

Is it possible to Embed a QT dialog in MFC CDialog?

Is it possible to Embed a QT dialog in MFC CDialog? No matter, inheritance, encapsulation, or something else. I know that a perversion, but there is no choice. The app supports modeless window in which you can insert your dialogs inherited from CDialog. Want napisti plugin for QT and use it not only with this app, but othe...
xavier.Nicol asked March 27th 20 at 12:16
0
answer

Dynamic creation of picture control?

Is it possible to dynamically create Picture controls the elements? That is not in the resource editor. I'm trying to make preview for each animation frame. And these frames to put in something like a List Control. To make such a slider. I'm not sure if this combination. Tell me, can this be done with List Control?
fausto.OConner48 asked March 23rd 20 at 20:44
0
answer

How to make application scaling to high dpi?

In my application in MFC trying to expand the dialog box to full screen, but it unfolds more than the entire screen. If on my laptop (win7) can still be set, on a high dpi monitor actually turns Orgy. Sorry, can't test on a high dpi monitor. so I want to know what I'm doing wrong. There is the following method for scaling, ...
janiya_Kessler asked March 23rd 20 at 19:57
1
answer

How to programmatically create an array CheckBox's on the form?

Hello. Can you please tell how to programmatically create an array CheckBox's on the form with the ability to obtain information whether a specific CheckBox is pressed? Google is not responsible, can looking for a not so...
hermina.Emard7 asked March 20th 20 at 10:37
1
answer

How to create a figure with a transparent background?

Good time of day) Tell me, please, how I can create a shape, say an ellipse with the frame, but inside fill should be transparent?
alysa_Hyatt asked March 19th 20 at 10:30
1
answer

How to set a redraw of the dialog when it is disabled [MFC C++]?

Create a dialog-based application window. When you transfer focus to another window, another application is not redrawn frame (window) dialogue a more pale color; but if the active window "wipe" part of the frame of the dialogue (or the whole), the updated areas of the window border becomes pale in color (as it should be f...
Dwight_Halvors asked March 17th 20 at 09:33
0
answer

How to save the result Gdiplus::Bitmap::ApplyEffect?

For a bitmap you can apply various effects using the Gdiplus::Bitmap::ApplyEffect. Such as blur, color correction and so on. But can impose only one effect, the next one overwrites the previous one. Ie the effect does not modify the bitmap, and applies at the time of imaging. It is impossible to apply a chain of effects and...
winston.Schroeder93 asked March 14th 20 at 16:37
1
answer

MFC in a "normal" Win32 DLL and DLLMain?

Someone versed in MFC, please tell me whether I understand the following two points: 1. In a normal Win32 DLL developer includes static linking of MFC and uses some MFC classes (for example, include "afxdlgs.h" and CFileDialog). The function DllMain is not defined. The result will be embedded in the DLL 's DllMain from the ...
orlo93 asked October 9th 19 at 20:19