2000 organizations, including eBay, Ericsson, and Lockheed Martin, now work smarter with Corporate Accounts. Save over 36%!

 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Time Tested Windows MFC Solutions: 51 - 75 of 3296
 
Hello everyone!! I created a MFC Application based on Dialog forms. I put a Tab Control component from Toolbox, implemented an OnSize event so the tabcontrol fits the dialog when maximized ...
My MFC application software *.exe was developed in Visual 2005 MFC based applicaiton; it does not use ATL. It starts fine on system that has visual studio installed; On a target XP systems wit...
How do I change the graphics of the maximize and minimize icon?(the one on the top right hand corner)
Hello, i want to send a message to another window(program - which i know only it's name - i don't have it's hwnd) this is the code i wrote: SendMessage((long)HWND_BROADCAST,WM_LBUTTONDOW...
Dialog boxes Controls get the focus in a specific order when the user hits the TAB key. In VC++6 this order is decided through the interface (Dialog resource editor / Layout / Tab order - or ...
Suppose I create an object of a given structure like this: DataStructure dataObj; Suppose DataStructure is long and complex, and has lots of variables of different types. Since dataObj ...
Has anyone done a program that obtain images from webcam ? Or does anyone know how to do it ? i need to write a c++ application that can connect to a webcam and then show the images from the ...
I have 2 questions, but I'll ask the first in this one! I'm trying to export a dll function using the following syntax: char* __declspec( dllexport ) myfunc(); however when I compile ...
Hi, I created a static library from a c program and am trying to use it in another c program in MS VC++. Now I'm getting a whole bunch of link warnings and errors... Thanks for your h...
I've got a script which can do serial communication. Its very helpful. When i try to send data in two successive lines. only one gets excecuted(Since this is multithreaded) . I cant find ou...
This should be an easy question. I'm using C++6.0 and DirectX 7.0 with the SDK. I'm trying to do this: hRet = DirectDrawCreate(NULL, &pDD, NULL); and then compile. I get the followi...
Hi, I have an annoying error, a simple one I think, but I can't find it on EE. I just can't compile and it says this: ------ Build started: Project: Calc_Marco, Configuration: Debug Win32 -...
  My application is written in C++. I need to open an browser window with specified size. Now I generate one local html file with javascript that redirect to the domain I want (news page) an...
Can i donvert "double" to "CString" ???
Is there a way to get an integer into a CString? Is there a way to that in MFC? I'd use _itoa, but it expects a char * and I get this error: error C2664: '_itoa' : cannot convert parameter 2 ...
MultiByteToWideChar() Function behave differently when code page is changed from CP_ACP to CP_UTF8 the input string is Grüezi zäme to be converted into widechar work fine when use CP_ACP...
I have some forms in web pages.  Example 1. User goes to my site 2. User enters data into the form on my web page 3. User press submit button, which turns runs a perl script etc. 4. Results co...
Hi Experts, How can I fix this ?  I'm using Visual Studio 2008 C++ with MFC..... Thank you! Mike
Hi I want to find the path of Recycle Bin Folder and original path of files and folders that are in recycle bin. or complete path of files and folders with recycle bin. Please reply ...
Here is what I do in the OnSize function of my dialog: void CNewwindDlg::OnSize(UINT nType, int cx, int cy) {      CRect rect;      int nx, ny;      GetWindowRect(&rect);      nx = (cx>=220)?cx:220;      ny = ...
I have two CEdit controls on a dialog, I have assigned CEdit variables to each.  They are used to enter a user id and password so they are only single line edit controls.  I just want to get t...
Can I use SendDlgItemMessage()? I see there is a CButton::SetCheck() method - but I don't see how to reference the button object created by the Resource editor. How can I ue SetCheck?
Hi Experts, First of all, what exactly does a clean up do?  (does it remove all the automatically added files in your working copy?) And the real question - why is the clean up failing, ...
Hi, I'm having a MFC Dialog application that has an edit control (CEdit). This control can accept a maximum of 250 characters. This control is multiline and can accept a maximum of 40 chara...
I am doing a poject in Win32 App that uses CListCtrl class.I want to know how to handle the double click event on items and know which item the user clicked on. Also when the user double click...