Click here to Skip to main content
15,891,708 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: OLEDB Accessor mapping of 'bit' datatype Pin
Code-o-mat8-Jul-10 6:06
Code-o-mat8-Jul-10 6:06 
AnswerRe: OLEDB Accessor mapping of 'bit' datatype Pin
Spawn@Melmac8-Jul-10 6:52
Spawn@Melmac8-Jul-10 6:52 
QuestionSystem Uptime Pin
sonualex8-Jul-10 3:36
sonualex8-Jul-10 3:36 
AnswerRe: System Uptime Pin
Code-o-mat8-Jul-10 3:52
Code-o-mat8-Jul-10 3:52 
GeneralRe: System Uptime Pin
sonualex8-Jul-10 23:20
sonualex8-Jul-10 23:20 
GeneralRe: System Uptime Pin
Code-o-mat8-Jul-10 23:29
Code-o-mat8-Jul-10 23:29 
GeneralRe: System Uptime Pin
sonualex9-Jul-10 1:43
sonualex9-Jul-10 1:43 
GeneralRe: System Uptime Pin
Code-o-mat9-Jul-10 1:53
Code-o-mat9-Jul-10 1:53 
AnswerRe: System Uptime Pin
David Crow9-Jul-10 3:20
David Crow9-Jul-10 3:20 
GeneralRe: System Uptime Pin
Code-o-mat9-Jul-10 3:23
Code-o-mat9-Jul-10 3:23 
GeneralRe: System Uptime Pin
David Crow9-Jul-10 3:25
David Crow9-Jul-10 3:25 
QuestionMouseHover effect on ListBox Pin
AbhiHcl8-Jul-10 2:52
AbhiHcl8-Jul-10 2:52 
AnswerRe: MouseHover effect on ListBox Pin
Code-o-mat8-Jul-10 3:40
Code-o-mat8-Jul-10 3:40 
GeneralRe: MouseHover effect on ListBox Pin
AbhiHcl8-Jul-10 19:59
AbhiHcl8-Jul-10 19:59 
I am trying with the below function, but every time its drawing the 1st item only..
basically the GetItemRect() needs the index value as the first parameter, can u please tell how to get the index value of the list box when mouse is moving from one item to other.
my code is like this :
void CTxListControl::OnMouseHover(UINT nFlags, CPoint point)
{
CDC* pDC = GetWindowDC();
CRect rect;
GetItemRect(0,rect);
rect.OffsetRect( -rect.left, -rect.top);
CBrush brush( RGB(0, 0, 255));
pDC->FillRect(rect, &brush);

}
GeneralRe: MouseHover effect on ListBox Pin
Code-o-mat8-Jul-10 21:34
Code-o-mat8-Jul-10 21:34 
Questionmalloc limitations Pin
rupeshkp7288-Jul-10 2:25
rupeshkp7288-Jul-10 2:25 
AnswerRe: malloc limitations Pin
Niklas L8-Jul-10 2:29
Niklas L8-Jul-10 2:29 
GeneralRe: malloc limitations Pin
rupeshkp7288-Jul-10 2:32
rupeshkp7288-Jul-10 2:32 
GeneralRe: malloc limitations Pin
Naveen8-Jul-10 3:25
Naveen8-Jul-10 3:25 
AnswerRe: malloc limitations Pin
David Crow8-Jul-10 3:11
David Crow8-Jul-10 3:11 
AnswerRe: malloc limitations Pin
rupeshkp7288-Jul-10 3:22
rupeshkp7288-Jul-10 3:22 
AnswerRe: malloc limitations Pin
Aescleal8-Jul-10 4:59
Aescleal8-Jul-10 4:59 
GeneralRe: malloc limitations Pin
rupeshkp7288-Jul-10 5:55
rupeshkp7288-Jul-10 5:55 
Questionhash tables concepts Pin
rupeshkp7288-Jul-10 2:21
rupeshkp7288-Jul-10 2:21 
AnswerRe: hash tables concepts Pin
Chris Losinger8-Jul-10 2:24
professionalChris Losinger8-Jul-10 2:24 

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.