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 ...
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...
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...
Hi if anybody can help me on this
i need my DLLMain should work like a Winmain().
i need all the controll in the DLL . if any aplication loads the DLL , the DLL shoul self sufficinet to crea...
Hi All,
I am looking for a fast data structure in c++. I am currently storing data in a vector<CString> however any time I need to find a value I must traverse the entire vector until I fi...
Hello,
Here is my first post, so I made an application using HBITMAP with the LoadImage method () on a bmp file. But this time I would load an image, not from a file (code below) but using d...
I have a code similiar to the one mentioned below.
the 2nd parameter to mbstowcs() function is const short*. Here getstring() returned cstring objects[ temparary object] reference has been...
Hello everyone...
I read somewhere in the MSDN using a GroupBox it could be a container for controls so I tried to create one and to put inside some controls like Edit Control, Radio Button...
The application have one menu bar with menus like File, Edit etc.
It looks like this
File Edit
New
Open >
Open New
Open Old
So "Open" is a popup menu and it has one ...
Hello experts,
I have an 8 bit CImage, when I save it into a bitmap or png and check the properties it is an 8 bit bitmap but when I save it as a jpeg it is still 24 bit. Following is code...
Hi,
Trying to use SHELLEXECUTEINFO struct and ShellExecuteEx function to launch a process, I want to kill it after when some conditions is ok. This process pings an ip address and I want ...
I have inherited an application that under repeatable circumstances the program will not close completely when closing with the "red X". All windows close, but the application is still runnin...
I have used CImage class to create a 8-bits mask object. Now I am going to draw lines on this mask using a method called "DrawTrack (int xStart, int yStart, int xEnd, int yEnd)". My problem is...
Hallo everyone :)
I have implemented the Report list control & Combobox control according to the below article
http://www.codeproject.com/KB/combobox/CustomizedReportListCtrl.aspx
After...
I have a "Picture Control in my dialog, named ID is IDC_MYPICS. i want the User to be able to select their perferred Bitmaps and I will save that selection's address (Ex: c:\My Pics") into th...
Hi,
we have UTF-8 string stored in char * variable and we would like to convert it to CString using windows encoding. Are there any C++/MFC functions we can use? Thank you for your replies!
I am trying to move a date-time control in a Visual C++ 2005 system. When I use MoveWindow it displays perfectly, but will not drop down the calendar.
This code
GetDlgItem(IDC_COMPDA...
Hi, I have an MFC Doc/View MDI interface that currently uses the built in print and print preview mechanism to print my multi page reports. What I am currently looking to do is, create and co...
Hi experts,
I'm doing a lot of C++ programming under Visual C++ (Visual Studio 2008 Pro) in DOS-style Win32 console mode. It's especially about processing huge amounts of data, so I haven't c...
Hello,
I ask this question on Oct 15.... I need more help.
I use the code form this link:
http://www.codeguru.com/cpp/controls/combobox/multicolumncombos/article.php/c1819/
This was the ...
Hello,
is there an easy way to add a column to a combobox?
Please help.
500 points.
Best regards,
Thomas
I am doing an application using MFC. One of the application window have a CTabCtrl control. According to the resource I got from web, I create a Dialog with None Border, and show it in the CTa...
Hi Experts,
What am I doing wrong? I included windows.h and can't compile the CreateEvent call!
m_hGo = CreateEvent(NULL, FALSE, FALSE, "");
Thanks,
Mike
I have a question on this. I have a main_UI dialog box, whose InitDialog() spawns a thread which calls an other dialog box (login dialog box). The login dialog box calls the DoModal(), however...
I use satellite DLL for localization purposes in my application. And loading the dll with AfxSetResourceHandle. This works fine for all of my dialogs that doesn't use a custom control.
For ...