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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
T

TuPacMansur

@TuPacMansur
About
Posts
5
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • CView: Change background color
    T TuPacMansur

    The following code is one of the ways... You would have to read the GDI to understand by SetBkColor won't work (you have to define a context first b4 u use it) void CChildView::OnPaint() { CPaintDC dc(this); // device context for painting CRect rect; GetClientRect(&rect); //Obtain the height/width of the window CBrush brush = CBrush (RGB (0, 0, 255)); //Create a blue color brush CBrush *pOldBrush = dc.SelectObject(&brush); dc.Rectangle(0, 0, rect.Width(), rect.Height()); //Fill the client area with the blue rect dc.SelectObject(pOldBrush); //restore old brush } (http://www.dvrshark.com)

    Umer Mansoor

    C / C++ / MFC tutorial question

  • Running another application within a window
    T TuPacMansur

    didn't work!!! i want to show it, not hide it, but INSIDE my APP Umer Mansoor

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

  • Running another application within a window
    T TuPacMansur

    I know converting Win32-app to ActiveX looks like a good idea. I'm here to explore other options. Umer Mansoor

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

  • Running another application within a window
    T TuPacMansur

    Nave, Thanks for replying. Let me clarify: We've a Win32 application with source code. I want to create a new MFC application. Now I want to run Win32-app in way that it only appears in my MFC application (not on taskbar, not on desktop) but *inside* my MFC application. [That is the MFC-app becomes the parent of the Win32-app] This will allow me to keep the Win32-app intact, while the outer-frame will be in MFC, which offcourse, I'll customize way more easily than Win32. ShellExecute() I think won't help as it still create a new instance on the desktop. I can still pass the handle to my MFC application but that will only relay messages to my MFC app. Umer Mansoor

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

  • Running another application within a window
    T TuPacMansur

    Hello Guys, I've an old Win32 application, which is written in C. The problem is that for some reason, we need to convert it to MFC. I'd prefer is a separate application that can swallow and show instances of Win32-App and provide the interface. Is it possible? I'd love to know. Umer Mansoor

    C / C++ / MFC c++ help 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