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

maxsteel

@maxsteel
About
Posts
11
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • SetBkColor does not seem to work in OnInitDialog
    M maxsteel

    even if i use setbkcolor in WM_PAINT is does not do anything.

    C / C++ / MFC help question

  • SetBkColor does not seem to work in OnInitDialog
    M maxsteel

    using WM_CTLCOLOR causes problems in other parts of my code. is there any other solution?

    C / C++ / MFC help question

  • SetBkColor does not seem to work in OnInitDialog
    M maxsteel

    hi, i have a dialog box with a static control. the problem is that when i try to use setbkcolor for the static control in oninitdialog of the dialog box, it does not produce any results. i have tried to use GetDC() for the static control to get the DC. and then tried to set the background color of the static control. can any one give me a solution? regards, kevin

    C / C++ / MFC help question

  • determine if contents of dialog are changed
    M maxsteel

    hi, how do i determine if the contents of the dialog are changed from the initial values. i have edit boxes, check boxes, etc. after initialization of the dialog with the default values, how do i determine if the contents of the dialog are changed?

    C / C++ / MFC question

  • C++ class design question - static member
    M maxsteel

    hi indrawati, in your case, the important thing is that what do your variables do. if there are required to be common for all the objects of the particular class, ie they share the same values, then u will have to use them as static. if this is the case then there should be no problem in the design

    C / C++ / MFC question c++ design

  • problem in movement of the group control
    M maxsteel

    hi, i have a group control on a dialog box. this group control has two edit boxes. i have written code to resize the dialog box and all the controls along with it. the problem is that when i move the group control, the controls within it move twice, once with the group control and the next time individually. this is causing the movement of the edit boxes to be seen twice causing some kind of flickering? also can u tell me how i can move all the controls within the dialog box simultaneously. right now i move each of the controls along with the resizing of the dialog box but there is some time lag in the movement of each of the controls. can any one tell me a solution?:confused:

    C / C++ / MFC help question

  • clistctrl variable row height
    M maxsteel

    hi all, i have a CListCtrl on a dialog box. i want to have the rows of the CListCtrl with variable height which is determined dynamically during program execution. i have used MeasureItem which is called only once to set the row height. also i have used DrawItem to draw the elements in the CListCtrl rows. also the CListCtrl used has three columns. how can i get columns in the CListBox:confused:

    C / C++ / MFC question

  • placing the device independent bitmap into the clipboard
    M maxsteel

    can someone please tell me how i can place a device independent bitmap into the clipboard without converting it to a device dependent bitmap?

    C / C++ / MFC graphics question

  • setting the font of the view in the doc/ view architecture
    M maxsteel

    hi, i tried to do as u told but the font does not change. CFont Font; CFont* pOldFont; LOGFONT lgFont; CTextFormatterDoc* pDoc = GetDocument(); ASSERT_VALID(pDoc); lgFont.lfHeight = -19; lgFont.lfWidth = 0; lgFont.lfWeight = FW_BOLD; lgFont.lfItalic = TRUE; lgFont.lfStrikeOut = TRUE; lgFont.lfUnderline = TRUE; lgFont.lfCharSet = ANSI_CHARSET; lgFont.lfOutPrecision = OUT_CHARACTER_PRECIS; lgFont.lfQuality = DEFAULT_QUALITY; strcpy(lgFont.lfFaceName, ""); Font.CreateFontIndirect(&lgFont); pOldFont = pDC->SelectObject(&Font); pDC->TextOut(0, 0, pDoc->GetText()); pDC->SelectObject(pOldFont); Font.DeleteObject();

    C / C++ / MFC architecture tutorial question

  • setting the font of the view in the doc/ view architecture
    M maxsteel

    thank you for ur help

    C / C++ / MFC architecture tutorial question

  • setting the font of the view in the doc/ view architecture
    M maxsteel

    i have a program done using the doc/view architecture. i want to change the font of whatever text i display in the view but am unable to figure out how to do so and in which member function of CView such as OnDraw, OnUpdate, etc?:confused:

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