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
S

SVPG

@SVPG
About
Posts
14
Topics
11
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Sorting List View
    S SVPG

    This link should help http://www.codeproject.com/buglist/listcontrolsortitemsbug.asp

    C / C++ / MFC algorithms

  • line numbers in an editor application
    S SVPG

    I have an application developed using CRichEditCtrl, how can line numbers be added into such an application. The cursor should not actually come to the part where the line numbers are displayed.

    C / C++ / MFC

  • Dialog with different controls created at runtime
    S SVPG

    I have an editor applications which should bring up a window or dialog with the list of keywords. Based on the selected keyword the window should show the appropriate controls in the window. Filling up input into these controls and clicking insert the keyword should get inserted into the editor. PLease someone help with some ideas on this.

    C / C++ / MFC help

  • Text Editors developed in VC++
    S SVPG

    Does anyone have any sample applications developed in VC++ for a standard text editor with features like syntax highlighting, other editing options like Search - Find/Replace/Goto, Editing options - Cut/copy paste, SelectALL/clear etc. Also what are teh general features one would provide in a standard text editor.

    C / C++ / MFC c++ lounge

  • Preview with a readonly edit control on a propertysheet or a tabbed dialog
    S SVPG

    something like teh font dialog in word 2000

    C / C++ / MFC question

  • Preview with a readonly edit control on a propertysheet or a tabbed dialog
    S SVPG

    I need to have some sort of a property sheet whose pages will create some sort of a text file, Now I need to provide a preview of this text getting changed in a window ideally a readonly edit field. How can I achieve this with CPropertySheet or is there any other way

    C / C++ / MFC question

  • tooltips in CTreeCtrl to show some other info rather than the node name
    S SVPG

    How can I get the tooltips for CTreeCtrl to dsiplay some other info rather than the name of the tree nodes

    C / C++ / MFC data-structures question

  • changing the color of the previous selected node of CtreeCtrl
    S SVPG

    I have a CTreeCtrl, I need to change the color of the node that was previously selected. How do I do this. Also I can get the previous node to be bold, but then how do I reset the same when I click on some other node.?

    C / C++ / MFC question

  • changing text colour of a tree node
    S SVPG

    I have a tree control whose node text need to chaneg colour on selection.

    C / C++ / MFC data-structures

  • Call stack frame has no stack information for the application debugged
    S SVPG

    When debugging a VC++ app , the stack frame is empty. any idea what settings need to be applied for this. OR What could be the cause for this?

    C / C++ / MFC c++ data-structures question

  • CListBox Greying
    S SVPG

    Grey the background of a CListBox on the selection of a button, Currently using WM_CTLCOLOR returing diff brushes work. But I have the style Extended for the ClistBox. with this style. when I grey out the list, if the list has items it wil grey only that part of the list that is empty. The filled part still has the Background as white The below code will work for Single selection style, but not for extended style. HBRUSH CTestaDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) { HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); //Set background transparent pDC->SetBkMode(TRANSPARENT); if (pWnd->GetDlgCtrlID() == IDC_MYLISTBOX) { if(m_bGrayed) return (HBRUSH)GetStockObject(GRAY_BRUSH); else return (HBRUSH)GetStockObject(WHITE_BRUSH); } return hbr; } void CTestaDlg::OnRadio1() { m_bGrayed = FALSE; m_MyListBox.EnableWindow(TRUE); } void CTestaDlg::OnRadio2() { m_bGrayed = TRUE; m_MyListBox.EnableWindow(FALSE); }

    C / C++ / MFC

  • clistbox greying
    S SVPG

    Need to grey out the background of a ClistBox on pressing button grey on a dialog. The list can contain items which should also be greyed out and on pressing button enable list the list should be enabled with all its items using wm_ctlcolor message with appropriate brush works, but when the list has items the portion with those items are white while rest is grey.

    C / C++ / MFC json

  • Clistbox greying
    S SVPG

    True, but I want the background to be greyed as well. If I do a fillrect with a brush (COLOR_BTNFACE), EnableWindow(FALSE) still causes it to have a white background even though the listbox is disabled.

    C / C++ / MFC

  • Clistbox greying
    S SVPG

    How do a grey a CListBox based on some option , say option A the ListBox should be enabled with Window color as bg for option B, the listbox should be disabled with btn face color and all list items also greyed..like a greyed edit box PS its CListBox not a CListCtrl

    C / C++ / MFC
  • Login

  • Don't have an account? Register

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