My application has a start dialog with an image which fills the whole dialog. Additionaly there is a CStatic control, which displays some variable information for the user. I made the CStatic control
I have a question about MFC. We have an API: Graphics::Fillpath(IN const Brush * brush, IN const GraphicsPath *path)
Note: Needed to edit the title and question, as initially I thought the problem is with ::CreateFile[W] - but it turns out, the error only happens on XP when I use MFC\'s Cfile class.
I need to get an IP address from a sender after he sent something to me. I\'m using UDP socket, so the IP address of the sender will be automatically registered into sin_addr structure since I\'m usin
I have a long running task and a Dialog which informs the User that this task is running. When the task has finished, the Dialog informs the User about it.
I have开发者_开发知识库 a string saved as LPWSTR. I have to make a change in this string (reduce some characters) and save it as LPCWSTR.
When an MFC application starts, is it possible to check for the Visual C++ runtime before the \"application开发者_如何学编程 configuration\" error is displayed?
I am unable to figure out how to properly use the EM_SETHANDLE mechanism to set the text for an edit control. Get and Set window text will be too slow for my application.
The current way that I found was to make a bitmap and paint it into a picturebox, but there it is very slow when trying to scroll the panel (t开发者_JS百科he picturebox is inside a scrollable panel).
I am trying to split the Child Window of an MFC MDI progarm that I am working on but am having some problems. I know I have to use the CSplitterWnd class and have been trying to follow the instruction