Hello,
Feel a little silly for asking this, but...
I'm starting out with Visual C++ 2002 with a basic "Hello World" program which reads as such:
#include <iostream>
using namespace...
Hi,
is there any way to get/set millisecond values in COleDateTime?
From MSDN: "... COleDateTime objects are floating point values, with an approximate resolution of 1 millisecond."
So...
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.
Hello,
I'm writing an multi-byte encoded MFC application that reads and writes data to and from a UTF-8 encoded database. Everything works fine until I enter a non- ASCII character - when t...
I want to minimize an MFC dialog at some point of my program and I want it to stay minimized at all times until the end of the program. The dialog can't be visible except on the taskbar. Whe...
Hi there,
I have recently inherited a Visual C++ program using MFC and CThread/CMutex. The program compiled successfully and the compilers says "More than one global threading model defined...
hi trere,
I have List Control on dialog with styles:
View: List
ExtStyle: LVS_EX_CHECKBOXES
a have assigned variable CListCtrl m_MyList to this control. Now I need to be notified when ...
ca someone please post a code example of creating a CDC, writing stuff to it like .TextOut and then extracting all the data from that dc to save it as a bmp image ?
thanks in advance.
Hi everyone,
I added brief source code I'm using.
Most of case, it works well.
But sometimes, it hangs right before "AfxBeginThread".
Please see TRACE("here").
CWorkSocket is for TCP/IP, ...
How can I run a exe through code. I have tried with CreateProcess API.
Could you tell me the what wrong I have done ?
PROCESS_INFORMATION l_ProcessInfo;
STARTUPINFO l_StartupInfo;
Z...
i made an MFC dialog based application,and want to draw a circle on it, when pressing a key (i would nt implement the painting function in WM_PAINT handler)
Help plz:)
thank you
Hello experts,
This is basically what I have:
class MainFrame : public CDialog {
//...
};
MainFrame::MainFrame() {
CDialog::Create(IDD_MY_DLG);
//...
}
I want to create...
VC++ 4.0, WIN95:
Using AfxMessageBox for User-Info.
How can I close the Box after a certain time period without user confirmation and without suspending the application while the Box is displ...
I have CDialog Class . I add scroll bar ot it. I am scrolling, the graphics be become vanished. I want to draw the graphics aslo. could you please help me.
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...
How i can change background color of a Tab Control (CtabCtrl)?
I need to change backgrounds of the all tabs including non-client area, but not only text color as explained in MSDN article ...
I have a stereo image processing application using direct x and direct show. Nothing wrong in that framework. I am trying to incorporate an MLP neural network into the application. The neural ...
Hi, i have a socket binded to a local address. I need to unbind that addressand bind another one to the socket... is there anyway for me to do it?
I want to create an IsNumeric(CString) function. I have some code that seems to work, but since I am new to c++ I want to make sure it is the best way to do this.
BOOL myClass::isNumeric(CS...
How do I change the graphics of the maximize and minimize icon?(the one on the top right hand corner)
Please first review this old question of mine:
http://www.experts-exchange.com/Programming/Programming_Languages/MFC/Q_21422149.html
I am having the same problem again, only the accepted...
I have a MFC Dialog based application as exe.
The program is iconized on the desktop, on clicking the program runs as it should.
I now need a way to get the name of 1 or more textfiles whi...
I use CreateProcess to execute tracert from cmd.exe. Once it is created, I would like to terminate it if is is still running when the application exits. Since ExitProcess() doesn't take a proc...
I am using CHttpConnection's OpenRequest method to connect to iis server. I am using POST method to send the data. But can anyone explain me how to send the data to the server. I used CHttpFil...
I have an CEdit on a dlg app.
Initially, it is read only, and no border.
when it gets focus, I do
m_ctrlEdit.ModifyStyle(ES_READONLY, WS_BORDER);
this returns 1, but nothing happens.
I tr...