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, I'm using "programmer studio" and visual studio 6 . For the configuration of "programmer studio" I have to give the command line for building and compiling a project with the vc6-compiler....
Hiya
I only have one watch window in my Visual Studio 2008. How can I open more Watch windows?
John
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...
I would like to have a good example (complete code) of the use of CArray, used to create a dynamic array:
How to declare it.
How to initialize it.
How to put new elements in it.
How to a...
I want to add a multiline text into a subitem of my listview. The lines separated by "\r\n".
Is it possible?
Experts,
In my MFC project i have one dialog window, combobox and command button. The combobox contains 50 items.
My problem is how to set the dropdown height/items of the combobox. In V...
Hi,
How to change the pixel color for a bitmap ....... i mean i want to change all white pixels into Gray Pixel in bitmap.
Thanks in Advance.
How do I create a tabbed dialog in MFC that has the look and feel of the ones you find in Windows 95?
I have posted messages for this question and have never really gotten an answer, most boo...
Tools/platform: Visual Studio 2005, VC++ 8.0, Windows XP.
Build: Multithreaded DLL release libs. (/MD)
In release build (never in debug build) our program occasionally crash on exit. It se...
URGENT!
I have created checkboxes in CListCtrl using LVS_EX_CHECKBOXES style. How to disable the checkboxes so that the user cannot select them? I need a FULL answer with code sample.
I have a CStatic , CButton on a Dialog box. I click the CButton to call a CColorDlg choose the color and set the background color of CStatic. But, even ReDrawWindow(), UpdateWindow() is no u...
plz give best algo for Serial Number Generator in vc++
Hello experts,
This is basically what I have:
class MainFrame : public CDialog {
//...
};
MainFrame::MainFrame() {
CDialog::Create(IDD_MY_DLG);
//...
}
I want to create...
I would like to change the font, color, and size of the text displayed in a CEdit control. I'm using VC++ 6.0. Some sample code would be greatly appreciated.
Thanks,
Torsten
how can I get the HDC from a CDC object. I know it is storing in
m_hDC, but how to get the HDC. help please. Thanks
Hi Experts,
Does anyone know how to build boost for VS 2008?
Many thanks,
Mike
Hi,
S: <waits for connection on TCP port 25>
C: <opens connection>
S: 220 mail.imc.org SMTP service ready
C: EHLO mail.ietf.org
S: 250-mail.imc.org offers a warm hug of wel...
I need to get the ARGV equivilent in my MFC app. It is a dialog app. I want to be able to open a file passed via the command line when the app opens.
How do I get the command line argumen...
Hi Experts,
I would like to redirect the output of a command line program to a file using hStdOutput.
However, while the program happily displays its output in its dos window, the file is no...
How can I disable an EDITTEXT control in an MFC project so that it cannot be edited? I have used this line of code:
SendDlgItemMessage(IDC_BTNNAME, WM_ENABLE, false); // disable edit co...
Hi All,
Can anybody explain me why any of SendMessage or PostMessage functions are not working on Button??
Do I made any mistake??
if( YesWnd != 0)
{
h = YesWnd;
//S...
I'm an STL newbie, and I'm tring to write a simple program to cout a class that has an std::string in it
Here's a program that works but that doesn't use stl:
// *** compile with cl -GX ...
Hi!
I've an application that runs very well in W2K (not tested in prior versions) but when I try tu run it in WXP it just crash. I don't get any error, just crash. When debugging, I get th...
I have a dialog with 2 buttons (plus many other controls), each with a CButton bound to it (m_btnOK and m_btnAND).
Depending on what the user has done so far, I want to change the default but...