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
V

Victor Nikol

@Victor Nikol
About
Posts
6
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Help with CSplitterWnd->CreateView method,trying to load a CDialog derived class
    V Victor Nikol

    Help with CSplitterWnd->CreateView method,trying to load a CDialog derived class When I sply a window in two, I use on the left frame a class derived from CImageView,and on the right frame a class derived from CFormView. No problem here. But if I change the right frame class to another one derived from CDialog,is not working.How can I solve this?

    C / C++ / MFC help question

  • Help->Communication between "frames" in a window.
    V Victor Nikol

    I have a VC++ MFC AppWizard exe project,and I have add these two classes to the project: class CRightView : public CFormView class CImageView : public CView In the Right View class I have a button. In the ImageView class I have nothing. I redefined the CMainFrame::OnCreateClient method,adding: m_wndSplitter.CreateStatic(this,1,2); m_wndSplitter.CreateView(0,0,RUNTIME_CLASS(CImageView),CSize(0,0),pContext); m_wndSplitter.CreateView(0,1,RUNTIME_CLASS(CRightView),CSize(0,0),pContext); Now I can't manage to "communicate" between both frames. I can see in the result window both frames,and the button in the RightView frame, but when I push that button,even a simple "void CRightView::OnOK() {AfxMessageBox("HI");}" is not working, and nothing shows up. What's wrong here? Thanks.

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

  • Problem with windows and frames.
    V Victor Nikol

    I need to have a window and a frame inside it.When you push the button,the program must read info from an array,and draw on the frame a black pixel or a white pixel,depending on the value of the current position of the array.That operation will continue until the frame is full with black and white pixels from the whole array. I don't know how to write the code for that image,and I've been looking lots of info about MFC,but is my first program with MFC.

    C / C++ / MFC c++ data-structures help tutorial

  • Problem:Need to show an image depending on the options selected.
    V Victor Nikol

    I have something like this: CDC* my_DC; my_DC = new CDC; my_DC -> CreateCompatibleDC(NULL); my_DC -> PatBlt(0,0,my_size,my_size,WHITENESS); for (int i = 0; i < my_size; ++i ) for (int j = 0; j < my_size; ++j ) if (result[i][j]) my_DC->SetPixel( i, j, RGB(0, 0, 0)); How can I make a Bitmap from that? Thanks!

    C / C++ / MFC question help

  • Problem:Need to show an image depending on the options selected.
    V Victor Nikol

    I want to open a window,that will have a text field,several "combo box" with some options,a "Ok" button, and another field where I want to show an image(initially empty). After selecting the desired options and pressing the "Ok" button,I want to show an image. The image shown will deppend on the options. Can you tell me please how can I do this? (*Clarification*: The image is not an image on the disk,but something that will be generated from the options selected)

    C / C++ / MFC question help

  • Help with to resize some frames
    V Victor Nikol

    I have a program writen on VC++,and it uses the VC++ graphic libraries,which I don't know.I've managed to understand somethings with the help od the MSDN pages,but there is one thing I can't: The program opens a fullscreen window,and inside it has three frames.I can't manage to edit the size of those three frames,and the top-left and the top-right ones are just a few inches,and the one at the bottom takes almost all the screen.So can you tell me what's the method or variable that controls this size? I'm working on an already writen program,that makes it more difficult...

    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