44 Topics
|
|
Can anyone please give me a guideline on how to code the following? I have an MFC application which should call on a timer basis a python script from command line and read the ouput of that command line. I thought of using CreateProcess, but i have no clue of … |
|
I want to make a Application using MFC Visual Studio 2008 to make the dialog transparent besides the controls. I have uploaded the pic of a sample app (just made it for fun) [My Prog.jpg] (1st pic) Second pic is the kind of App I want (I used Photoshop to … |
|
Hi all I am trying to create ClistCtrl with check boxes and different columns in it. BUT [CODE] ListCtrl m_listBox; int i; CString strTemp; m_listBox.Create(WS_CHILD|WS_VISIBLE|LBS_STANDARD|WS_HSCROLL, CRect(10,10,200,200),this, 111); m_listBox.InsertColumn(0, _T("Column 1") , LVCFMT_LEFT, 50, 0); m_listBox.InsertColumn(1, _T("Column 2") , LVCFMT_CENTER, 100, 1); m_listBox.InsertColumn(2, _T("Column 3") , LVCFMT_RIGHT, 100, 2); m_listBox.SetExtendedStyle(m_listBox.GetExtendedStyle()|LVS_EX_CHECKBOXES | … |
|
Hello again! Another noobish question :) Can PHP be ran in MFC? Can i add it right in teh html file or convert it over to php? or do i include it in html? do i create a box in c++ tat connects to the php page? or do i … |
|
Hello! I'm a beginner in the worl of C++. I'm building a program that acts as a launcher for a game. In it I have Start and Exit button. What I want the Start button to do is start an .exe with extra conditions: IP and Port. [CODE] if (nResponse … |
|
[CODE]void CScreenCoordDlg::OnMouseMove(UINT nFlags, CPoint p) { GetCursorPos(&p); m_ValX = p.x; m_ValY = p.y; UpdateData(FALSE); }[/CODE] I used the following code to get the mouse coordinates on mouse move. But the problem is as soon as the mouse moves out of the dialog window it stops updating the mouse coordinates. Although … |
|
Hi guys, I like to design a workplace or form(not decided) in VC++ (MFC) or (C++) where I can select and place different objects like car , bike etc and move them programmatically.Each object has its own properties(which is already designed) I have no problem in moving them by changing … |
|
I wanted to know that when I create a MFC Multiple Document (Application Type) can I use it to make an Application which I can use as a text editor. (Note : I have installed a VC2008 Feature Pack and want to create the Application Office Style) Actually my purpose … |
|
Hello guys, this is my first post, so don't be harsh if I do something stupid. Well, the reason why I'm posting here is because I need to find a method to alter the stream itself, not just the buffer I send to a variable with "file.Read(". For example, lets … |
|
I am Creating a MFC Application to Read a Text file into a Edit Box. I am implementing the following code [CODE] FILE *m_pFile ; CString m_strLine , m_strText; char line [1000] = "" ; m_pFile = fopen ( "C:\\SELF.txt" , "r" ) ; if ( m_pFile != NULL ) … |
|
hi there, im using mfc when i close my dialog box i want to disable mouse move events, so any idea how to do that? i want to do that because i have problems, mouse move event happen before closing dialog box and i dont want that. have no idea … |
|
Hello. I'm writing codeing progam. It reads from file using fstream and then converts simbols to ascii, changes ascii, converts ascii to symbols and writes them to file. I tried to code .txt file with it. It worked perfect. But then i tried to convert .bmp file and then i … |
|
I just started working on a small tool to search for (heavy) text files using Visual C++ with MFC. Because there are a lot of readings, I'm wondering if ifstream of the standard library is better than CFile of MFC? I don't need portability (the program is for Windows Environment), … |
|
How to add a custom button in Non Client Area of Dialog near Minimize and Maximize button. |
The End.