This link should help http://www.codeproject.com/buglist/listcontrolsortitemsbug.asp
SVPG
Posts
-
Sorting List View -
line numbers in an editor applicationI 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.
-
Dialog with different controls created at runtimeI 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.
-
Text Editors developed in VC++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.
-
Preview with a readonly edit control on a propertysheet or a tabbed dialogsomething like teh font dialog in word 2000
-
Preview with a readonly edit control on a propertysheet or a tabbed dialogI 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
-
tooltips in CTreeCtrl to show some other info rather than the node nameHow can I get the tooltips for CTreeCtrl to dsiplay some other info rather than the name of the tree nodes
-
changing the color of the previous selected node of CtreeCtrlI 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.?
-
changing text colour of a tree nodeI have a tree control whose node text need to chaneg colour on selection.
-
Call stack frame has no stack information for the application debuggedWhen 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?
-
CListBox GreyingGrey 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); }
-
clistbox greyingNeed 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.
-
Clistbox greyingTrue, 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.
-
Clistbox greyingHow 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