On Dialog based application, if you create a new dialog(tool window), and you press alt-tab, you can see the main dialog, and the tool window is missing( that is ok, is what a tool window is made to d
How do I specify the .DLL search path for an MFC .EXE?It would need to be a relative path, not absolute. 开发者_C百科 Is this what the Manifest File is for?Have a look at SetDllDirectory().THERE IS NO
I want to create a thread after the creation of a dialog box in MFC. Is there any function that Windows has provid开发者_如何学Ced and is automatically called after OnInitDialog so that I can create m
We have a test case that crashes our big MFC-based app with a heap corruption error. I turned on the page heap using App Verifier for the DLL in question (turning the heap on for the entire process i
I\'m creating a DIB Section in MFC using the call CreateDIBSection. I get a HBITMAP from the call which I pass onto another dialog in my MFC Project. In the other dialog I\'m using CStatic::SetBitmap(
I have an application with tray icon. There is a hidden main window (CMainFrm), which is used to process tray icon messages. The tray icon has a context menu: Settings, Help, Exit commands.
From the CString interface, clearly one should not assume that a CString is null-terminated. However, it seems that sometimes there is, in fact, a null character at the end of the string.
I have a need to use CTime in my code. I tried to add the header file \"atltime.开发者_运维百科h\" to this code. But now, I am getting so many errors in compiling. Every error is coming from the heade
I have to make a windows based application for which captures network traffic per application where some of running application uses same port number for sending and receiving the packets.
I know that using isDialogMessage() function we can able to switch the focus from one control to another.