Category : dialog

I’ve gotten errors like this before using windows.h in dev c++, I’m going off of Microsoft’s official Win32 thing (https://docs.microsoft.com/en-us/windows/win32/) and specifically the open dialog box segment (https://docs.microsoft.com/en-us/windows/win32/learnwin32/example–the-open-dialog-box) however issues like this have occurred before on earlier modules that I’ve been able to fix (or at least bypass) to some extent. When I run this ..

Read more

I have an engine which opens the typical windows file dialogue when the user wants to do certain interactions like, for instance, loading a texture in a material from a texture file. This file dialogue works perfectly with non-fullscreen windows, but when I have a fullscreen window, this file dialogue doesn’t appears, meaning that it ..

Read more

I’ve been learning WinAPI for some time now and I know quite a lot already, but for a long time now I’ve been stuck on DialogBoxes. I read that they are the easiest to do using .rc files, but I don’t know how to make them like that too. Can someone please make/share a step-by-step ..

Read more

I have a custom QDialog with a ‘Save’ button which is supposed to prompt the user with a QFileDialog and save the contents of a Table Widget to a file, but keep the dialog open. This is the function that opens the dialog and saves the data: bool ResultsDialog::saveData() { QString outfile = QFileDialog::getSaveFileName(this, tr("Save ..

Read more

I’d like to change the font of a few dialogs. The fonts of these dialogs are not to be changed using the ressource editor they are to be changed at runtime. The dialogs in question are all based on ATL/WTL and they’re declared pretty much like the following example: class CDiscardErrorDlg : public CDialogImpl<CDiscardErrorDlg>, public ..

Read more