Click here to Skip to main content
15,896,269 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: STL and member functions ??? Pin
Christian Graus31-Dec-01 10:35
protectorChristian Graus31-Dec-01 10:35 
QuestionCListCtrl - header notification ??? Pin
Christian Graus30-Dec-01 15:13
protectorChristian Graus30-Dec-01 15:13 
AnswerRe: CListCtrl - header notification ??? Pin
Michael Dunn30-Dec-01 19:20
sitebuilderMichael Dunn30-Dec-01 19:20 
GeneralRe: CListCtrl - header notification ??? Pin
Christian Graus31-Dec-01 1:05
protectorChristian Graus31-Dec-01 1:05 
GeneralRe: CListCtrl - header notification ??? Pin
Michael Dunn31-Dec-01 7:33
sitebuilderMichael Dunn31-Dec-01 7:33 
GeneralRe: CListCtrl - header notification ??? Pin
Christian Graus1-Jan-02 0:59
protectorChristian Graus1-Jan-02 0:59 
GeneralRe: CListCtrl - header notification ??? Pin
Jonas Larsson1-Jan-02 23:20
Jonas Larsson1-Jan-02 23:20 
GeneralRe: CListCtrl - header notification ??? Pin
Christian Graus2-Jan-02 0:14
protectorChristian Graus2-Jan-02 0:14 
Thanks, but this did not work. Right now I am doing this in OnNotify:

GetAsyncKeyState(VK_LBUTTON);

if (GetAsyncKeyState(VK_LBUTTON) && 4294967284 == pnmh->code)
{
CRect rc;

GetClientRect(&rc);

SetColumnWidth(1, rc.Width() - GetColumnWidth(0));
}

if I change that big number to HDM_ITEMCHANGINGA, HDM_ITEMCHANGEDA, or the W equivelants ( or drop the A or W ) it either does nothing or crashes. I am certain the two messages I get are ITEMCHANGED and ITEMCHANGING. The HDM_TRACK message is a phantom - it is NEVER sent ASAIK.

I've tried several things and in the end I've concluded that CListCtrl is rubbish. It works for me as it stands, although it flickers and jumps when the mouse button is raised. I'm interested if you have any comments.


Christian

After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001

Sonork ID 100.10002:MeanManOz
I live in Bob's HungOut now

GeneralRe: CListCtrl - header notification ??? Pin
Jonas Larsson2-Jan-02 0:36
Jonas Larsson2-Jan-02 0:36 
GeneralRe: CListCtrl - header notification ??? Pin
Jonas Larsson4-Jan-02 4:26
Jonas Larsson4-Jan-02 4:26 
GeneralRe: CListCtrl - header notification ??? Pin
Christian Graus4-Jan-02 10:36
protectorChristian Graus4-Jan-02 10:36 
AnswerRe: CListCtrl - header notification ??? Pin
Fazlul Kabir4-Jan-02 5:23
Fazlul Kabir4-Jan-02 5:23 
GeneralRe: CListCtrl - header notification ??? Pin
Fazlul Kabir4-Jan-02 5:34
Fazlul Kabir4-Jan-02 5:34 
GeneralRe: CListCtrl - header notification ??? Pin
Christian Graus4-Jan-02 10:34
protectorChristian Graus4-Jan-02 10:34 
GeneralRe: CListCtrl - header notification ??? Pin
Fazlul Kabir4-Jan-02 10:48
Fazlul Kabir4-Jan-02 10:48 
GeneralRe: CListCtrl - header notification ??? Pin
Christian Graus4-Jan-02 11:12
protectorChristian Graus4-Jan-02 11:12 
GeneralRe: CListCtrl - header notification ??? Pin
Fazlul Kabir4-Jan-02 12:45
Fazlul Kabir4-Jan-02 12:45 
GeneralAaaAAaAARRrRRgGgHHH!!!! KERNEL32.DLL ERROR!! Pin
Rickard Andersson2030-Dec-01 12:08
Rickard Andersson2030-Dec-01 12:08 
Generalno focus Pin
Rickard Andersson2030-Dec-01 12:13
Rickard Andersson2030-Dec-01 12:13 
GeneralRe: AaaAAaAARRrRRgGgHHH!!!! KERNEL32.DLL ERROR!! Pin
squizz31-Dec-01 4:37
squizz31-Dec-01 4:37 
GeneralRe: AaaAAaAARRrRRgGgHHH!!!! KERNEL32.DLL ERROR!! Pin
Rickard Andersson2031-Dec-01 5:03
Rickard Andersson2031-Dec-01 5:03 
GeneralOptimizing memory usage Pin
IGx8930-Dec-01 11:53
IGx8930-Dec-01 11:53 
GeneralRe: Optimizing memory usage Pin
Konstantin Vasserman30-Dec-01 15:44
Konstantin Vasserman30-Dec-01 15:44 
GeneralRe: Optimizing memory usage Pin
IGx8930-Dec-01 15:58
IGx8930-Dec-01 15:58 
GeneralRe: Optimizing memory usage Pin
Konstantin Vasserman30-Dec-01 16:15
Konstantin Vasserman30-Dec-01 16:15 

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.