Click here to Skip to main content
16,008,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to get user set font point size? Pin
Henry Jacobs4-Dec-01 16:50
Henry Jacobs4-Dec-01 16:50 
Generalbig font Pin
zecodela4-Dec-01 14:37
zecodela4-Dec-01 14:37 
GeneralMFC DLL #2 Pin
shadowplayer4-Dec-01 11:07
shadowplayer4-Dec-01 11:07 
GeneralRe: MFC DLL #2 Pin
Erik Funkenbusch4-Dec-01 19:07
Erik Funkenbusch4-Dec-01 19:07 
GeneralStatic Control and lines Pin
Giles4-Dec-01 11:05
Giles4-Dec-01 11:05 
GeneralRe: Static Control and lines Pin
Christian Graus4-Dec-01 11:53
protectorChristian Graus4-Dec-01 11:53 
GeneralCListCtrl - Hide a column Pin
RobJones4-Dec-01 10:12
RobJones4-Dec-01 10:12 
GeneralRe: CListCtrl - Hide a column Pin
Rashid Thadha4-Dec-01 10:30
Rashid Thadha4-Dec-01 10:30 
If the idea is that you don't want to show a single column, then use
lParam-Parameter of the 'SetItem' function.

If you want to prevent resizing, you have to do the following.

SetColumnWith (ID_COLUMN, 0)

Then override the OnNotity() function to handle the header notification for resizing.

HD_NOTIPY *pHDN = (HD_NOTITY *) lParam
if ((pHDN->hdr.code == HDN_BEGINTRACK) &&
        (pHDN->iItem == mID_MY_COLUMN))
{
    *pResult = 0;
    return TRUE;
}


Cool | :cool:
GeneralRe: CListCtrl - Hide a column Pin
RobJones4-Dec-01 11:10
RobJones4-Dec-01 11:10 
GeneralHovering Text Pin
SixString4-Dec-01 9:50
SixString4-Dec-01 9:50 
GeneralSending WM_ACTIVATE to CFormView Pin
Jason Hihn4-Dec-01 7:35
Jason Hihn4-Dec-01 7:35 
GeneralRe: Sending WM_ACTIVATE to CFormView Pin
Michael Dunn4-Dec-01 8:04
sitebuilderMichael Dunn4-Dec-01 8:04 
GeneralRe: Sending WM_ACTIVATE to CFormView Pin
Jason Hihn4-Dec-01 8:56
Jason Hihn4-Dec-01 8:56 
Generalen/disable toolbar button Pin
4-Dec-01 7:12
suss4-Dec-01 7:12 
GeneralRe: en/disable toolbar button Pin
Ravi Bhavnani4-Dec-01 7:27
professionalRavi Bhavnani4-Dec-01 7:27 
QuestionHow to "attach" a CScrollBar to a editbox? Pin
Chambers4-Dec-01 6:35
Chambers4-Dec-01 6:35 
AnswerRe: How to "attach" a CScrollBar to a editbox? Pin
Ravi Bhavnani4-Dec-01 6:51
professionalRavi Bhavnani4-Dec-01 6:51 
GeneralRe: How to "attach" a CScrollBar to a editbox? Pin
Chambers4-Dec-01 7:23
Chambers4-Dec-01 7:23 
GeneralRe: How to "attach" a CScrollBar to a editbox? Pin
Ravi Bhavnani4-Dec-01 7:30
professionalRavi Bhavnani4-Dec-01 7:30 
GeneralRe: How to "attach" a CScrollBar to a editbox? Pin
Chambers4-Dec-01 7:37
Chambers4-Dec-01 7:37 
GeneralRe: How to "attach" a CScrollBar to a editbox? Pin
Ravi Bhavnani4-Dec-01 8:33
professionalRavi Bhavnani4-Dec-01 8:33 
GeneralRe: How to "attach" a CScrollBar to a editbox? Pin
Chambers5-Dec-01 3:02
Chambers5-Dec-01 3:02 
GeneralRe: How to "attach" a CScrollBar to a editbox? Pin
Ravi Bhavnani5-Dec-01 3:09
professionalRavi Bhavnani5-Dec-01 3:09 
GeneralRe: How to "attach" a CScrollBar to a editbox? Pin
Chambers5-Dec-01 3:23
Chambers5-Dec-01 3:23 
Generalrichedit and htmlview Pin
Mazdak4-Dec-01 6:16
Mazdak4-Dec-01 6:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.