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
C

CodeMak

@CodeMak
About
Posts
33
Topics
12
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to suspend and resume a process??
    C CodeMak

    I have created a process using CreateProcess API. i want to suspend/resume the process. Thanx n advance.

    C / C++ / MFC json tutorial question career

  • 'OpenThread' : undeclared identifier
    C CodeMak

    stdafx.h #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #define _WIN32_WINNT 0x500 ----- "added" #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers #include // MFC core and standard components #include // MFC extensions #include // MFC Automation classes #include // MFC support for Internet Explorer 4 Common Controls #ifndef _AFX_NO_AFXCMN_SUPPORT #include // MFC support for Windows Common Controls #endif // _AFX_NO_AFXCMN_SUPPORT still its undeclared.. HELP!!! Thanx n advance

    C / C++ / MFC c++ asp-net testing tools help

  • Video streaming
    C CodeMak

    to play streaming video....

    C / C++ / MFC com sysadmin tutorial

  • Video streaming
    C CodeMak

    HI Please guide me in streaming video over network using WMP activeX control. Thanx in advance.

    C / C++ / MFC com sysadmin tutorial

  • MDI without Doc/view
    C CodeMak

    Thanks man.. This will solve my problem. Cheers....

    C / C++ / MFC tutorial

  • MDI without Doc/view
    C CodeMak

    ya i too have those class n function available.. plz help me in detail... NOTE: I am creating child window using CreateNewChild.. how can i make use of cs.lpCreateParams.

    C / C++ / MFC tutorial

  • MDI without Doc/view
    C CodeMak

    ya i too have those class n functions available... plz help me in detail...

    C / C++ / MFC tutorial

  • MDI without Doc/view
    C CodeMak

    HI i want to use different captions for each MDI child window i create. i am creating it using CreateNewChild function. also how to assign some values for each child i create so that i can iterate over them or identify them using that value. Thanx'n'advance

    C / C++ / MFC tutorial

  • Help
    C CodeMak

    Thanks for replyin.. i have tried it ... but when i move my MDI frame it doesn't move along with it.. it gets out of MDI frame area... i want it inside the frame..

    C / C++ / MFC tutorial help

  • Help
    C CodeMak

    how to create a window which will reside inside MDI frame other than views.. for example: can i create a dialog inside MDI Frame window , which will reside in it.PLz help

    C / C++ / MFC tutorial help

  • LIB File
    C CodeMak

    where to add library file in VS 2005 IDE.... Plz reply.. Thanx'n'Advance

    C / C++ / MFC visual-studio

  • Will WM_SIZE repaint whole client area????
    C CodeMak

    ya exactly thats what i want , everything should be new... this is what happening . I display a rect(i ll name it "rectA") at center of dialog. . when i maximize the dialog. i get two rectangle's. One is my previous one (ie "rectA") at the top left and the other one is at the center. . what i expect is only one rectangle at center. i dont want "rectA" to be displayed again when i maximize because everything should be cleared.

    C / C++ / MFC question

  • Will WM_SIZE repaint whole client area????
    C CodeMak

    Actually i am just trying out some Device context functions. i just want to place a rectangle somewhere middle. anyways thanx for placing it exactly. But stil i didnt get whats happening. I feel that a call is made to OnPaint after OnSize thats why its painting whole client area. According to me after i paint my whole client area i should not see any previous content. But here its not happening like that.?? Can anyone clear my doubt??

    C / C++ / MFC question

  • Will WM_SIZE repaint whole client area????
    C CodeMak

    ya i have done it. its working fine. thank u but what my doubt is if its not calling OnPaint then how whole client area is filled (ie dc.FillRect(&rect,new CBrush(RGB(255,0,255))??? and thanx for FillSolidRect.

    C / C++ / MFC question

  • Will WM_SIZE repaint whole client area????
    C CodeMak

    ok :) I want to display a rectangle at the middle of dialog box. for that i . first fills my whole client area with a particular color . then i draw a rectangle at the middle of ma client area. . Now when i maximize my window i get two rectangle's. one at top left and other at middle. . so i just want to know why am i gettin the top left rectangle when i maximize. Hope u got it... may be i am wrong , if wrong please help me... Thanx'n'advance

    C / C++ / MFC question

  • Will WM_SIZE repaint whole client area????
    C CodeMak

    this is what i do.....in paint CRect rect(10,10,200,200); this->GetClientRect(&rect); CPaintDC dc(this); dc.FillRect(&rect,new CBrush(RGB(255,0,255))); dc.Rectangle(rect.Width()/2,rect.Height()/2,100,100); i dnt process WM_SIZE or WM_ERASEBKGND ya thats what i expect.....:)

    C / C++ / MFC question

  • Will WM_SIZE repaint whole client area????
    C CodeMak

    Thank u all for replyin this is what i do.....in paint CRect rect(10,10,200,200); this->GetClientRect(&rect); CPaintDC dc(this); dc.FillRect(&rect,new CBrush(RGB(255,0,255))); dc.Rectangle(rect.Width()/2,rect.Height()/2,100,100); i dnt process WM_SIZE or WM_ERASEBKGND if WM_SIZE repaints whole client area, why is it not filling the rect coz of which the previous content is displayed... am i correct?? Thanx'n'advnance

    C / C++ / MFC question

  • Will WM_SIZE repaint whole client area????
    C CodeMak

    Thank u. I am sorry for mentioning it as window. its a dialog box , and i found that its calling paint immediately after WM_SIZE as its painting the client area, but the previous content remains at that position. Once i min/max or send a wm_paint to dialog box the previous content gets disappeared Thanx'n'Advance:)

    C / C++ / MFC question

  • Will WM_SIZE repaint whole client area????
    C CodeMak

    HI Why is my window displaying the previous content after i resize it and draw it completely ????. Thanx'n'Advance.:)

    C / C++ / MFC question

  • Change button name of FIle dialog
    C CodeMak

    Can anyone tell me how to change the caption of the button in a file dialog to a cutomized one..... thanx'n'advance

    C / C++ / MFC tutorial
  • Login

  • Don't have an account? Register

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