Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

MemLeak

@MemLeak
About
Posts
83
Topics
56
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • OpenGL in a portion of a dialog box
    M MemLeak

    There is a lot of stuff in there to help you. http://pws.prserv.net/mfcogl/ Mykel Everything's beautiful if you look at it long enough...

    C / C++ / MFC c++ graphics game-dev question

  • AfxMessageBox()
    M MemLeak

    Hi, I would like to know if it's possible to change the title name of a AfxMessageBox or a MessageBox? thanks Mykel Everything's beautiful if you look at it long enough...

    C / C++ / MFC question

  • Serialization
    M MemLeak

    Hi! I'm trying to make serialization to work, I tried this: try { CFile file(_T("SerialTest.dat"), CFile::modeWrite | CFile::modeCreate); CArchive ar(&file, CArchive::store); int a = 3,b = 5; CString str(_T("Hello")); if( ar.IsStoring() ) { ar<ReportError(); e->Delete(); } The file is created, but is empty.. any ideas? thanks Mykel Everything's beautiful if you look at it long enough...

    C / C++ / MFC json question

  • Sending file
    M MemLeak

    Hi, I would like to be able to send a file (.doc) throught internet with a client/server App. I will probably use MFC & CSocket to code the App. Microsoft documentation tell us that we can send ordinary data (int, double, CString , serializable class etc..) using serialization into CSocket. But what if I want to send a file unstead of data. Is there a way to achieve this? thanks a lot Mykel Everything's beautiful if you look at it long enough...

    C / C++ / MFC c++ sysadmin json question

  • CSocket
    M MemLeak

    Hi, I would like to make a client/server App using C++ and visual studio.net that run on winXP. I know that I can use CAsyncSocket and CSocket to create such an App. But I would like to know if it's the best way to do it? Is there other utilities that I can use? Thanks for helping Myke:-D Everything's beautiful if you look at it long enough...

    C / C++ / MFC csharp c++ visual-studio sysadmin question

  • SetFocus??
    M MemLeak

    Hi, I have a Dialogbar with some edit control into it. I want to set the focus on the first one. The focus seem to work right because the caret appear in the first edit control but my text in the control is not selected. what am I doing wrong? I would like to have the text selected so that I could change my text into the control without having to delete it first. thanks for helping Mykel Everything's beautiful if you look at it long enough...

    C / C++ / MFC question

  • memory leak!
    M MemLeak

    Hi, When a program have a Memory leak, do I get back the memory after the app close? Or is the memory lost until windows restart? Thanks Everything's beautiful if you look at it long enough...

    C / C++ / MFC performance question

  • tolerance :o)
    M MemLeak

    Hi, I have a function bool equal(double val) { if(val == 0.0) return true; else return false; } if val = 0.0; function will return true if val = 0.0000000000000001; function will return false Is there a way to set a tolerance so that 0.0 == 0.000000000000001 -> true? Thanks Everything's beautiful if you look at it long enough...

    C / C++ / MFC question

  • new &amp; delete question
    M MemLeak

    Hi, If I have in my *.h: double** m_GLdouble; and in my *.cpp: m_GLdouble = new double*[m_Size * 12]; when it's time to delete, do I have to do? for(int i = 0 ; i < m_Size * 12 ; i++) { delete m_GLdouble[i]; } delete m_GLdouble; ->or<- delete [] m_GLdouble; m_GLdouble = NULL; Also is there a way to return a pointer such a way that the receiving function cannot modifie the returned object? Something like: Object* myClass::myReadFunction() { return m_Object; } void otherClass::otherfunction() { Object* pObj; pObj = m_myClassObj->myReadFunction(); //Is there a way to make pObj impossible to modify? } hope you understand Thanks Everything's beautiful if you look at it long enough...

    C / C++ / MFC question c++

  • blue screen
    M MemLeak

    Hi, You can use google.com to make a search with the information that you have onto your blue screen. Most of the time, you will find a web page that explain approximatively where the problem is. bye Everything's beautiful if you look at it long enough...

    C / C++ / MFC help question workspace

  • Very simple question :o)
    M MemLeak

    Hi, I have something like: Object* MyClass::MyFunction(int value) { Object* pObj = new Object(value); if(!pObj) return NULL; else return pObj; } do I have to delete pObj? and if I have to delete it, how can I do it? Do I need to call a delete everytime everywhere? Thanks Everything's beautiful if you look at it long enough...

    C / C++ / MFC question

  • how to use flash window
    M MemLeak

    There you go: http://www.codeproject.com/dialog/statusbarmsgwnd.asp?target=msn|messenger You can also have some tutorial on how to do this in C#. bye Everything's beautiful if you look at it long enough...

    C / C++ / MFC adobe help tutorial question

  • Animated cursor??
    M MemLeak

    Thanks, But is there a way to use such a cursor into a MFC App? For example, if a want to use that kind of cursor when it is over a button? Everything's beautiful if you look at it long enough...

    C / C++ / MFC c++ question

  • Animated cursor??
    M MemLeak

    Hi, I found a set of animated cursor on the web. It's cool. But how can we use them into a MFC Application? Thanks Everything's beautiful if you look at it long enough...

    C / C++ / MFC c++ question

  • how to add Mouse Buttons in C++.NET
    M MemLeak

    Hi, you will have a good tutorial here: http://www.codeguru.com/columns/Kate/KG061902.html Everything's beautiful if you look at it long enough...

    C / C++ / MFC question csharp c++ tutorial

  • Transparent Icons
    M MemLeak

    Hi, I use Visual Studio.NET so I don't really know how to open it in other developpement environment. Here for VS.NET... I assume that you already have opened a icon resource into the resource editor. If you select the icon, you are supposed to see your icon with a palette toolbox. If you don't see the toolbox, you can make it display by clicking "image" in the main menu and selecting "show color menu".The transparent color is represented by computer-shaped color box. hope that help. Everything's beautiful if you look at it long enough...

    C / C++ / MFC c++ help

  • problem with a second DIALOGBAR
    M MemLeak

    Hi, DDX_Control(pDX, IDC_MYSLIDER, myslider); into DoDataExchange(CDataExchange* pDX) ON_WM_HSCROLL() into the MessageMap bye Everything's beautiful if you look at it long enough...

    C / C++ / MFC help c++ question

  • problem with a second DIALOGBAR
    M MemLeak

    Hi, Because the dialogbar is a child, you have to catch the message from the slider control into the parent window. You have to catch the slider message with onHScroll() or onVScroll(). So into your parent window (probably the mainframe) you can put into your mainframe.h: CSliderCtrl myslider; and void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); into your mainframe.cpp DDX_Control(pDX, IDC_MYSLIDER, myslider); ON_WM_HSCROLL() and void mainframe::OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) { CSliderCtrl* slider = (CSliderCtrl*) pScrollBar; int position = slider->GetPos(); OnHScroll(nSBCode, nPos, pScrollBar); } so after having the position, you can put the value into the edit box. It's up to you from now bye Everything's beautiful if you look at it long enough...

    C / C++ / MFC help c++ question

  • Transparent Icons
    M MemLeak

    Hi, When using icons into resource editor, look for the "transparent color" into the palette. Everything's beautiful if you look at it long enough...

    C / C++ / MFC c++ help

  • Question for the strong
    M MemLeak

    Hi, For your question with opengl, you can find a lot of stuff out there (web) to help you. Also, you can have some example here on code project. If you want more specific examples of how to use opengl with mfc you can go here: http://pws.prserv.net/mfcogl/ hope it help you.:) Everything's beautiful if you look at it long enough...

    C / C++ / MFC tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups